diff mercurial/cmdutil.py @ 4232:0d51eb296fb9

Merge with crew-stable
author Alexis S. L. Carvalho <alexis@cecm.usp.br>
date Fri, 16 Mar 2007 00:45:18 -0300
parents dbc3846c09a1 24c22a3f2ef8
children 10edaed7f909
line wrap: on
line diff
--- a/mercurial/cmdutil.py	Thu Mar 15 18:57:47 2007 -0500
+++ b/mercurial/cmdutil.py	Fri Mar 16 00:45:18 2007 -0300
@@ -138,7 +138,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):
     '''find renamed files -- yields (before, after, score) tuples'''