Mercurial > public > mercurial-scm > hg-stable
diff mercurial/patch.py @ 4229:24c22a3f2ef8
pass repo.root to util.pathto() in preparation for the next patch
author | Alexis S. L. Carvalho <alexis@cecm.usp.br> |
---|---|
date | Fri, 16 Mar 2007 00:22:57 -0300 |
parents | 797dbdd4d7e1 |
children | 0d51eb296fb9 6e4334be0aaa |
line wrap: on
line diff
--- 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':