mercurial/copies.py
changeset 8527 f9a80054dd3c
parent 8468 b35d11d10646
child 9030 3f56055ff1d7
child 9097 431462bd8478
--- a/mercurial/copies.py	Wed May 20 00:43:23 2009 +0200
+++ b/mercurial/copies.py	Wed May 20 00:52:46 2009 +0200
@@ -106,7 +106,7 @@
         return {}, {}
 
     # avoid silly behavior for parent -> working dir
-    if c2.node() == None and c1.node() == repo.dirstate.parents()[0]:
+    if c2.node() is None and c1.node() == repo.dirstate.parents()[0]:
         return repo.dirstate.copies(), {}
 
     limit = _findlimit(repo, c1.rev(), c2.rev())