Re-enable the renamed check fastpath
authorMatt Mackall <mpm@selenic.com>
Thu, 22 Dec 2005 13:18:44 -0600
changeset 1595 dca956c9767d
parent 1594 a329e0fda2ae
child 1596 41366b7d6709
child 1603 5352a5407dc1
Re-enable the renamed check fastpath
mercurial/filelog.py
--- 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"):