Mercurial > hg
comparison mercurial/transaction.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 | 36f08ae87ef6 |
children | 5df1655edf42 |
comparison
equal
deleted
inserted
replaced
45340:cdc50e1929b0 | 45341:e335936cd4e1 |
---|