[Bug 4669] New: If active bookmark is deleted during a rebase, rebase --abort stacktrackes

mercurial-bugs at selenic.com mercurial-bugs at selenic.com
Fri May 15 00:08:27 UTC 2015


http://bz.selenic.com/show_bug.cgi?id=4669

          Priority: normal
            Bug ID: 4669
                CC: mercurial-devel at selenic.com
          Assignee: bugzilla at selenic.com
           Summary: If active bookmark is deleted during a rebase, rebase
                    --abort stacktrackes
          Severity: bug
    Classification: Unclassified
                OS: All
          Reporter: rm at fb.com
          Hardware: PC
            Status: UNCONFIRMED
           Version: 3.4
         Component: rebase
           Product: Mercurial

Start a rebase with a conflict. Delete the bookmark. Attempt to abort the
rebase. See this:



$ hg rebase --abort
** Unknown exception encountered with possibly-broken third-party extension
b2xcompat
** which supports versions unknown of Mercurial.
** Please disable b2xcompat and try your action again.
** If that fixes the bug please report it to the extension author.
** Python 2.6.6 (r266:84292, Sep 11 2012, 08:34:23) [GCC 4.4.6 20120305 (Red
Hat 4.4.6-4)]
** Mercurial Distributed SCM (version 3.4+50-8174d27576a3)
** Extensions loaded: b2xcompat, backups, blackbox, chistedit, crecord,
fbamend, fbhistedit, githelp, hgext_hgview, hgsubversion, histedit, lz4revlog,
phabdiff, phrevset, progress, purge, rage, rebase, record, reflog,
remotefilelog, reset, shelve, simplecache, smartlog, strip, tweakdefaults, hgk,
remotenames, dbg, color, pager, patchbomb
Traceback (most recent call last):
  File "/usr/bin/hg.real", line 43, in <module>
    mercurial.dispatch.run()
  File "/usr/lib64/python2.6/site-packages/mercurial/dispatch.py", line 29, in
run
    sys.exit((dispatch(request(sys.argv[1:])) or 0) & 255)
  File "/usr/lib64/python2.6/site-packages/mercurial/dispatch.py", line 91, in
dispatch
    ret = _runcatch(req)
  File "/usr/lib64/python2.6/site-packages/mercurial/dispatch.py", line 160, in
_runcatch
    return _dispatch(req)
  File "/usr/lib64/python2.6/site-packages/mercurial/dispatch.py", line 885, in
_dispatch
    cmdpats, cmdoptions)
  File "/usr/lib64/python2.6/site-packages/mercurial/dispatch.py", line 646, in
runcommand
    ret = _runcommand(ui, options, cmd, d)
  File "/usr/lib64/python2.6/site-packages/mercurial/extensions.py", line 164,
in closure
    return func(*(args + a), **kw)
  File "/usr/lib64/python2.6/site-packages/hgext/pager.py", line 160, in
pagecmd
    return orig(ui, options, cmd, cmdfunc)
  File "/usr/lib64/python2.6/site-packages/mercurial/extensions.py", line 164,
in closure
    return func(*(args + a), **kw)
  File "/usr/lib64/python2.6/site-packages/hgext/color.py", line 521, in
colorcmd
    return orig(ui_, opts, cmd, cmdfunc)
  File "/usr/lib64/python2.6/site-packages/mercurial/dispatch.py", line 976, in
_runcommand
    return checkargs()
  File "/usr/lib64/python2.6/site-packages/mercurial/dispatch.py", line 947, in
checkargs
    return cmdfunc()
  File "/usr/lib64/python2.6/site-packages/mercurial/dispatch.py", line 882, in
<lambda>
    d = lambda: util.checksignature(func)(ui, *args, **cmdoptions)
  File "/usr/lib64/python2.6/site-packages/mercurial/util.py", line 716, in
check
    return func(*args, **kwargs)
  File "/usr/lib64/python2.6/site-packages/mercurial/extensions.py", line 164,
in closure
    return func(*(args + a), **kw)
  File "/usr/lib64/python2.6/site-packages/mercurial/util.py", line 716, in
check
    return func(*args, **kwargs)
  File "/home/rmcelroy/hgdev/remotenames/remotenames.py", line 218, in
exrebasecmd
    ret = orig(ui, repo, **opts)
  File "/usr/lib64/python2.6/site-packages/mercurial/util.py", line 716, in
check
    return func(*args, **kwargs)
  File "/usr/lib64/python2.6/site-packages/mercurial/extensions.py", line 164,
in closure
    return func(*(args + a), **kw)
  File "/usr/lib64/python2.6/site-packages/mercurial/util.py", line 716, in
check
    return func(*args, **kwargs)
  File "/usr/lib/python2.6/site-packages/tweakdefaults.py", line 165, in
_rebase
    return orig(ui, repo, **opts)
  File "/usr/lib64/python2.6/site-packages/mercurial/util.py", line 716, in
check
    return func(*args, **kwargs)
  File "/usr/lib64/python2.6/site-packages/mercurial/extensions.py", line 164,
in closure
    return func(*(args + a), **kw)
  File "/usr/lib64/python2.6/site-packages/mercurial/util.py", line 716, in
check
    return func(*args, **kwargs)
  File "/usr/lib/python2.6/site-packages/hgsubversion/wrappers.py", line 552,
in rebase
    return orig(ui, repo, **opts)
  File "/usr/lib64/python2.6/site-packages/mercurial/util.py", line 716, in
check
    return func(*args, **kwargs)
  File "/usr/lib64/python2.6/site-packages/hgext/rebase.py", line 235, in
rebase
    activebookmark=activebookmark)
  File "/usr/lib64/python2.6/site-packages/hgext/rebase.py", line 891, in abort
    bookmarks.setcurrent(repo, activebookmark)
  File "/usr/lib64/python2.6/site-packages/mercurial/extensions.py", line 164,
in closure
    return func(*(args + a), **kw)
  File "/home/rmcelroy/hgdev/remotenames/remotenames.py", line 133, in
exactivate
    res = orig(repo, mark)
  File "/usr/lib64/python2.6/site-packages/mercurial/bookmarks.py", line 139,
in setcurrent
    raise AssertionError('bookmark %s does not exist!' % mark)
AssertionError: bookmark arc-land-temp does not exist!

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the Mercurial-devel mailing list