mercurial/patch.py
changeset 4229 24c22a3f2ef8
parent 4106 797dbdd4d7e1
child 4232 0d51eb296fb9
child 4316 6e4334be0aaa
--- a/mercurial/patch.py	Fri Mar 16 00:22:55 2007 -0300
+++ b/mercurial/patch.py	Fri Mar 16 00:22:57 2007 -0300
@@ -353,7 +353,7 @@
     cfiles = patches.keys()
     cwd = repo.getcwd()
     if cwd:
-        cfiles = [util.pathto(cwd, f) for f in patches.keys()]
+        cfiles = [util.pathto(repo.root, cwd, f) for f in patches.keys()]
     for f in patches:
         ctype, gp = patches[f]
         if ctype == 'RENAME':