--- a/mercurial/ui.py Mon Nov 22 17:57:11 2010 +0100 +++ b/mercurial/ui.py Mon Nov 22 18:15:58 2010 +0100 @@ -589,7 +589,7 @@ termination. ''' - if pos == None or not self.debugflag: + if pos is None or not self.debugflag: return if unit: