##// END OF EJS Templates
changegroup: invert conditional and dedent...
Gregory Szorc -
r39056:0b5f534d default
parent child Browse files
Show More
@@ -1281,25 +1281,27 b' class cgpacker(object):'
1281 filenodes = [n for n in linkrevnodes
1281 filenodes = [n for n in linkrevnodes
1282 if flr(frev(n)) not in commonrevs]
1282 if flr(frev(n)) not in commonrevs]
1283
1283
1284 if filenodes:
1284 if not filenodes:
1285 if self._ellipses:
1285 continue
1286 revs = _sortnodesellipsis(filerevlog, filenodes,
1287 cl, lookupfilelog)
1288 else:
1289 revs = _sortnodesnormal(filerevlog, filenodes,
1290 self._reorder)
1291
1286
1292 progress.update(i + 1, item=fname)
1287 if self._ellipses:
1288 revs = _sortnodesellipsis(filerevlog, filenodes,
1289 cl, lookupfilelog)
1290 else:
1291 revs = _sortnodesnormal(filerevlog, filenodes,
1292 self._reorder)
1293
1293
1294 deltas = deltagroup(
1294 progress.update(i + 1, item=fname)
1295 self._repo, revs, filerevlog, False, lookupfilelog,
1296 self._forcedeltaparentprev,
1297 ellipses=self._ellipses,
1298 clrevtolocalrev=clrevtolocalrev,
1299 fullclnodes=self._fullclnodes,
1300 precomputedellipsis=self._precomputedellipsis)
1301
1295
1302 yield fname, deltas
1296 deltas = deltagroup(
1297 self._repo, revs, filerevlog, False, lookupfilelog,
1298 self._forcedeltaparentprev,
1299 ellipses=self._ellipses,
1300 clrevtolocalrev=clrevtolocalrev,
1301 fullclnodes=self._fullclnodes,
1302 precomputedellipsis=self._precomputedellipsis)
1303
1304 yield fname, deltas
1303
1305
1304 progress.complete()
1306 progress.complete()
1305
1307
General Comments 0
You need to be logged in to leave comments. Login now