discovery: only calculate closed branches if required
ClosedPublic

Authored by pulkit on Sat, Apr 27, 7:44 AM.

Details

Summary

The number of new closed branches is required for printing in error message. So
let's only calculate them if we need to print error about new branches.

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.
pulkit created this revision.Sat, Apr 27, 7:44 AM
This revision was automatically updated to reflect the committed changes.