"abort: 00changelog.i at d59e4f1a8821: no node!" with TortoiseHg 3.0

Angel Ezquerra ezquerra at gmail.com
Mon May 12 16:28:22 UTC 2014


On Mon, May 12, 2014 at 6:01 PM, Matt Mackall <mpm at selenic.com> wrote:
> On Mon, 2014-05-12 at 17:48 +0200, Angel Ezquerra wrote:
>>       File "mercurial\repoview.pyo", line 44, in <genexpr>
>
>         if tags:
>             blockers.extend(cl.rev(t[0]) for t in tags.values())
>
> You have a tag that points to a non-existent node.

I see. Is this a regression? It seems quite easy to hit this if you
ever strip a revision that you tagged locally.
Perhaps this should be:

         if tags:
             blockers.extend(cl.rev(t[0]) for t in tags.values() if
t[0] in repo)

Although I don't know the performance impact of such a change.

Thanks,

Angel



More information about the Mercurial mailing list