New extension: fixrenames

Martin Geisler mg at aragost.com
Tue Aug 9 08:28:33 UTC 2011


Stanimir Stamenkov <s7an10 at netscape.net> writes:

> Tue, 28 Jun 2011 08:30:25 +0200, /Martin Geisler/:
>> Stanimir Stamenkov <s7an10 at netscape.net> writes:
>>> Mon, 27 Jun 2011 15:38:05 +0200, /Martin Geisler/:
>>>
>>>>     https://bitbucket.org/aragost/fixrenames
>>>
>>> That may prove really helpful for me when converting from SVN - I'll
>>> give it a try.
>> 
>> Let us know how it goes.
>
> Sorry for the late reply.  Trying it on a sample repo, after fixing 
> the first merge, I get the following with the second:
>
> $ hg fixrenames --similarity 50 --strip 9
> processing 9:73b8ec407320
> processing 10:a69ef8c0f8c9
> ** unknown exception encountered, please report by visiting
> **  http://mercurial.selenic.com/wiki/BugTracker
> ** Python 2.6.6 (r266:84297, Aug 24 2010, 18:13:38) [MSC v.1500 64 bit (AMD64)]
> ** Mercurial Distributed SCM (version 1.9+10-e9264b45237d)
> ** Extensions loaded: convert, fixrenames
> Traceback (most recent call last):
>   File "hg", line 42, in <module>
>   File "mercurial\dispatch.pyo", line 27, in run
>   File "mercurial\dispatch.pyo", line 64, in dispatch
>   File "mercurial\dispatch.pyo", line 87, in _runcatch
>   File "mercurial\dispatch.pyo", line 675, in _dispatch
>   File "mercurial\dispatch.pyo", line 454, in runcommand
>   File "mercurial\dispatch.pyo", line 729, in _runcommand
>   File "mercurial\dispatch.pyo", line 683, in checkargs
>   File "mercurial\dispatch.pyo", line 672, in <lambda>
>   File "mercurial\util.pyo", line 385, in check
>   File "C:\Users\stanimir\Programs\hgext\fixrenames.py", line 191, in fixrenames
>     rootrevs = oldrevs.difference(descendants)
>   File "mercurial\revlog.pyo", line 389, in descendants
> ValueError: min() arg is an empty sequence

Thanks for the report! Please try again with ff8429d9bf4f, that should
fix this error.

-- 
Martin Geisler

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



More information about the Mercurial mailing list