# HG changeset patch # User Benoit Boissinot # Date 2006-12-24 21:29:29 # Node ID a4edadd807dd9d82547f1ab5afc61f65a9d2a715 # Parent c137e21dba5a463d059c32e2aaca086969b82da8 fix tab vs space diff --git a/mercurial/context.py b/mercurial/context.py --- a/mercurial/context.py +++ b/mercurial/context.py @@ -149,10 +149,10 @@ class filectx(object): self._changeid = self._filelog.linkrev(self._filenode) return self._changeid elif name == '_filenode': - if '_fileid' in self.__dict__: - self._filenode = self._filelog.lookup(self._fileid) - else: - self._filenode = self._changectx.filenode(self._path) + if '_fileid' in self.__dict__: + self._filenode = self._filelog.lookup(self._fileid) + else: + self._filenode = self._changectx.filenode(self._path) return self._filenode elif name == '_filerev': self._filerev = self._filelog.rev(self._filenode)