diff tests/test-sharing.t @ 2787:ebca049e8ca9

amend: use precheck to validate revision This gives us standard check and standard error message.
author Pierre-Yves David <pierre-yves.david@octobus.net>
date Sun, 23 Jul 2017 21:20:46 +0200
parents e22de367fc74
children 2280461343e5 20c2499ce8bc
line wrap: on
line diff
--- a/tests/test-sharing.t	Sun Jul 23 20:33:19 2017 +0200
+++ b/tests/test-sharing.t	Sun Jul 23 21:20:46 2017 +0200
@@ -147,7 +147,8 @@
 
 Now that the fix is public, we cannot amend it any more.
   $ hg amend -m 'fix bug 37'
-  abort: cannot amend public changesets
+  abort: cannot amend public changesets: de6151c48e1c
+  (see 'hg help phases' for details)
   [255]
 
 Figure SG05