diff tests/test-commit-amend.t @ 42509:abd4783db5a7

commit: make the error message more specific while aborting branch closing Differential Revision: https://phab.mercurial-scm.org/D6493
author Sushil khanchi <sushilkhanchi97@gmail.com>
date Tue, 16 Apr 2019 02:53:28 +0530
parents 64ed405dd342
children 4764e8436b2a
line wrap: on
line diff
--- a/tests/test-commit-amend.t	Tue Apr 16 02:33:54 2019 +0530
+++ b/tests/test-commit-amend.t	Tue Apr 16 02:53:28 2019 +0530
@@ -892,7 +892,7 @@
   marked working directory as branch silliness
   $ echo b >> b
   $ hg ci --close-branch -m'open and close'
-  abort: can only close branch heads
+  abort: branch "silliness" has no heads to close
   [255]
 
 Test that amend with --secret creates new secret changeset forcibly