This is an archive of the discontinued Mercurial Phabricator instance.

applyupdates: simplfy calculation of number of updated files
ClosedPublic

Authored by pulkit on Aug 5 2020, 4:53 AM.

Details

Summary

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.

Diff Detail

Repository
rHG Mercurial
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.