# HG changeset patch # User Patrick Mezard # Date 2008-01-06 14:40:32 # Node ID 3ef279074c77c3cf3f6b35f0f73dee2fdba5aa41 # Parent 41ca0e20117e11c8ea9f5f7c91d7202b1808d5a9 context: fix filectx.parents() bug introduced when editing 180a3eee4b75 diff --git a/mercurial/context.py b/mercurial/context.py --- a/mercurial/context.py +++ b/mercurial/context.py @@ -281,7 +281,7 @@ class filectx(object): 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)