Mercurial > public > mercurial-scm > hg
comparison mercurial/scmutil.py @ 47128:bea4717415c0
merge with stable
author | Matt Harbison <matt_harbison@yahoo.com> |
---|---|
date | Fri, 07 May 2021 22:06:25 -0400 |
parents | a407fe56d6e8 f38bf44e077f |
children | 33c0c25d0b0f |
comparison
equal
deleted
inserted
replaced
47127:5ffc6c18fb96 | 47128:bea4717415c0 |
---|---|
1559 return wc, store | 1559 return wc, store |
1560 return requirements, None | 1560 return requirements, None |
1561 | 1561 |
1562 | 1562 |
1563 def istreemanifest(repo): | 1563 def istreemanifest(repo): |
1564 """ returns whether the repository is using treemanifest or not """ | 1564 """returns whether the repository is using treemanifest or not""" |
1565 return requirementsmod.TREEMANIFEST_REQUIREMENT in repo.requirements | 1565 return requirementsmod.TREEMANIFEST_REQUIREMENT in repo.requirements |
1566 | 1566 |
1567 | 1567 |
1568 def writereporequirements(repo, requirements=None): | 1568 def writereporequirements(repo, requirements=None): |
1569 """writes requirements for the repo | 1569 """writes requirements for the repo |