--- a/hgkw/keyword.py Sat Dec 01 20:31:13 2007 +0100
+++ b/hgkw/keyword.py Sun Dec 02 08:00:31 2007 +0100
@@ -177,6 +177,7 @@
def __init__(self, opener, path, kwtemplater):
super(kwfilelog, self).__init__(opener, path)
self.kwtemplater = kwtemplater
+ self.kwtemplater.path = path
def kwctread(self, node, expand):
'''Reads expanding and counting keywords
@@ -426,7 +427,6 @@
if f[0] == '/':
f = f[1:]
if kwmatch or _kwtemplater.match(f):
- _kwtemplater.path = f
return kwfilelog(self.sopener, f, _kwtemplater)
return filelog.filelog(self.sopener, f)