diff tests/test-fix.t @ 47069:5b6dd0d9171b

rewriteutil: give examples of public changesets that can't be rewritten This patch copies the feature from the evolve extension. Differential Revision: https://phab.mercurial-scm.org/D10670
author Martin von Zweigbergk <martinvonz@google.com>
date Tue, 04 May 2021 10:16:34 -0700
parents 7a90fddb13b0
children d90f6237b3aa
line wrap: on
line diff
--- a/tests/test-fix.t	Mon May 03 15:14:09 2021 -0400
+++ b/tests/test-fix.t	Tue May 04 10:16:34 2021 -0700
@@ -264,11 +264,11 @@
   $ hg commit -Aqm "hello"
   $ hg phase -r 0 --public
   $ hg fix -r 0
-  abort: cannot fix public changesets
+  abort: cannot fix public changesets: 6470986d2e7b
   (see 'hg help phases' for details)
   [10]
   $ hg fix -r 0 --working-dir
-  abort: cannot fix public changesets
+  abort: cannot fix public changesets: 6470986d2e7b
   (see 'hg help phases' for details)
   [10]
   $ hg cat -r tip hello.whole