diff tests/test-rebase-cache.t @ 45771:f90a5c211251

rebase: change and standarize template for rebase's one-line summary This removes the default template in rebase and switches to a centrally defined template. I've simplified it a bit to avoid the conditional parenthesis. I've also added labels so the different parts can be easily colored. The template is somewhat similar to what we've used internally at Google for a few years. I'm happy to change the template if others have opinions. Should we reuse the `color.log.` names as I have? Differential Revision: https://phab.mercurial-scm.org/D9252
author Martin von Zweigbergk <martinvonz@google.com>
date Tue, 27 Oct 2020 15:33:15 -0700
parents 4edd427f34c1
children
line wrap: on
line diff
--- a/tests/test-rebase-cache.t	Thu Oct 22 23:10:06 2020 -0700
+++ b/tests/test-rebase-cache.t	Tue Oct 27 15:33:15 2020 -0700
@@ -165,7 +165,7 @@
   o  0: 'A'
   
   $ hg rebase -s 8 -d 6
-  rebasing 8:4666b71e8e32 "F" (tip)
+  rebasing 8:4666b71e8e32 tip "F"
   saved backup bundle to $TESTTMP/a2/.hg/strip-backup/4666b71e8e32-fc1c4e96-rebase.hg
 
   $ hg branches
@@ -232,7 +232,7 @@
   $ hg rebase -s 7 -d 6
   rebasing 7:653b9feb4616 "branch3"
   note: not rebasing 7:653b9feb4616 "branch3", its destination already has all its changes
-  rebasing 8:4666b71e8e32 "F" (tip)
+  rebasing 8:4666b71e8e32 tip "F"
   saved backup bundle to $TESTTMP/a3/.hg/strip-backup/653b9feb4616-3c88de16-rebase.hg
 
   $ hg branches
@@ -478,6 +478,6 @@
   $ HGEDITOR="sh $TESTTMP/checkeditform.sh" hg rebase --dest 7 --source 5 -e
   rebasing 5:361a99976cc9 "F"
   HGEDITFORM=rebase.merge
-  rebasing 8:326cfedc031c "I" (tip)
+  rebasing 8:326cfedc031c tip "I"
   HGEDITFORM=rebase.normal
   saved backup bundle to $TESTTMP/a3/c4/.hg/strip-backup/361a99976cc9-35e980d0-rebase.hg