hg incoming fails on mercurial 2.3 on Windows
Angel Ezquerra
angel.ezquerra at gmail.com
Tue Aug 21 22:13:51 UTC 2012
On Tue, Aug 21, 2012 at 5:05 PM, Martin Geisler <mg at aragost.com> wrote:
> Didly <didlybom at gmail.com> writes:
>
>> On Tue, Aug 21, 2012 at 2:32 PM, Eric Siegerman <pub08-hg at davor.org> wrote:
>>> On Tue, 2012-08-21 at 12:24 +0200, Angel Ezquerra wrote:
>>>> c:\repos\thg>hg incoming
>>>> comparing with http://bitbucket.org/tortoisehg/thg
>>>> searching for changes
>>>> no changes found
>>>> abort: repository 'http://bitbucket.org/tortoisehg/thg' is not local
>>>
>>> It seems odd that it aborts only *after* all the messages one
>>> would expect to see from a successful run. Not sure, but that
>>> suggests to me that it might be an extension that's complaining.
>>>
>>> - Eric
>>
>> Thank you Eric,
>>
>> you are right. The projrc extension makes the incoming command fail.
>> I'll look into it and fix it.
>
> I think this was fixed recently by Angel:
>
> https://bitbucket.org/aragost/projrc/changeset/1c632c6698fd803c2751d0c27fc97dd7b203a0b3
>
> --
> Martin Geisler
Martin,
sorry for the confusion, but Didly and Angel are both the same person,
i.e. me :-P The didlybom at gmail.com address is one that I use
sometimes. Normally I do not use it in the mercurial mailing list but
today I used it by mistake. Sorry about that!
Now, going back to the issue at hand, I fixed a similar problem that
happened on clone, but I did not realize that a similar problem
happens with incoming.
The offending code seems to be line 516 of the projrc.py file on the
incoming() function:
other = hg.repository(ui, expandedpath)
where "extendedpath" is a URL (e.g. https://bitbucket.org/tortoisehg/thg).
It seems that hg.repository() cannot get a URL anymore?
Cheers,
Angel
More information about the Mercurial
mailing list