# HG changeset patch # User Matt Mackall # Date 1278001376 18000 # Node ID d3c3e2fdeb0cd052ed8ee22a9448b217f8c98e79 # Parent b602a95c21ec5e8a3e50ebb0ee803d852171bb3e commit: add missing _() diff -r b602a95c21ec -r d3c3e2fdeb0c mercurial/localrepo.py --- 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')