Comments
Patch
@@ -1915,6 +1915,8 @@ def displaygraph(ui, dag, displayer, sho
char = '@'
elif ctx.obsolete():
char = 'x'
+ elif ctx.closesbranch():
+ char = '_'
copies = None
if getrenamed and ctx.rev():
copies = []
@@ -85,9 +85,9 @@ graph converted repo
$ hg -R t-datesort log -G --template '{rev} "{desc}"\n'
o 12 "c1"
|\
- | o 11 "b2x"
+ | _ 11 "b2x"
| |
- | | o 10 "a7x"
+ | | _ 10 "a7x"
| | |
o | | 9 "c0"
| | |
@@ -136,9 +136,9 @@ graph converted repo
$ hg -R t-sourcesort log -G --template '{rev} "{desc}"\n'
o 12 "c1"
|\
- | o 11 "b2x"
+ | _ 11 "b2x"
| |
- | | o 10 "a7x"
+ | | _ 10 "a7x"
| | |
o | | 9 "c0"
| | |
@@ -189,11 +189,11 @@ graph converted repo
|\
| o 11 "c0"
| |
- o | 10 "b2x"
+ _ | 10 "b2x"
| |
o | 9 "b1"
| |
- | | o 8 "a7x"
+ | | _ 8 "a7x"
| | |
| | o 7 "a6"
| | |
@@ -387,15 +387,15 @@ test branch closing revision pruning if
1 addb
0 closedefault
$ glog -R branchpruning-hg1
- o 5 "closedefault" files:
+ _ 5 "closedefault" files:
|
o 4 "addb" files: b
|
- | o 3 "closeempty" files:
+ | _ 3 "closeempty" files:
| |
| o 2 "emptybranch" files:
|/
- | o 1 "closefoo" files:
+ | _ 1 "closefoo" files:
|/
o 0 "adda" files: a
@@ -422,7 +422,7 @@ exercise incremental conversion at the s
1 closeempty
0 closedefault
$ glog -R branchpruning-hg2
- o 1 "closedefault" files:
+ _ 1 "closedefault" files:
|
o 0 "addb" files: b
@@ -352,7 +352,7 @@ rebase 'c1' to the branch head 'c2' that
$ hg ci -qm 'c2 closed' --close
$ hg up -qr 2
$ hg tglog
- o 4: 'c2 closed' c
+ _ 4: 'c2 closed' c
|
o 3: 'b1' b
|
@@ -366,7 +366,7 @@ rebase 'c1' to the branch head 'c2' that
nothing to rebase - working directory parent is also destination
[1]
$ hg tglog
- o 4: 'c2 closed' c
+ _ 4: 'c2 closed' c
|
o 3: 'b1' b
|