Mercurial > hg
changeset 11486:d3c3e2fdeb0c stable
commit: add missing _()
author | Matt Mackall <mpm@selenic.com> |
---|---|
date | Thu, 01 Jul 2010 11:22:56 -0500 |
parents | b602a95c21ec |
children | eca7f719201b |
files | mercurial/localrepo.py |
diffstat | 1 files changed, 1 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/mercurial/localrepo.py Thu Jul 01 11:20:13 2010 -0500 +++ b/mercurial/localrepo.py Thu Jul 01 11:22:56 2010 -0500 @@ -827,10 +827,9 @@ 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())): - 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')