( )⚙ D8981 scmutil: introduce function to check whether repo uses treemanifest or not

This is an archive of the discontinued Mercurial Phabricator instance.

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

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

Details

Summary

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

Repository
rHG Mercurial
Branch
default
Lint
No Linters Available
Unit
No Unit Test Coverage

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.