Strip aborts: no node!

Andrei Vermel andrei.vermel at gmail.com
Sat Nov 1 08:29:25 CDT 2008


 
> I cannot reproduce either with crew-tip on Windows XP
It goes away if I disable bookmarks extension.

Here's the stack trace with the bookmarks on:

U:\temp\qqq>hg strip --debug -v --traceback 1
2 changesets found
List of changesets:
9f1b7e78eff8b0a5dec24fa7e1c41562b426ee74
0d6e9360bb875dbf34c99912019bd027d814d42e
saving bundle to U:\temp\qqq\.hg\strip-backup\9f1b7e78eff8-backup
1 changesets found
List of changesets:
0d6e9360bb875dbf34c99912019bd027d814d42e
saving bundle to U:\temp\qqq\.hg\strip-backup\9f1b7e78eff8-temp
adding branch
Traceback (most recent call last):
  File "c:\python24\Lib\site-packages\mercurial\dispatch.py", line 45, in
_runca
tch
    return _dispatch(ui, args)
  File "c:\python24\Lib\site-packages\mercurial\dispatch.py", line 367, in
_disp
atch
    ret = _runcommand(ui, options, cmd, d)
  File "c:\python24\Lib\site-packages\mercurial\dispatch.py", line 420, in
_runc
ommand
    return checkargs()
  File "c:\python24\Lib\site-packages\mercurial\dispatch.py", line 376, in
check
args
    return cmdfunc()
  File "c:\python24\Lib\site-packages\mercurial\dispatch.py", line 359, in
<lamb
da>
    d = lambda: func(ui, repo, *args, **cmdoptions)
  File "c:\python24\Lib\site-packages\hgext\mq.py", line 2146, in strip
    repo.mq.strip(repo, rev, backup=backup, update=update,
force=opts['force'])
  File "c:\python24\Lib\site-packages\hgext\mq.py", line 733, in strip
    repair.strip(self.ui, repo, rev, backup)
  File "c:\python24\Lib\site-packages\hgext\bookmarks.py", line 153, in
strip
    oldstrip(ui, repo, node, backup)
  File "c:\python24\Lib\site-packages\mercurial\repair.py", line 132, in
strip
    repo.addchangegroup(gen, 'strip', 'bundle:' + chgrpfile, True)
  File "c:\python24\Lib\site-packages\hgext\bookmarks.py", line 204, in
addchang
egroup
    onode = repo.changectx('.').node()
  File "c:\python24\Lib\site-packages\mercurial\localrepo.py", line 479, in
chan
gectx
    return self[changeid]
  File "c:\python24\Lib\site-packages\mercurial\localrepo.py", line 106, in
__ge
titem__
    return context.changectx(self, changeid)
  File "c:\python24\Lib\site-packages\mercurial\context.py", line 21, in
__init_
_
    self._rev = self._repo.changelog.rev(self._node)
  File "c:\python24\Lib\site-packages\mercurial\revlog.py", line 500, in rev
    raise LookupError(node, self.indexfile, _('no node'))
LookupError: 00changelog.i at 0d6e9360bb87: no node
abort: 00changelog.i at 0d6e9360bb87: no node!



More information about the Mercurial-devel mailing list