branch | decodefilter |
changeset 15 | 4bd44185f781 |
parent 14 | b60345141aa5 |
--- a/hgkw/hgkwdecode.py Thu Dec 14 16:28:38 2006 +0100 +++ b/hgkw/hgkwdecode.py Fri Dec 15 01:14:58 2006 +0100 @@ -6,9 +6,9 @@ def kwdecode(): '''Expands keywords into IO stream.''' - lr = localrepo.localrepository(None) + repo = localrepo.localrepository(None) - kword = kwutil.mkkw(lr, tip=False, node='') + kword = kwutil.mkkw(repo, tip=False, node='') re_kw = kwutil.rekw() sys.stdout.write(re_kw.sub(kword, sys.stdin.read()))