author | Christian Ebert <blacktrash@gmx.net> |
Fri, 15 Dec 2006 01:14:58 +0100 | |
branch | decodefilter |
changeset 15 | 4bd44185f781 |
parent 14 | b60345141aa5 |
child 16 | e29cf107baf2 |
--- 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()))