This is the newer, more semantic API.
(more content end up "nonnormal", see previous commit)
( )
Alphare | |
pulkit |
hg-reviewers |
This is the newer, more semantic API.
(more content end up "nonnormal", see previous commit)
No Linters Available |
No Unit Test Coverage |
Path | Packages | |||
---|---|---|---|---|
M | mercurial/sparse.py (2 lines) |
Commit | Parents | Author | Summary | Date |
---|---|---|---|---|
f98a7bf0ebe9 | a94519684154 | Pierre-Yves David | Jul 18 2021, 7:58 PM |
False, | False, | ||||
wantfiledata=False, | wantfiledata=False, | ||||
) | ) | ||||
dirstate = repo.dirstate | dirstate = repo.dirstate | ||||
for file, flags, msg in tmresult.getactions( | for file, flags, msg in tmresult.getactions( | ||||
[mergestatemod.ACTION_GET] | [mergestatemod.ACTION_GET] | ||||
): | ): | ||||
dirstate.normal(file) | dirstate.update_file(file, p1_tracked=True, wc_tracked=True) | ||||
profiles = activeconfig(repo)[2] | profiles = activeconfig(repo)[2] | ||||
changedprofiles = profiles & files | changedprofiles = profiles & files | ||||
# If an active profile changed during the update, refresh the checkout. | # If an active profile changed during the update, refresh the checkout. | ||||
# Don't do this during a branch merge, since all incoming changes should | # Don't do this during a branch merge, since all incoming changes should | ||||
# have been handled by the temporary includes above. | # have been handled by the temporary includes above. | ||||
if changedprofiles and not branchmerge: | if changedprofiles and not branchmerge: | ||||
mf = mctx.manifest() | mf = mctx.manifest() |