diff --git a/mercurial/localrepo.py b/mercurial/localrepo.py index b602a95c21ec5e8a3e50ebb0ee803d852171bb3e_bWVyY3VyaWFsL2xvY2FscmVwby5weQ==..d3c3e2fdeb0cd052ed8ee22a9448b217f8c98e79_bWVyY3VyaWFsL2xvY2FscmVwby5weQ== 100644 --- a/mercurial/localrepo.py +++ b/mercurial/localrepo.py @@ -827,6 +827,5 @@ if match(s) and wctx.sub(s).dirty(): subs.append(s) if (subs or removedsubs): - # is hgsub modified and not included? if (not match('.hgsub') and '.hgsub' in (wctx.modified() + wctx.added())): @@ -831,6 +830,6 @@ if (not match('.hgsub') and '.hgsub' in (wctx.modified() + wctx.added())): - raise util.Abort("can't commit subrepos without .hgsub") + raise util.Abort(_("can't commit subrepos without .hgsub")) if '.hgsubstate' not in changes[0]: changes[0].insert(0, '.hgsubstate')