##// END OF EJS Templates
histedit: simplify desthistedit...
Boris Feld -
r37408:b9599260 default
parent child Browse files
Show More
@@ -350,10 +350,8 b' def desthistedit(ui, repo):'
350 350 revs = scmutil.revrange(repo, [default])
351 351
352 352 if revs:
353 # The revset supplied by the user may not be in ascending order nor
354 # take the first revision. So do this manually.
355 revs.sort()
356 return revs.first()
353 # Take the first revision of the revset as the root
354 return revs.min()
357 355
358 356 return None
359 357
General Comments 0
You need to be logged in to leave comments. Login now