changeset 1595:dca956c9767d

Re-enable the renamed check fastpath
author Matt Mackall <mpm@selenic.com>
date Thu, 22 Dec 2005 13:18:44 -0600
parents a329e0fda2ae
children 41366b7d6709 5352a5407dc1
files mercurial/filelog.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/mercurial/filelog.py	Fri Dec 16 11:13:08 2005 -0600
+++ b/mercurial/filelog.py	Thu Dec 22 13:18:44 2005 -0600
@@ -58,7 +58,7 @@
         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"):