context: fix filectx.parents() bug introduced when editing 180a3eee4b75
authorPatrick Mezard <pmezard@gmail.com>
Sun, 06 Jan 2008 15:40:32 +0100
changeset 5813 3ef279074c77
parent 5812 41ca0e20117e
child 5814 dd5a501cb97f
context: fix filectx.parents() bug introduced when editing 180a3eee4b75
mercurial/context.py
--- 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)