[PATCH 06 of 13] Use the mercurial i18n infrastructure in the purge extension
Emanuele Aina
faina.mail at tiscali.it
Tue Feb 27 07:06:06 UTC 2007
# HG changeset patch
# User Emanuele Aina <em at nerd.ocracy.org>
# Date 1172563536 -3600
# Node ID f3c1feb50c63c43233c5d6ddfa70248cf73612a8
# Parent 87be54dfa3b211aedb6c08aaad7bc39f11377920
Use the mercurial i18n infrastructure in the purge extension
diff --git a/contrib/purge/purge.py b/contrib/purge/purge.py
--- a/contrib/purge/purge.py
+++ b/contrib/purge/purge.py
@@ -18,10 +18,8 @@
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
from mercurial import hg, util
+from mercurial.i18n import _
import os
-
-def _(s):
- return s
class Purge(object):
def __init__(self, act=True, abort_on_err=False, eol='\n'):
More information about the Mercurial-devel
mailing list