[Bug 3707] New: phases.py: NameError: global name 'error' is not defined
bugzilla-daemon at bz.selenic.com
bugzilla-daemon at bz.selenic.com
Thu Nov 22 21:19:54 UTC 2012
http://bz.selenic.com/show_bug.cgi?id=3707
Priority: normal
Bug ID: 3707
CC: mercurial-devel at selenic.com
Assignee: bugzilla at selenic.com
Summary: phases.py: NameError: global name 'error' is not
defined
Severity: bug
Classification: Unclassified
OS: Windows
Reporter: risto.kankkunen at iki.fi
Hardware: PC
Status: UNCONFIRMED
Version: 2.4
Component: Mercurial
Product: Mercurial
>hg --config phases.new-commit=foo commit -m "bar"
transaction abort!
rollback completed
** unknown exception encountered, please report by visiting
** http://mercurial.selenic.com/wiki/BugTracker
** Python 2.7.3 (default, Apr 10 2012, 23:24:47) [MSC v.1500 64 bit (AMD64)]
** Mercurial Distributed SCM (version 2.4+6-35ba170c0f82)
** Extensions loaded:
Traceback (most recent call last):
File "hg", line 42, in <module>
File "mercurial\dispatch.pyo", line 28, in run
File "mercurial\dispatch.pyo", line 65, in dispatch
File "mercurial\dispatch.pyo", line 88, in _runcatch
File "mercurial\dispatch.pyo", line 741, in _dispatch
File "mercurial\dispatch.pyo", line 514, in runcommand
File "mercurial\dispatch.pyo", line 831, in _runcommand
File "mercurial\dispatch.pyo", line 802, in checkargs
File "mercurial\dispatch.pyo", line 738, in <lambda>
File "mercurial\util.pyo", line 472, in check
File "mercurial\commands.pyo", line 1338, in commit
File "mercurial\cmdutil.pyo", line 1616, in commit
File "mercurial\commands.pyo", line 1336, in commitfunc
File "mercurial\localrepo.pyo", line 1374, in commit
File "mercurial\localrepo.pyo", line 1462, in commitctx
File "mercurial\phases.pyo", line 389, in newcommitphase
NameError: global name 'error' is not defined
The offending line is
raise error.ConfigError(msg % v)
There doesn't seem to be "import error" in phases.py.
--
You are receiving this mail because:
You are on the CC list for the bug.
More information about the Mercurial-devel
mailing list