##// END OF EJS Templates
merge: standardize error message for dirty subrepo
Siddharth Agarwal -
r19803:0f64af33 default
parent child Browse files
Show More
@@ -715,7 +715,7 b' def update(repo, node, branchmerge, forc'
715 hint=_("use 'hg status' to list changes"))
715 hint=_("use 'hg status' to list changes"))
716 for s in sorted(wc.substate):
716 for s in sorted(wc.substate):
717 if wc.sub(s).dirty():
717 if wc.sub(s).dirty():
718 raise util.Abort(_("outstanding uncommitted changes in "
718 raise util.Abort(_("uncommitted changes in "
719 "subrepository '%s'") % s)
719 "subrepository '%s'") % s)
720
720
721 elif not overwrite:
721 elif not overwrite:
@@ -21,5 +21,5 b''
21 Should fail, since there are added files to subrepo:
21 Should fail, since there are added files to subrepo:
22
22
23 $ hg merge
23 $ hg merge
24 abort: outstanding uncommitted changes in subrepository 'subrepo'
24 abort: uncommitted changes in subrepository 'subrepo'
25 [255]
25 [255]
General Comments 0
You need to be logged in to leave comments. Login now