Mercurial > hg
diff mercurial/metadata.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 | c6eea5804551 |
children | 1f50bcc96595 |