mercurial/patch.py
changeset 4229 24c22a3f2ef8
parent 4105 797dbdd4d7e1
child 4232 0d51eb296fb9
child 4316 6e4334be0aaa
--- a/mercurial/patch.py
+++ b/mercurial/patch.py
@@ -353,7 +353,7 @@ def updatedir(ui, repo, patches, wlock=N
     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':