This is an archive of the discontinued Mercurial Phabricator instance.

branch: return early if we find an open named branch apart from default
ClosedPublic

Authored by pulkit on Apr 5 2019, 9:32 AM.

Details

Summary

The current code builds a list of all the open named branches except default and
then bool that. This is mostly fine until you get a repo which has thousands of
named 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.

Event Timeline

pulkit created this revision.Apr 5 2019, 9:32 AM
pulkit updated this revision to Diff 14742.Apr 15 2019, 12:15 PM
This revision was automatically updated to reflect the committed changes.