hg push ends with an exception
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
hgsubversion (Ubuntu) |
Fix Released
|
Undecided
|
fqj1994 | ||
Oneiric |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
[Impact] pushing to repositories does not work
[Development Fix] a fix was released with version 1.3 in precise
[Stable Fix] backport of the 1.3 fix
[Test Case]
create svn repo with standard layout (trunk/
put this in ~/.hgrc
[extensions]
hgsubversion =
hg clone svn+ssh:
cd repo
edit something
hg add, hg commit
hg push
expected: successful push
real result: traceback (see original report)
[Regression Potential]
low the change is small and simple
original report:
Mercurial repository created from SVN with hg clone.
Ubuntu 11.10
Mercurial 1.9.1-1ubuntu0.1
hgsubversion 1.2.1-2.1
Seems like this bugs: http://
> hg push
pushing to svn+https://...
** unknown exception encountered, please report by visiting
** http://
** Python 2.7.2+ (default, Oct 4 2011, 20:03:08) [GCC 4.6.1]
** Mercurial Distributed SCM (version 1.9.1)
** Extensions loaded: extdiff, hgsubversion, rebase
Traceback (most recent call last):
File "/usr/bin/hg", line 38, in <module>
mercurial.
File "/usr/lib/
sys.
File "/usr/lib/
return _runcatch(req)
File "/usr/lib/
return _dispatch(req)
File "/usr/lib/
cmdpats, cmdoptions)
File "/usr/lib/
ret = _runcommand(ui, options, cmd, d)
File "/usr/lib/
return checkargs()
File "/usr/lib/
return cmdfunc()
File "/usr/lib/
d = lambda: util.checksigna
File "/usr/lib/
return func(*args, **kwargs)
File "/usr/lib/
util.
File "/usr/lib/
return func(*args, **kwargs)
File "/usr/lib/
return orig(ui, repo, *args, **opts)
File "/usr/lib/
return func(*args, **kwargs)
File "/usr/lib/
newbranch=
File "/usr/lib/
return fn(self, *args, **opts)
File "/usr/lib/
return wrappers.push(self, remote, force, revs)
File "/usr/lib/
cmdutil.
AttributeError: 'module' object has no attribute 'bail_if_changed'
Related branches
Changed in hgsubversion (Ubuntu): | |
status: | In Progress → Fix Released |
Changed in hgsubversion (Ubuntu Oneiric): | |
assignee: | nobody → Julian Taylor (jtaylor) |
description: | updated |
Changed in hgsubversion (Ubuntu Oneiric): | |
assignee: | Julian Taylor (jtaylor) → nobody |
tags: |
added: verification-done removed: verification-needed |
Upstream has released 1.3. packages. debian. org/wheezy/ all/hgsubversio n/download
The latest version should work with mercurial 1.9.
As Ubuntu doesn't do full upgrades after released.
I'm considering generating the minimal patches or backporting it.
Please wait.
If you can't wait for the patches, you can download the latest .deb from Debian.
Download address:
http://