hgkw/keyword.py
changeset 282 2386cdd2ef2e
parent 280 2088e409d360
child 283 071bfbd482b4
--- 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