--- a/hgkw/keyword.py Mon Jan 08 18:27:18 2007 +0100
+++ b/hgkw/keyword.py Mon Jan 08 18:32:46 2007 +0100
@@ -1,4 +1,5 @@
# keyword.py - keyword expansion for mercurial
+# $Id$
'''keyword expansion hack against the grain of a DSCM
@@ -138,6 +139,9 @@
'''pretxncommit hook that collects candidates for keyword expansion
on commit and expands keywords in working dir.'''
from mercurial.i18n import gettext as _
+ # above line for backwards compatibility; can be changed to
+ # from mercurial.i18n import _
+ # some day
from mercurial import cmdutil, commands
import sys