How does Hg do file renames?
Mads Kiilerich
mads at kiilerich.com
Mon Jul 12 14:51:25 UTC 2010
On 07/12/2010 04:39 PM, Matt Schulte wrote:
> 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.
So you already know that you hyperbole when you say that history is lost?
> I'd like to see a way to actually bring the entire history
> of the file along when it gets renamed.
hg log --follow
/Mads
More information about the Mercurial
mailing list