mercurial/cmdutil.py
changeset 4229 24c22a3f2ef8
parent 4176 f9bbcebcacea
child 4232 0d51eb296fb9
child 4351 3380eb6d7c32
--- a/mercurial/cmdutil.py	Fri Mar 16 00:22:55 2007 -0300
+++ b/mercurial/cmdutil.py	Fri Mar 16 00:22:57 2007 -0300
@@ -145,7 +145,7 @@
     exact = dict.fromkeys(files)
     for src, fn in repo.walk(node=node, files=files, match=matchfn,
                              badmatch=badmatch):
-        yield src, fn, util.pathto(repo.getcwd(), fn), fn in exact
+        yield src, fn, util.pathto(repo.root, repo.getcwd(), fn), fn in exact
 
 def findrenames(repo, added=None, removed=None, threshold=0.5):
     if added is None or removed is None: