merge: standardize error message for dirty subrepo
authorSiddharth Agarwal <sid0@fb.com>
Mon, 23 Sep 2013 20:53:14 -0700
changeset 19803 0f64af33fb63
parent 19802 94c394653b2a
child 19804 061ce98c888d
merge: standardize error message for dirty subrepo
mercurial/merge.py
tests/test-merge-subrepos.t
--- a/mercurial/merge.py	Mon Sep 23 20:50:51 2013 -0700
+++ b/mercurial/merge.py	Mon Sep 23 20:53:14 2013 -0700
@@ -715,7 +715,7 @@
                                  hint=_("use 'hg status' to list changes"))
             for s in sorted(wc.substate):
                 if wc.sub(s).dirty():
-                    raise util.Abort(_("outstanding uncommitted changes in "
+                    raise util.Abort(_("uncommitted changes in "
                                        "subrepository '%s'") % s)
 
         elif not overwrite:
--- a/tests/test-merge-subrepos.t	Mon Sep 23 20:50:51 2013 -0700
+++ b/tests/test-merge-subrepos.t	Mon Sep 23 20:53:14 2013 -0700
@@ -21,5 +21,5 @@
 Should fail, since there are added files to subrepo:
 
   $ hg merge
-  abort: outstanding uncommitted changes in subrepository 'subrepo'
+  abort: uncommitted changes in subrepository 'subrepo'
   [255]