diff tests/test-convert-filemap.t @ 24216:4bb348ae43cb

log: display closing-branch nodes as "_" (BC) In plain `hg log` there is no indication that a commit closes a branch. You can use hg log --debug, but this is too verbose. A simple idea copied from thg and other graphical viewers is to display the node for a closing-branch commit as a horizontal line. I think this technically is a BC if we consider the graphlog to be part of the stdout API, but I really can't imagine who the hell is parsing the graphlog to determine information about commits.
author Jordi Gutiérrez Hermoso <jordigh@octave.org>
date Mon, 24 Nov 2014 16:42:49 -0500
parents aa4a1672583e
children bd625cd4e5e7
line wrap: on
line diff
--- a/tests/test-convert-filemap.t	Fri Mar 06 17:00:42 2015 -0600
+++ b/tests/test-convert-filemap.t	Mon Nov 24 16:42:49 2014 -0500
@@ -387,15 +387,15 @@
   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 @@
   1 closeempty
   0 closedefault
   $ glog -R branchpruning-hg2
-  o  1 "closedefault" files:
+  _  1 "closedefault" files:
   |
   o  0 "addb" files: b