Mercurial > hg
diff mercurial/patch.py @ 3159:e43fd1623fe1
fix users of dirstate.copies broken by b1f10d3223c1
author | Benoit Boissinot <benoit.boissinot@ens-lyon.org> |
---|---|
date | Tue, 26 Sep 2006 13:58:58 +0200 |
parents | f422c8265ae5 |
children | 096f1c73cdc3 |
line wrap: on
line diff
--- 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]