hg qct fails with Mercurial 1.9.1 and qct 1.7-1 (Ubuntu Maverick)
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
qct (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
[hal Tue Sep 06 10:18 PM] ~/mq/hello >hg qct&
[1] 17205
[hal Tue Sep 06 10:21 PM] ~/mq/hello >** unknown exception encountered, please report by visiting
** http://
** Python 2.6.6 (r266:84292, Sep 15 2010, 15:52:39) [GCC 4.4.5]
** Mercurial Distributed SCM (version 1.9.1)
** Extensions loaded: qct, hgk, rebase, mq, record, transplant, purge
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, **kwargs)
File "/usr/lib/
return func(*args, **kwargs)
File "/usr/lib/
if vcs.initRepo(None, dispatch) != 0:
File "/usr/lib/
(out, err) = self.hgcmd(
File "/usr/lib/
ret = self.commands.
File "/usr/lib/
if req.ferr:
AttributeError: 'list' object has no attribute 'ferr'
[1]+ Exit 1 hg qct
-------
It appears that the fix is simple (patch produced with diff -u):
--- a/hg.py 2011-09-06 22:39:23.950599003 -0500
+++ b/hg.py 2011-09-06 22:38:24.690599003 -0500
@@ -112,7 +112,7 @@
- ret = self.commands.
+ ret = self.commands.
Status changed to 'Confirmed' because the bug affects multiple users.