mercurial/context.py
changeset 8527 f9a80054dd3c
parent 8413 36448afdadd4
child 8528 4ddffb793d18
--- a/mercurial/context.py	Wed May 20 00:43:23 2009 +0200
+++ b/mercurial/context.py	Wed May 20 00:52:46 2009 +0200
@@ -444,7 +444,7 @@
 
         # prime the ancestor cache for the working directory
         for c in (self, fc2):
-            if c._filerev == None:
+            if c._filerev is None:
                 pl = [(n.path(), n.filenode()) for n in c.parents()]
                 acache[(c._path, None)] = pl