diff mercurial/patch.py @ 3695:3a2fc90d27d6

fix typo in mercurial/patch.py
author Alexis S. L. Carvalho <alexis@cecm.usp.br>
date Mon, 20 Nov 2006 19:32:37 -0200
parents c0b1a0c72c7d
children 562a65635bcb
line wrap: on
line diff
--- a/mercurial/patch.py
+++ b/mercurial/patch.py
@@ -516,7 +516,7 @@ def diff(repo, node1=None, node2=None, f
             src = repo.dirstate.copied(f)
             parent = repo.dirstate.parents()[0]
             if src:
-                f = src[0]
+                f = src
             of = renamedbetween(f, node1, parent)
             if of:
                 return of