changeset 5813:3ef279074c77

context: fix filectx.parents() bug introduced when editing 180a3eee4b75
author Patrick Mezard <pmezard@gmail.com>
date Sun, 06 Jan 2008 15:40:32 +0100
parents 41ca0e20117e
children dd5a501cb97f
files mercurial/context.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/mercurial/context.py	Sun Jan 06 13:17:10 2008 +0100
+++ b/mercurial/context.py	Sun Jan 06 15:40:32 2008 +0100
@@ -281,7 +281,7 @@
         fl = self._filelog
         pl = [(p, n, fl) for n in self._filelog.parents(self._filenode)]
 
-        r = self.renamed()
+        r = self._filelog.renamed(self._filenode)
         if r:
             pl[0] = (r[0], r[1], None)