Mercurial > public > mercurial-scm > hg
comparison mercurial/configitems.py @ 47239:682f09857d69
revlogv2: delay the update of the changelog docket to transaction end
This prevent external reader to see the transaction content before it is
commited. However this also prevent the hooks to see the transaction content.
We will fix this in later changesets.
We have to temporarily suppress the error output of the command ran during the
transaction as they sometimes get confused about unknown working directory and
sometimes issue message on std-err in unspecified order.
Differential Revision: https://phab.mercurial-scm.org/D10629
author | Pierre-Yves David <pierre-yves.david@octobus.net> |
---|---|
date | Mon, 03 May 2021 12:35:02 +0200 |
parents | 6597255a4f94 |
children | 2219853a1503 |
comparison
equal
deleted
inserted
replaced
47238:6597255a4f94 | 47239:682f09857d69 |
---|---|
1148 b'revisions.prefixhexnode', | 1148 b'revisions.prefixhexnode', |
1149 default=False, | 1149 default=False, |
1150 ) | 1150 ) |
1151 # "out of experimental" todo list. | 1151 # "out of experimental" todo list. |
1152 # | 1152 # |
1153 # * properly hide uncommitted content to other process | |
1154 # * expose transaction content hooks during pre-commit validation | 1153 # * expose transaction content hooks during pre-commit validation |
1155 # * include management of a persistent nodemap in the main docket | 1154 # * include management of a persistent nodemap in the main docket |
1156 # * enforce a "no-truncate" policy for mmap safety | 1155 # * enforce a "no-truncate" policy for mmap safety |
1157 # - for censoring operation | 1156 # - for censoring operation |
1158 # - for stripping operation | 1157 # - for stripping operation |