[issue2692] Bookmark failure on commit (after rollback)

Steffen Daode Nurpmeso bugs at mercurial.selenic.com
Sat Mar 12 16:41:00 UTC 2011


New submission from Steffen Daode Nurpmeso <sdaoden at gmail.com>:

- Clean repo (cpython)
[Forgot the order <<EOT]
- boo PY
- patch'ing
- ci
- Moving bookmark to tip^
- boo I
EOT [ouch - have i really done this like that??]
- rollback

17:31 ~/src/cpython $ hg boo
   PY                        68366:291bc0097cc1

- patch'ing

17:31 ~/src/cpython $ hg ci -m 'Applied #11466 patch'
** unknown exception encountered, please report by visiting
**  http://mercurial.selenic.com/wiki/BugTracker
** Python 2.7.1+ (release27-maint:87546, Jan  8 2011, 17:06:04) [GCC 4.2.1 
(Apple Inc. build 5664)]
** Mercurial Distributed SCM (version 1.8+21-a87a0fcb412f)
** Extensions loaded: graphlog, pager, parentrevspec, progress, rebase, 
record, transplant, hg_histedit, hggit, hgshelve
Traceback (most recent call last):
  File "/Users/steffen/usr/bin/hg", line 38, in <module>
    mercurial.dispatch.run()
  File "/Users/steffen/usr/lib/python2.7/site-packages/mercurial/
dispatch.py", line 16, in run
    sys.exit(dispatch(sys.argv[1:]))
  File "/Users/steffen/usr/lib/python2.7/site-packages/mercurial/
dispatch.py", line 36, in dispatch
    return _runcatch(u, args)
  File "/Users/steffen/usr/lib/python2.7/site-packages/mercurial/
dispatch.py", line 58, in _runcatch
    return _dispatch(ui, args)
  File "/Users/steffen/usr/lib/python2.7/site-packages/mercurial/
dispatch.py", line 601, in _dispatch
    cmdpats, cmdoptions)
  File "/Users/steffen/usr/lib/python2.7/site-packages/mercurial/
dispatch.py", line 406, in runcommand
    ret = _runcommand(ui, options, cmd, d)
  File "/Users/steffen/usr/lib/python2.7/site-packages/mercurial/
extensions.py", line 178, in wrap
    return wrapper(origfn, *args, **kwargs)
  File "/Users/steffen/usr/lib/python2.7/site-packages/hgext/pager.py", 
line 103, in pagecmd
    return orig(ui, options, cmd, cmdfunc)
  File "/Users/steffen/usr/lib/python2.7/site-packages/mercurial/
dispatch.py", line 655, in _runcommand
    return checkargs()
  File "/Users/steffen/usr/lib/python2.7/site-packages/mercurial/
dispatch.py", line 609, in checkargs
    return cmdfunc()
  File "/Users/steffen/usr/lib/python2.7/site-packages/mercurial/
dispatch.py", line 598, in <lambda>
    d = lambda: util.checksignature(func)(ui, *args, **cmdoptions)
  File "/Users/steffen/usr/lib/python2.7/site-packages/mercurial/util.py", 
line 433, in check
    return func(*args, **kwargs)
  File "/Users/steffen/usr/lib/python2.7/site-packages/mercurial/
commands.py", line 869, in commit
    node = cmdutil.commit(ui, repo, commitfunc, pats, opts)
  File "/Users/steffen/usr/lib/python2.7/site-packages/mercurial/
cmdutil.py", line 1349, in commit
    return commitfunc(ui, repo, message, match(repo, pats, opts), opts)
  File "/Users/steffen/usr/lib/python2.7/site-packages/mercurial/
commands.py", line 864, in commitfunc
    editor=e, extra=extra)
  File "/Users/steffen/usr/lib/python2.7/site-packages/mercurial/
localrepo.py", line 1020, in commit
    bookmarks.update(self, parents, ret)
  File "/Users/steffen/usr/lib/python2.7/site-packages/mercurial/
bookmarks.py", line 129, in update
    if mark and marks[mark] in parents:
KeyError: 'I'

----------
messages: 15595
nosy: sdaoden
priority: bug
status: unread
title: Bookmark failure on commit (after rollback)

____________________________________________________
Mercurial issue tracker <bugs at mercurial.selenic.com>
<http://mercurial.selenic.com/bts/issue2692>
____________________________________________________


More information about the Mercurial-devel mailing list