##// END OF EJS Templates
graphlog: use '%' only if there are *unresolved* conflicts...
Martin von Zweigbergk -
r46405:85b03b1e default
parent child Browse files
Show More
@@ -422,7 +422,7 b' def getgraphnodecurrent(repo, ctx, cache'
422 from . import mergestate as mergestatemod
422 from . import mergestate as mergestatemod
423
423
424 mergestate = mergestatemod.mergestate.read(repo)
424 mergestate = mergestatemod.mergestate.read(repo)
425 if mergestate.active():
425 if mergestate.unresolvedcount():
426 merge_nodes = (mergestate.local, mergestate.other)
426 merge_nodes = (mergestate.local, mergestate.other)
427 else:
427 else:
428 merge_nodes = ()
428 merge_nodes = ()
@@ -622,7 +622,7 b' Resolve conflict:'
622 $ hg log -GT "{rev}:{node|short} {desc}\n"
622 $ hg log -GT "{rev}:{node|short} {desc}\n"
623 @ 4:2aa9ad1006ff B in file a
623 @ 4:2aa9ad1006ff B in file a
624 |
624 |
625 | % 3:09e253b87e17 A in file a
625 | o 3:09e253b87e17 A in file a
626 | |
626 | |
627 | o 2:d36c0562f908 c
627 | o 2:d36c0562f908 c
628 | |
628 | |
@@ -669,7 +669,7 b' Resolve conflict:'
669 $ hg log -GT "{rev}:{node|short} {desc}\n"
669 $ hg log -GT "{rev}:{node|short} {desc}\n"
670 @ 4:2aa9ad1006ff B in file a
670 @ 4:2aa9ad1006ff B in file a
671 |
671 |
672 | % 3:09e253b87e17 A in file a
672 | o 3:09e253b87e17 A in file a
673 | |
673 | |
674 | o 2:d36c0562f908 c
674 | o 2:d36c0562f908 c
675 | |
675 | |
@@ -712,7 +712,7 b' When there is conflict:'
712 $ hg log -GT "{rev}:{node|short} {desc}\n"
712 $ hg log -GT "{rev}:{node|short} {desc}\n"
713 @ 4:2aa9ad1006ff B in file a
713 @ 4:2aa9ad1006ff B in file a
714 |
714 |
715 | % 3:09e253b87e17 A in file a
715 | o 3:09e253b87e17 A in file a
716 | |
716 | |
717 | o 2:d36c0562f908 c
717 | o 2:d36c0562f908 c
718 | |
718 | |
@@ -762,7 +762,7 b' Test aborted editor on final message'
762 abort: edit failed: false exited with status 1
762 abort: edit failed: false exited with status 1
763 [255]
763 [255]
764 $ hg tglog
764 $ hg tglog
765 % 3: 63668d570d21 'C'
765 o 3: 63668d570d21 'C'
766 |
766 |
767 | @ 2: 82b8abf9c185 'D'
767 | @ 2: 82b8abf9c185 'D'
768 | |
768 | |
General Comments 0
You need to be logged in to leave comments. Login now