diff mercurial/patch.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 1253703853a8 24c22a3f2ef8
children 47ba52121433
line wrap: on
line diff
--- a/mercurial/patch.py	Thu Mar 15 18:57:47 2007 -0500
+++ b/mercurial/patch.py	Fri Mar 16 00:45:18 2007 -0300
@@ -359,7 +359,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':