How does Hg do file renames?
Matt Schulte
matts at commtech-fastcom.com
Tue Jul 13 13:42:40 UTC 2010
On 7/13/2010 3:32 AM, Martin Geisler wrote:
> Matt Schulte<matts at commtech-fastcom.com> writes:
>
>> On 7/12/2010 2:03 PM, Matt Mackall wrote:
>>
>>> That's purely a ui/usage issue. If you use 'hg rename' to rename
>>> files, that data is recorded in history and the old versions of those
>>> files can be found again with log/annotate -f, etc.
>> Yes, up until the point where I want to extract a renamed folder from
>> the repo. When that renamed folder is extracted (via convert) all
>> changesets that existed before the rename are no longer associated
>> with the folder. It is as if the folder started its life with the
>> rename changeset and there was nothing before.
> Ah -- you tricked us all for a very long time there... You are not
> talking about how Mercurial deals with renamed, but instead about how
> the convert extension handles them.
>
> There may be bugs in convert, no question about that, but please don't
> confuse this tool with Mercurial itself.
There was no tricking, I said up front that I was using convert, it's
just that no one understood what I was trying to say.
Exactly how am I supposed to know where the problem lies, I'm not a
developer of hg?
Matt Schulte
More information about the Mercurial
mailing list