##// END OF EJS Templates
revset: extract function that creates range set from computed revisions...
Yuya Nishihara -
r30043:49d5434d default
parent child Browse files
Show More
@@ -366,8 +366,9 def rangeset(repo, subset, x, y, order):
366
366
367 if not m or not n:
367 if not m or not n:
368 return baseset()
368 return baseset()
369 m, n = m.first(), n.last()
369 return _makerangeset(repo, subset, m.first(), n.last(), order)
370
370
371 def _makerangeset(repo, subset, m, n, order):
371 if m == n:
372 if m == n:
372 r = baseset([m])
373 r = baseset([m])
373 elif n == node.wdirrev:
374 elif n == node.wdirrev:
General Comments 0
You need to be logged in to leave comments. Login now