diff -r 5cc7905bccc9 -r 1ffeeb91c55d mercurial/commands.py --- a/mercurial/commands.py Tue May 31 20:39:04 2011 -0500 +++ b/mercurial/commands.py Wed Jun 01 12:38:46 2011 +0200 @@ -1342,7 +1342,7 @@ def showchunks(named): ui.write("\n%s\n" % named) chain = None - while 1: + while True: chunkdata = gen.deltachunk(chain) if not chunkdata: break @@ -1361,7 +1361,7 @@ showchunks("changelog") chunkdata = gen.manifestheader() showchunks("manifest") - while 1: + while True: chunkdata = gen.filelogheader() if not chunkdata: break @@ -1370,7 +1370,7 @@ else: chunkdata = gen.changelogheader() chain = None - while 1: + while True: chunkdata = gen.deltachunk(chain) if not chunkdata: break