#66: Tailored HG repository ends up with lots of ?'s in dir state, most likely
related to renames in subversion
------------------------------+---------------------------------------------
 Reporter:  mae               |       Owner:  lele
     Type:  defect            |      Status:  new 
 Priority:  critical          |   Milestone:      
Component:  svn               |     Version:  0.9 
 Keywords:  rename, dirstate  |  
------------------------------+---------------------------------------------
 This was a conversion from SVN => HG
 The source repository in question is the capistrano deployment tool.

 Versions
 Tailor: latest darcs as of today
 SVN: svn, version 1.3.1 (r19032)
 hg: Mercurial Distributed SCM (version 00fc88b0b256)

 Reproduce Steps:
 1. run "tailor tailor.conf" (with the attached conf)
 2. cd capistrano/migrated
 3. hg status (notice all the ?'s)

 heres my output:
 [EMAIL PROTECTED]:~/tailor$ cd capistrano/
 migrated/ original/
 [EMAIL PROTECTED]:~/tailor$ cd capistrano/migrated/
 [EMAIL PROTECTED]:~/tailor/capistrano/migrated$ hg status
 ? bin/cap
 ? capistrano.gemspec
 ? lib/capistrano.rb
 ? lib/capistrano/actor.rb
 ? lib/capistrano/cli.rb
 ? lib/capistrano/command.rb
 ? lib/capistrano/configuration.rb
 ? lib/capistrano/extensions.rb
 ? lib/capistrano/gateway.rb
 ? lib/capistrano/generators/rails/deployment/deployment_generator.rb
 ? lib/capistrano/generators/rails/deployment/templates/capistrano.rake
 ? lib/capistrano/generators/rails/deployment/templates/deploy.rb
 ? lib/capistrano/generators/rails/deployment/templates/switchtower.rake
 ? lib/capistrano/generators/rails/loader.rb
 ? lib/capistrano/logger.rb
 ? lib/capistrano/recipes/standard.rb
 ? lib/capistrano/recipes/templates/maintenance.rhtml
 ? lib/capistrano/scm/base.rb
 ? lib/capistrano/scm/baz.rb
 ? lib/capistrano/scm/bzr.rb
 ? lib/capistrano/scm/cvs.rb
 ? lib/capistrano/scm/darcs.rb
 ? lib/capistrano/scm/perforce.rb
 ? lib/capistrano/scm/subversion.rb
 ? lib/capistrano/ssh.rb
 ? lib/capistrano/transfer.rb
 ? lib/capistrano/utils.rb
 ? lib/capistrano/version.rb


 Explanation of why I think it is an issue with renaming:
 A: HG doesn't support renames
 B: subversion does (so if you ask it about the history of something it
 tells you even when the file was named differently)
 C: capistrano went through a large rename from "switchtower" recently

-- 
Ticket URL: <http://progetti.arstecnica.it/tailor/ticket/66>
Tailor <http://progetti.arstecnica.it/tailor>
An inter-VCs changeset exchanger
_______________________________________________
Tailor mailing list
[email protected]
http://lists.zooko.com/mailman/listinfo/tailor

Reply via email to