diff -r c6314b110e67 -r 2386cdd2ef2e hgkw/keyword.py --- a/hgkw/keyword.py Fri Oct 19 16:28:56 2007 +0200 +++ b/hgkw/keyword.py Fri Oct 19 19:37:41 2007 +0200 @@ -101,8 +101,6 @@ def _pathto(repo, f, cwd=None): '''kwfiles behaves similar to status, using pathto since 78b6add1f966.''' try: - if cwd is None: - cwd = repo.getcwd() return repo.pathto(f, cwd) except AttributeError: return f