Skip to content
Snippets Groups Projects
Commit ef1217a7 authored by Brodie Rao's avatar Brodie Rao
Browse files

revset: fix undefined name ParseError

parent 3c616f51
No related branches found
No related tags found
No related merge requests found
...@@ -223,7 +223,7 @@ ...@@ -223,7 +223,7 @@
""" """
state = getstring(x, _("bisect requires a string")).lower() state = getstring(x, _("bisect requires a string")).lower()
if state not in ('good', 'bad', 'skip', 'unknown'): 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]) marked = set(repo.changelog.rev(n) for n in hbisect.load_state(repo)[state])
return [r for r in subset if r in marked] return [r for r in subset if r in marked]
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment