##// END OF EJS Templates
revset: fix undefined name ParseError
Brodie Rao -
r14057:ef1217a7 default
parent child Browse files
Show More
@@ -223,7 +223,7 b' def bisected(repo, subset, x):'
223 """
223 """
224 state = getstring(x, _("bisect requires a string")).lower()
224 state = getstring(x, _("bisect requires a string")).lower()
225 if state not in ('good', 'bad', 'skip', 'unknown'):
225 if state not in ('good', 'bad', 'skip', 'unknown'):
226 raise ParseError(_('invalid bisect state'))
226 raise error.ParseError(_('invalid bisect state'))
227 marked = set(repo.changelog.rev(n) for n in hbisect.load_state(repo)[state])
227 marked = set(repo.changelog.rev(n) for n in hbisect.load_state(repo)[state])
228 return [r for r in subset if r in marked]
228 return [r for r in subset if r in marked]
229
229
General Comments 0
You need to be logged in to leave comments. Login now