Pierre-Yves David <pierre-yves.david@octobus.net> [Mon, 19 Jul 2021 15:34:17 +0200] rev 47738
test: use the internal `_normallookup` in `test-rebuildstate.t`
This is a low level test doing low level manipulation.
Differential Revision: https://phab.mercurial-scm.org/D11180
Pierre-Yves David <pierre-yves.david@octobus.net> [Mon, 19 Jul 2021 01:59:09 +0200] rev 47737
sparse: use `update_file` instead of `normallookup` in refreshwdir
This is the newer, more semantic API.
Differential Revision: https://phab.mercurial-scm.org/D11179
Pierre-Yves David <pierre-yves.david@octobus.net> [Mon, 19 Jul 2021 02:05:29 +0200] rev 47736
keyword: use `update_file_p1` instead of `normallookup`
This is the newer, more semantic API.
Differential Revision: https://phab.mercurial-scm.org/D11178
Pierre-Yves David <pierre-yves.david@octobus.net> [Mon, 19 Jul 2021 05:41:32 +0200] rev 47735
fix: use `set_possibly_dirty` instead of `normallookup`
This is the newer, more semantic API.
Differential Revision: https://phab.mercurial-scm.org/D11177
Pierre-Yves David <pierre-yves.david@octobus.net> [Mon, 19 Jul 2021 05:41:02 +0200] rev 47734
eol: use `set_possibly_dirty` instead of `normallookup`
This is the newer, more semantic API.
Differential Revision: https://phab.mercurial-scm.org/D11176
Pierre-Yves David <pierre-yves.david@octobus.net> [Sun, 18 Jul 2021 22:50:02 +0200] rev 47733
mq: replace `normallookup` call with newer API
This align MQ behavior with what what `scmutil.movedirstate` does. (it should
probably use `scmutil.movedirstate` itself.
Differential Revision: https://phab.mercurial-scm.org/D11175
Pierre-Yves David <pierre-yves.david@octobus.net> [Mon, 19 Jul 2021 03:52:54 +0200] rev 47732
revert: use `set_possibly_dirty` instead of `normallookup`
This is the newer, more semantic API.
Differential Revision: https://phab.mercurial-scm.org/D11174
Pierre-Yves David <pierre-yves.david@octobus.net> [Mon, 19 Jul 2021 14:02:58 +0200] rev 47731
dirstate: enforce `possibly_dirty` in `set_tracked`
There is some usecase (like `hg revert`) that requires more agressive
`possibly_dirty` setting. So we take a safe path and enforce it in one of the
main `normallookup` replacement.
Differential Revision: https://phab.mercurial-scm.org/D11173
Pierre-Yves David <pierre-yves.david@octobus.net> [Mon, 19 Jul 2021 01:17:56 +0200] rev 47730
record: use `update_file` instead of `normallookup`
We are cheating a bit to enforce we are in a pending change context. This will
have to be cleaned up later.
The end goal is reached, we are now using the newer, more semantic API.
Differential Revision: https://phab.mercurial-scm.org/D11172
Pierre-Yves David <pierre-yves.david@octobus.net> [Mon, 19 Jul 2021 05:43:43 +0200] rev 47729
copy: use `set_tracked` instead of `normallookup` in `dirstatecopy`
This is the newer, more semantic API.
Differential Revision: https://phab.mercurial-scm.org/D11171
Pierre-Yves David <pierre-yves.david@octobus.net> [Mon, 19 Jul 2021 01:18:23 +0200] rev 47728
amend: use `update_file` instead of `normallookup`
This is the newer, more semantic API.
Differential Revision: https://phab.mercurial-scm.org/D11170
Pierre-Yves David <pierre-yves.david@octobus.net> [Mon, 19 Jul 2021 05:45:22 +0200] rev 47727
mergestate: use `update_file` to handle for `ACTION_EXEC`
This is the newer, more semantic API.
Differential Revision: https://phab.mercurial-scm.org/D11169
Pierre-Yves David <pierre-yves.david@octobus.net> [Mon, 19 Jul 2021 05:44:57 +0200] rev 47726
mergestate: use `update_file` to handle for `ACTION_ADD_MODIFIED`
This is the newer, more semantic API.
Differential Revision: https://phab.mercurial-scm.org/D11168
Pierre-Yves David <pierre-yves.david@octobus.net> [Mon, 19 Jul 2021 05:47:54 +0200] rev 47725
largefile: use `update_file` for `synclfdirstate` "m" case
This is the newer, more semantic API.
Differential Revision: https://phab.mercurial-scm.org/D11167
Pierre-Yves David <pierre-yves.david@octobus.net> [Mon, 19 Jul 2021 05:47:33 +0200] rev 47724
largefile: use `update_file` for `synclfdirstate` "n" case
This is the newer, more semantic API.
Differential Revision: https://phab.mercurial-scm.org/D11166
Pierre-Yves David <pierre-yves.david@octobus.net> [Mon, 19 Jul 2021 02:44:11 +0200] rev 47723
largefile: replace the `normallookup` call when creating a new lfdirstate
This is the newer, more semantic API.
Differential Revision: https://phab.mercurial-scm.org/D11165
Pierre-Yves David <pierre-yves.david@octobus.net> [Mon, 19 Jul 2021 05:46:16 +0200] rev 47722
largefile: use `update_file` instead of `normallookup` in `updatelfiles`
This is the newer, more semantic API.
Differential Revision: https://phab.mercurial-scm.org/D11164
Pierre-Yves David <pierre-yves.david@octobus.net> [Sun, 18 Jul 2021 23:43:08 +0200] rev 47721
largefile: use `set_possibly_dirty` instead of `normallookup`
Differential Revision: https://phab.mercurial-scm.org/D11163
Pierre-Yves David <pierre-yves.david@octobus.net> [Sun, 18 Jul 2021 23:42:22 +0200] rev 47720
dirstate: add a `set_possibly_dirty` method
This method will be able to replace some usage of `normallookup` in the future.
Differential Revision: https://phab.mercurial-scm.org/D11162
Pierre-Yves David <pierre-yves.david@octobus.net> [Mon, 19 Jul 2021 00:29:36 +0200] rev 47719
dirstate: deprecate the `normal` method in all cases
All code have been migrated to the new APIs.
Differential Revision: https://phab.mercurial-scm.org/D11161
Pierre-Yves David <pierre-yves.david@octobus.net> [Mon, 19 Jul 2021 06:44:08 +0200] rev 47718
test: use `set_tracked` in `test-context`
This is apparently the last user of the old API.
Differential Revision: https://phab.mercurial-scm.org/D11160
Pierre-Yves David <pierre-yves.david@octobus.net> [Sun, 18 Jul 2021 22:49:26 +0200] rev 47717
mq: replace usage of `normal` with newer API
Differential Revision: https://phab.mercurial-scm.org/D11159
Pierre-Yves David <pierre-yves.david@octobus.net> [Mon, 19 Jul 2021 02:46:09 +0200] rev 47716
largefile: use `update_file` instead of `normal` in `synclfdirstate`
This is the newer, more semantic API.
This was the last call to `normal` in largefile.
Differential Revision: https://phab.mercurial-scm.org/D11158
Pierre-Yves David <pierre-yves.david@octobus.net> [Mon, 19 Jul 2021 02:40:51 +0200] rev 47715
largefile: use `set_clean` instead of `normal` in `repo.status`
This is the newer, more semantic API.
Differential Revision: https://phab.mercurial-scm.org/D11157
Pierre-Yves David <pierre-yves.david@octobus.net> [Mon, 19 Jul 2021 02:39:35 +0200] rev 47714
largefile: use `set_clean` instead of `normal` in `lfdirstatestatus`
This is the newer, more semantic API.
Differential Revision: https://phab.mercurial-scm.org/D11156
Pierre-Yves David <pierre-yves.david@octobus.net> [Mon, 19 Jul 2021 02:39:01 +0200] rev 47713
largefile: use `update_file` instead of `normal` in `updatelfiles`
This is the newer, more semantic API.
Differential Revision: https://phab.mercurial-scm.org/D11155
Pierre-Yves David <pierre-yves.david@octobus.net> [Mon, 19 Jul 2021 02:38:40 +0200] rev 47712
largefile: respect the `normal` signature
The `parentfiledata` parameter was missing, we throw it away because I am not sure what to do with it in the largefile case.
Differential Revision: https://phab.mercurial-scm.org/D11154
Pierre-Yves David <pierre-yves.david@octobus.net> [Mon, 19 Jul 2021 02:05:24 +0200] rev 47711
keyword: use `set_clean` instead of `normal`
This is the newer, more semantic API.
Differential Revision: https://phab.mercurial-scm.org/D11153
Pierre-Yves David <pierre-yves.david@octobus.net> [Mon, 19 Jul 2021 01:58:34 +0200] rev 47710
sparse: use `update_file` instead of `normal` in `refreshwdir`
This is the newer, more semantic API.
Differential Revision: https://phab.mercurial-scm.org/D11152
Pierre-Yves David <pierre-yves.david@octobus.net> [Mon, 19 Jul 2021 01:58:24 +0200] rev 47709
sparse: use `update_file` instead of `normal` during `applyupdates`
This is the newer, more semantic API.
(more content end up "nonnormal", see previous commit)
Differential Revision: https://phab.mercurial-scm.org/D11151