##// END OF EJS Templates
scmutil: use context instead of lookup
Matt Mackall -
r16379:5cbfbb83 default
parent child Browse files
Show More
@@ -523,7 +523,7 b' def revrange(repo, revs):'
523 523 def revfix(repo, val, defval):
524 524 if not val and val != 0 and defval is not None:
525 525 return defval
526 return repo.changelog.rev(repo.lookup(val))
526 return repo[val].rev()
527 527
528 528 seen, l = set(), []
529 529 for spec in revs:
General Comments 0
You need to be logged in to leave comments. Login now