# HG changeset patch # User Matt Mackall # Date 2005-12-22 19:18:44 # Node ID dca956c9767d6b6814a7b5fb6cdb005cc7511133 # Parent a329e0fda2ae93ada0534fa71b507b06314f6320 Re-enable the renamed check fastpath diff --git a/mercurial/filelog.py b/mercurial/filelog.py --- a/mercurial/filelog.py +++ b/mercurial/filelog.py @@ -58,7 +58,7 @@ class filelog(revlog): return self.addrevision(text, transaction, link, p1, p2) def renamed(self, node): - if 0 and self.parents(node)[0] != nullid: # XXX + if self.parents(node)[0] != nullid: return False m = self.readmeta(node) if m and m.has_key("copy"):