revset: fix undefined name ParseError
authorBrodie Rao <brodie@bitheap.org>
Sat, 30 Apr 2011 06:58:22 -0700
changeset 14057 ef1217a7f206
parent 14054 3c616f512a5b
child 14058 3233b39d756f
revset: fix undefined name ParseError
mercurial/revset.py
--- a/mercurial/revset.py	Fri Apr 29 22:21:13 2011 +0300
+++ b/mercurial/revset.py	Sat Apr 30 06:58:22 2011 -0700
@@ -223,7 +223,7 @@
     """
     state = getstring(x, _("bisect requires a string")).lower()
     if state not in ('good', 'bad', 'skip', 'unknown'):
-        raise ParseError(_('invalid bisect state'))
+        raise error.ParseError(_('invalid bisect state'))
     marked = set(repo.changelog.rev(n) for n in hbisect.load_state(repo)[state])
     return [r for r in subset if r in marked]