##// END OF EJS Templates
addset: use the ascending argument in _iterordered...
Pierre-Yves David -
r22791:a074421f default
parent child Browse files
Show More
@@ -2553,7 +2553,7 b' class _addset(abstractsmartset):'
2553 val2 = None
2553 val2 = None
2554
2554
2555 choice = max
2555 choice = max
2556 if self._ascending:
2556 if ascending:
2557 choice = min
2557 choice = min
2558 try:
2558 try:
2559 # Consume both iterators in an ordered way until one is
2559 # Consume both iterators in an ordered way until one is
@@ -552,6 +552,12 b' handle the loss of tags'
552 $ printf '' > .hgtags
552 $ printf '' > .hgtags
553 $ hg commit -m 'delete all tags'
553 $ hg commit -m 'delete all tags'
554 created new head
554 created new head
555 $ hg log -r 'max(t7::)'
556 changeset: 17:ffe462b50880
557 user: test
558 date: Thu Jan 01 00:00:00 1970 +0000
559 summary: Added tag t7 for changeset fd3a9e394ce3
560
555 $ hg update -r 'max(t7::)'
561 $ hg update -r 'max(t7::)'
556 2 files updated, 0 files merged, 0 files removed, 0 files unresolved
562 2 files updated, 0 files merged, 0 files removed, 0 files unresolved
557 $ hg merge -r tip --tool internal:tagmerge
563 $ hg merge -r tip --tool internal:tagmerge
General Comments 0
You need to be logged in to leave comments. Login now