diff tests/test-rebase-legacy.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 503d0dd2af18
children
line wrap: on
line diff
--- a/tests/test-rebase-legacy.t	Thu Oct 22 23:10:06 2020 -0700
+++ b/tests/test-rebase-legacy.t	Tue Oct 27 15:33:15 2020 -0700
@@ -58,11 +58,11 @@
 #endif
 
   $ hg continue
-  rebasing 4:c1e6b162678d "B" (B)
-  rebasing 8:6f7a236de685 "D" (D)
-  rebasing 2:de008c61a447 "E" (E)
-  rebasing 7:d2fa1c02b240 "G" (G)
-  rebasing 9:6582e6951a9c "H" (H tip)
+  rebasing 4:c1e6b162678d B "B"
+  rebasing 8:6f7a236de685 D "D"
+  rebasing 2:de008c61a447 E "E"
+  rebasing 7:d2fa1c02b240 G "G"
+  rebasing 9:6582e6951a9c H tip "H"
   warning: orphaned descendants detected, not stripping c1e6b162678d, de008c61a447
   saved backup bundle to $TESTTMP/.hg/strip-backup/6f7a236de685-9880a3dc-rebase.hg