detect rename afterwards/automatically

Peter Arrenbrecht peter.arrenbrecht at gmail.com
Tue May 12 00:38:34 CDT 2009


On Mon, May 11, 2009 at 10:54 PM, rupert.thurner
<rupert.thurner at gmail.com> wrote:
> On May 11, 5:06 pm, Peter Arrenbrecht <peter.arrenbre... at gmail.com>
> wrote:
>> On Mon, May 11, 2009 at 3:49 PM, Peter Hosey <bore... at gmail.com> wrote:
>> > On May 09, 2009, at 10:31:30, rupert.thurner wrote:
>> >> is there a possibility that mercurial detects renames / code moves
>> >> automatically, like bzr, git do?
>>
>> > You might try Colin Barrett's guess-renames program, which works like
>> > bzr's --auto switch:
>>
>> >        https://bitbucket.org/cbarrett/guess-renames/
>>
>> > addremove's ability to guess renames requires you to choose a
>> > sensitivity threshold; guess-renames doesn't.
>>
>> The attached extension adds a `hg guessrenames` command that uses the
>> logic from `hg addrem -s`.
>> -parren
>
> that is great! is there a possibility to have this also as an option
> to "hg rename", maybe "hg rename --guess" ? as users would type "hg
> help rename" to find out how to do it afterwards.

Sure there would. So far, however, mpm didn't think this extension was
necessary and so I stopped all effort on it except for what I need
myself.
-parren



More information about the Mercurial mailing list