dirstate-scoping [11] : remove dirstate-guard
The bad solution to a real problem
Depends on:
Edited by Pierre-Yves David
Merge request reports
Activity
Filter activity
requested review from @mercurial.review
assigned to @marmoute
added 1 commit
- 0daeddab7010 - dirstate-guard: remove its usage in `backout`
added 7 commits
- e0f601f9c442 - rollback: show that the safety works in a associated test
- 6e980599214c - rollback: display some graphlog before/after a test piece
- 6d68bf71b1b7 - rollback: avoid a `hg commit --addremove` at a critical point
- 3baa3975e287 - rollback: detect "parentgone" case earlier
- 16804febdf29 - rollback: explicitly skip dirstate rollback when applicable
- fdcc2e19ddbd - rollback: remove the dirstateguard usage
- 15e843a9decd - dirstate-guard: remove the feature
Toggle commit listadded 70 commits
- f4eef08575ce - dirstate: drop some very fishy looking piece of code
- 3c34a224c232 - locking: take the `wlock` for the full `hg add` duration
- 16b78c0de506 - locking: take the `wlock` for the full `hg remove` duration
- feaa5d08bb19 - locking: take the `wlock` for the full `hg forget` duration
- 2aacd560cf59 - locking: take the `wlock` for the full `hg addremove` duration
- e859f440daa9 - locking: grab the wlock before touching the dirstate in `perfdirstatewrite`
- 115510658219 - locking: hold the wlock for the full duration of the "keyword demo"
- f93bccadcf42 - mq: properly take the wlock during the full qfold operation
- 016dc2387943 - dirstate: introduce a `hacky_extension_update_file` method
- d68b71256c33 - win32text: clean up and clarify the post-revert hack of dirstate
- 05a2f65c9e86 - win32text: drop the `changing_parents` context in revert upgrade
- b7ddd9ae4bef - win32text: make the hacky call cover more cases
- e86262dd903e - largefiles: use `hacky_extension_update_file` in `openlfdirstate`
- c694db2d8876 - largefiles: use `hacky_extension_update_file` in `synclfdirstate`
- 1a2360f7bb35 - largefiles: use `hacky_extension_update_file` in `updatelfiles`
- ef1540c57730 - largefiles: remove the first `changing_parents` in `updatelfiles`
- eed104af7401 - largefiles: remove the second `changing_parents` in `updatelfiles`
- e2f3cba678ce - largefiles: remove the `changing_parents` context in `openlfdirstate`
- 4e955a7a6a55 - dirstate: rename _parentwriters to _changing_level
- e333cc169c45 - dirstate: rename `pendingparentchange` to `is_changing_parents`
- e1cff85484e2 - dirstate: introduce a `is_changing_any` property
- 0dc2fb4b4b11 - dirstate: factor the "changing" context logic out
- d50d45cd5a5f - dirstate: invalidate the dirstate change on transaction failure
- 3550e4a88ccd - dirstate: add a context for tracking files change
- 0b4a6912292e - largefiles: link the core dirstate._changing context to the lfdirstate one
- a46dfc2b58a3 - commit: move the addremove logic around to make the next changeset clearer
- 28dfb2df4ab9 - commit: use `dirstate.change_files` to scope the associated `addremove`
- 5deac4eaa7d1 - dirstate: use `dirstate.change_files` to scope the change in `add`
- b979cdde99e6 - dirstate: use `dirstate.change_files` to scope the change in `addremove`
- 06619266679d - dirstate: use `dirstate.change_files` to scope the change in `forget`
- 7e71d878c708 - dirstate: use `dirstate.change_files` to scope the change in `remove`
- 5c9462adc4b9 - dirstate: use `dirstate.change_files` to scope the change in `copy`
- e356e8b65d70 - dirstate: use `dirstate.change_files` to scope the change in `rename`
- bb6eaa65d12a - dirstate: use `dirstate.change_files` to scope the change in `tag`
- 46883d91e2b0 - dirstate: use `dirstate.change_files` to scope the change in `gpg`
- 6cdcab3ae3fa - dirstate: use `dirstate.change_files` to scope the change in `revert`
- 7b289a70c2c8 - dirstate: use wlock and changing_files context in `test-revlog-ancestry`
- d41960df197e - dirstate: wrap repository change in appropriate context in `test-context`
- 1346db77e14d - dirstate: use the `changing_files` context in the `keyword` demo
- 237e9d2e1c71 - dirstate: use `dirstate.change_files` to scope the change in `amend`
- 5cfc48354d0f - dirstate: use `dirstate.change_files` to scope the change in `automv`
- e8c170a6571d - dirstate: use `dirstate.change_files` to scope the change in `import`
- bbe3a65bbd96 - subrepo: let black expand some call on multiple lines early
- 2264e775512b - subrepo: use `changing_files` context in subrepository code
- 3c431f7551dd - dirstate: use wlock and `dirstate.change_files` to scope the change in `mq`
- c3c8ac540513 - largefiles: rely on the higher level `changing_giles` in `mergerecordupdates`
- 088ee6adfb09 - largefiles: rely on main scoping for writing dirstate in `mergeupdate`
- 22cd517bc6b0 - largefiles: rely on main scoping for writing dirstate in `markcommitted`
- 9409f2946f16 - dirstate: use `dirstate.change_files` to scope the change in `lfconvert`
- 1b044a63a98a - shelve: adjust what happens in some `changing_parents` context
- 5327ae76b740 - dirstate: use `dirstate.change_files` to scope the change in `unshelve`
- e2b89b6d4cdd - dirstate: use `dirstate.change_files` to scope the change in `shelve`
- c5ef535e274e - status: fix post status writing
- 1f369ca9e34c - status: fix post status invalidation
- cf8b9c80d67c - dirstate: issue a developer warning on implicit write on wlock release
- d1215f905818 - dirstate: avoid transaction backup/restore if we do not hold the lock
- 3236643066c4 - dirstate: warn if we write to the dirstate without holding the wlock
- 4f758b51bf9b - dirstate: enforce the use of `changing_files` context to change tracking
- 64b3cc021833 - dirstate-guard: remove it usage in `mq`
- 6526c2fb777c - dirstate-guard: remove usage in `rebase`
- a9562ea222be - dirstate-guard: replace a usage in `rebase` with a transaction
- b54801fec664 - dirstate-guard: remove the usage in `import`
- 927da152800c - dirstate-guard: remove its usage in `backout`
- ebb8648483db - rollback: show that the safety works in a associated test
- 059910ac7b76 - rollback: display some graphlog before/after a test piece
- b35fb0e5b8d6 - rollback: avoid a `hg commit --addremove` at a critical point
- 81870c92c293 - rollback: detect "parentgone" case earlier
- d423ce5930d1 - rollback: explicitly skip dirstate rollback when applicable
- 2ed033e8fda0 - rollback: remove the dirstateguard usage
- f4cb0bcadbe2 - dirstate-guard: remove the feature
Toggle commit listadded 3 commits
- c8f32aa80dca - rollback: explicitly skip dirstate rollback when applicable
- d91fc026071c - rollback: remove the dirstateguard usage
- a99dcf53eebd - dirstate-guard: remove the feature
Please register or sign in to reply