mercurial/context.py
changeset 13031 3da456d0c885
parent 13001 cc4e13c92dfa
child 13047 6c375e07d673
--- a/mercurial/context.py	Mon Nov 22 17:57:11 2010 +0100
+++ b/mercurial/context.py	Mon Nov 22 18:15:58 2010 +0100
@@ -179,7 +179,7 @@
         """
         # deal with workingctxs
         n2 = c2._node
-        if n2 == None:
+        if n2 is None:
             n2 = c2._parents[0]._node
         n = self._repo.changelog.ancestor(self._node, n2)
         return changectx(self._repo, n)