[Bug 5578] New: Rebase results in "unknown exception encountered"
mercurial-bugs at mercurial-scm.org
mercurial-bugs at mercurial-scm.org
Tue May 30 01:08:27 UTC 2017
https://bz.mercurial-scm.org/show_bug.cgi?id=5578
Bug ID: 5578
Summary: Rebase results in "unknown exception encountered"
Product: Mercurial
Version: 4.2
Hardware: PC
OS: Linux
Status: UNCONFIRMED
Severity: bug
Priority: wish
Component: rebase
Assignee: bugzilla at mercurial-scm.org
Reporter: sebunger44 at gmail.com
CC: mercurial-devel at mercurial-scm.org
Created attachment 1963
--> https://bz.mercurial-scm.org/attachment.cgi?id=1963&action=edit
Bash shell script that creates a fresh repo in a temp dir and re-produces the
problem. Uses hg from path with empty HGRCPATH.
The attached script creates a repository with a couple change sets and then
attempts a rebase. I expected the rebase to either succeed or fail with a
descriptive error message. However, it fails with the following:
rebasing 0:483f7bcbb7f8 "origin" (origin)
not rebasing ignored 1:4c4897873e8a "oldLeft" (oldLeft)
not rebasing ignored 2:0e67b2b4de63 "oldRight" (oldRight)
rebasing 3:6094d16a01b1 "oldMerge" (oldMerge)
transaction abort!
rollback completed
** unknown exception encountered, please report by visiting
** https://mercurial-scm.org/wiki/BugTracker
** Python 2.7.12 (default, Nov 19 2016, 06:48:10) [GCC 5.4.0 20160609]
** Mercurial Distributed SCM (version 4.2)
** Extensions loaded: rebase
Traceback (most recent call last):
File "/home/seb/.pypi-hg/bin/hg", line 45, in <module>
mercurial.dispatch.run()
File
"/home/seb/.pypi-hg/local/lib/python2.7/site-packages/mercurial/dispatch.py",
line 83, in run
status = (dispatch(req) or 0) & 255
File
"/home/seb/.pypi-hg/local/lib/python2.7/site-packages/mercurial/dispatch.py",
line 164, in dispatch
ret = _runcatch(req)
File
"/home/seb/.pypi-hg/local/lib/python2.7/site-packages/mercurial/dispatch.py",
line 295, in _runcatch
return _callcatch(ui, _runcatchfunc)
File
"/home/seb/.pypi-hg/local/lib/python2.7/site-packages/mercurial/dispatch.py",
line 303, in _callcatch
return scmutil.callcatch(ui, func)
File
"/home/seb/.pypi-hg/local/lib/python2.7/site-packages/mercurial/scmutil.py",
line 146, in callcatch
return func()
File
"/home/seb/.pypi-hg/local/lib/python2.7/site-packages/mercurial/dispatch.py",
line 285, in _runcatchfunc
return _dispatch(req)
File
"/home/seb/.pypi-hg/local/lib/python2.7/site-packages/mercurial/dispatch.py",
line 911, in _dispatch
cmdpats, cmdoptions)
File
"/home/seb/.pypi-hg/local/lib/python2.7/site-packages/mercurial/dispatch.py",
line 648, in runcommand
ret = _runcommand(ui, options, cmd, d)
File
"/home/seb/.pypi-hg/local/lib/python2.7/site-packages/mercurial/dispatch.py",
line 919, in _runcommand
return cmdfunc()
File
"/home/seb/.pypi-hg/local/lib/python2.7/site-packages/mercurial/dispatch.py",
line 908, in <lambda>
d = lambda: util.checksignature(func)(ui, *args, **strcmdopt)
File
"/home/seb/.pypi-hg/local/lib/python2.7/site-packages/mercurial/util.py", line
1077, in check
return func(*args, **kwargs)
File "/home/seb/.pypi-hg/local/lib/python2.7/site-packages/hgext/rebase.py",
line 739, in rebase
rbsrt._performrebase(tr)
File "/home/seb/.pypi-hg/local/lib/python2.7/site-packages/hgext/rebase.py",
line 395, in _performrebase
self.obsoletenotrebased)
File "/home/seb/.pypi-hg/local/lib/python2.7/site-packages/hgext/rebase.py",
line 1059, in defineparents
raise AssertionError('no base found to rebase on '
AssertionError: no base found to rebase on (defineparents called wrong)
I'm running Ubuntu 16.04.2 and can re-produce both with the dist-shipped
version of mercurial (3.7.3) and a pip installed mercurial (4.2).
--
You are receiving this mail because:
You are on the CC list for the bug.
More information about the Mercurial-devel
mailing list