This is an archive of the discontinued Mercurial Phabricator instance.

scmutil: introduce function to check whether repo uses treemanifest or not

Authored by pulkit on Sep 5 2020, 3:08 AM.



In next patch, I wanted to check whether current repo uses treemanifest or not.
I looked for a function and found that at all places we manually check for the
requirement in repo requirements. I guess having a dedicated function for that
is much better.

Diff Detail

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

Event Timeline

pulkit created this revision.Sep 5 2020, 3:08 AM
marmoute accepted this revision.Sep 11 2020, 5:03 AM
This revision was not accepted when it landed; it landed in state Needs Review.
This revision was automatically updated to reflect the committed changes.