Proper tracking of file-level operations: rename, directories, merges

Stephen J. Turnbull stephen at xemacs.org
Tue Oct 25 07:26:45 UTC 2011


Martin Geisler writes:

 > Note that Mercurial handles this case *exactly the same*.

I don't understand what you mean.  Mercurial can't clone a branch with
an empty directory in it accurately, and probably not a directory
which contains only unregistered files (thanks for the eg, Liam).  So
it can't even get started on this workflow.  A second workspace will
have no "foo" directory to rename.

As I've said before, I don't care ("touch foo/.precious; hg add
foo/.precious" Works For Me[tm]), but for some people (Brian Alwis's
post) it's a use case they've encountered in practice.  ("Java
refactoring" seems to be a common keyword.)



More information about the bazaar mailing list