--- a/hgkw/keyword.py Thu Jan 04 14:18:15 2007 +0100
+++ b/hgkw/keyword.py Fri Jan 05 14:51:10 2007 +0100
@@ -117,16 +117,6 @@
data)
return data
- def add(self, text, meta, tr, link, p1=None, p2=None):
- if not self._path.startswith('.hg') and not util.binary(text):
- for mf in kwfmatchers(ui, self._repo):
- if mf(self._path):
- ui.debug(_('removing keyword substitutions in %s\n')
- % self._path)
- text = re_kw.sub(r'$\1$', text)
- break
- return super(kwfilelog, self).add(text, meta, tr, link, p1, p2)
-
def size(self, rev):
'''Overrides filelog's size() to use kwfilelog.read().'''
node = revlog.node(self, rev)