New extension: fixrenames

Martin Geisler mg at aragost.com
Tue Jun 28 01:30:25 CDT 2011


Stanimir Stamenkov <s7an10 at netscape.net> writes:

> Mon, 27 Jun 2011 15:38:05 +0200, /Martin Geisler/:
>
>>    https://bitbucket.org/aragost/fixrenames
>>
>> The extension lets you replay old history in order to detect missing
>> rename information. It basically does:
>>
>>    $ hg update N
>>    $ hg revert --all --rev N+1
>>    $ hg addremove
>>    $ hg commit
>>
>> in a loop over a range of revisions you specify. The new changesets
>> are identical to the old changesets, with the exception of the added
>> rename information.
>
> That may prove really helpful for me when converting from SVN - I'll
> give it a try.

Let us know how it goes.

> In regard:
>
> http://www.selenic.com/pipermail/mercurial/2011-January/036514.html
>
> I really think such functionality should be incorporated into the
> convert extension, also.

I did not think of that since "just doing it" in a stand-alone extension
was so simple. You are right that this functionality could fit in the
convert extension.

-- 
Martin Geisler

aragost Trifork
Professional Mercurial support
http://mercurial.aragost.com/kick-start/


More information about the Mercurial mailing list