diff mercurial/revset.py @ 14055:ef1217a7f206

revset: fix undefined name ParseError
author Brodie Rao <brodie@bitheap.org>
date Sat, 30 Apr 2011 06:58:22 -0700 (2011-04-30)
parents e44ebd2a142a
children 611d2f8a4ba2
line wrap: on
line diff
--- a/mercurial/revset.py
+++ b/mercurial/revset.py
@@ -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]