How does Hg do file renames?

Matt Schulte matts at commtech-fastcom.com
Mon Jul 12 14:39:31 UTC 2010


  On 7/12/2010 4:13 AM, Benoit Boissinot wrote:
> While there might be some bugs with things like transplant, etc., I
> don't think the way we treat a rename (delete+copy) has any
> shortcomings.
I'm going to disagree there.  delete+copy is NOT a rename/move in my 
book.  Losing all of the history associated with the given file simply 
because you needed to change its name is a big shortcoming in my book.

I know it isn't really "lost" but it isn't as readily available as I 
wish it were.  I'd like to see a way to actually bring the entire 
history of the file along when it gets renamed.

Matt Schulte



More information about the Mercurial mailing list