diff tests/test-subrepo.t @ 24471:1ff35d76421c

subrepo: add bailifchanged to centralize raising Abort if subrepo is dirty This patch also centralizes composing dirty reason message like "uncommitted changes in subrepository 'xxxx'".
author FUJIWARA Katsunori <foozy@lares.dti.ne.jp>
date Wed, 25 Mar 2015 13:55:35 +0900
parents 76b0b0fed2e3
children a99931201d1b
line wrap: on
line diff
--- a/tests/test-subrepo.t	Wed Mar 25 13:55:32 2015 +0900
+++ b/tests/test-subrepo.t	Wed Mar 25 13:55:35 2015 +0900
@@ -96,7 +96,7 @@
 
   $ echo b >> s/a
   $ hg backout tip
-  abort: uncommitted changes in subrepo s
+  abort: uncommitted changes in subrepository 's'
   [255]
   $ hg revert -C -R s s/a