mercurial/patch.py
changeset 3159 e43fd1623fe1
parent 3096 f422c8265ae5
child 3199 096f1c73cdc3
--- a/mercurial/patch.py	Mon Sep 25 22:26:54 2006 -0500
+++ b/mercurial/patch.py	Tue Sep 26 13:58:58 2006 +0200
@@ -433,7 +433,7 @@
         def read(f):
             return repo.wread(f)
         def renamed(f):
-            src = repo.dirstate.copies.get(f)
+            src = repo.dirstate.copied(f)
             parent = repo.dirstate.parents()[0]
             if src:
                 f = src[0]