# HG changeset patch # User Benoit Boissinot # Date 2006-12-25 16:43:47 # Node ID 2e5161335e651275e52eec5185afcccae42cc87b # Parent 2308c39b95218f63b1756cea8bc072bbbadc8bfe context: fix a bug in workingfilectx.renamed diff --git a/mercurial/context.py b/mercurial/context.py --- a/mercurial/context.py +++ b/mercurial/context.py @@ -482,7 +482,7 @@ class workingfilectx(filectx): rp = self._repopath if rp == self._path: return None - return rp, self._workingctx._parents._manifest.get(rp, nullid) + return rp, self._changectx._parents[0]._manifest.get(rp, nullid) def parents(self): '''return parent filectxs, following copies if necessary'''