##// END OF EJS Templates
engine: refactor how total dstsize is calculated...
Pulkit Goyal -
r46831:5dfa837d default
parent child Browse files
Show More
@@ -285,9 +285,7 b' def _clonerevlogs('
285 285 oncopiedrevision,
286 286 )
287 287 info = newrl.storageinfo(storedsize=True)
288 datasize = info[b'storedsize'] or 0
289 dstsize += datasize
290 fdstsize += datasize
288 fdstsize += info[b'storedsize'] or 0
291 289 ui.status(
292 290 _(
293 291 b'finished migrating %d filelog revisions across %d '
@@ -328,9 +326,7 b' def _clonerevlogs('
328 326 oncopiedrevision,
329 327 )
330 328 info = newrl.storageinfo(storedsize=True)
331 datasize = info[b'storedsize'] or 0
332 dstsize += datasize
333 mdstsize += datasize
329 mdstsize += info[b'storedsize'] or 0
334 330 ui.status(
335 331 _(
336 332 b'finished migrating %d manifest revisions across %d '
@@ -370,9 +366,7 b' def _clonerevlogs('
370 366 oncopiedrevision,
371 367 )
372 368 info = newrl.storageinfo(storedsize=True)
373 datasize = info[b'storedsize'] or 0
374 dstsize += datasize
375 cdstsize += datasize
369 cdstsize += info[b'storedsize'] or 0
376 370 progress.complete()
377 371 ui.status(
378 372 _(
@@ -382,6 +376,7 b' def _clonerevlogs('
382 376 % (crevcount, util.bytecount(cdstsize - csrcsize))
383 377 )
384 378
379 dstsize = fdstsize + mdstsize + cdstsize
385 380 ui.status(
386 381 _(
387 382 b'finished migrating %d total revisions; total change in store '
General Comments 0
You need to be logged in to leave comments. Login now