Mercurial > hg
comparison mercurial/rewriteutil.py @ 45341:e335936cd4e1
applyupdates: simplfy calculation of number of updated files
Instead of increasing the `updated` variable each time in a loop, let's use the
mergeresult object API to calculate the updated value in one call.
Differential Revision: https://phab.mercurial-scm.org/D8883
author | Pulkit Goyal <7895pulkit@gmail.com> |
---|---|
date | Wed, 05 Aug 2020 13:21:06 +0530 |
parents | a391d0710f22 |
children | 0a57ef4b3bdb |
comparison
equal
deleted
inserted
replaced
45340:cdc50e1929b0 | 45341:e335936cd4e1 |
---|