mercurial/localrepo.py
changeset 14494 1ffeeb91c55d
parent 14482 58b36e9ea783
child 14509 4f695345979c
--- a/mercurial/localrepo.py	Tue May 31 20:39:04 2011 -0500
+++ b/mercurial/localrepo.py	Wed Jun 01 12:38:46 2011 +0200
@@ -1309,7 +1309,7 @@
         b = []
         for n in nodes:
             t = n
-            while 1:
+            while True:
                 p = self.changelog.parents(n)
                 if p[1] != nullid or p[0] == nullid:
                     b.append((t, n, p[0], p[1]))
@@ -1777,7 +1777,7 @@
             pr.total = efiles
             source.callback = None
 
-            while 1:
+            while True:
                 chunkdata = source.filelogheader()
                 if not chunkdata:
                     break