Mercurial > public > mercurial-scm > hg
comparison mercurial/revlog.py @ 14494:1ffeeb91c55d
check-code: flag 0/1 used as constant Boolean expression
author | Martin Geisler <mg@lazybytes.net> |
---|---|
date | Wed, 01 Jun 2011 12:38:46 +0200 |
parents | bdf44e63a94c |
children | b4175b72bbd8 |
comparison
equal
deleted
inserted
replaced
14493:5cc7905bccc9 | 14494:1ffeeb91c55d |
---|---|
1149 dfh = self.opener(self.datafile, "a") | 1149 dfh = self.opener(self.datafile, "a") |
1150 | 1150 |
1151 try: | 1151 try: |
1152 # loop through our set of deltas | 1152 # loop through our set of deltas |
1153 chain = None | 1153 chain = None |
1154 while 1: | 1154 while True: |
1155 chunkdata = bundle.deltachunk(chain) | 1155 chunkdata = bundle.deltachunk(chain) |
1156 if not chunkdata: | 1156 if not chunkdata: |
1157 break | 1157 break |
1158 node = chunkdata['node'] | 1158 node = chunkdata['node'] |
1159 p1 = chunkdata['p1'] | 1159 p1 = chunkdata['p1'] |