# HG changeset patch # User Brodie Rao # Date 1304171902 25200 # Node ID ef1217a7f20671fbc16f78343fe3300f86acfe2f # Parent 3c616f512a5b55dfc269b7da5818df66b286c680 revset: fix undefined name ParseError diff -r 3c616f512a5b -r ef1217a7f206 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]