mercurial/cext/__init__.py
author Pierre-Yves David <pierre-yves.david@octobus.net>
Wed, 25 Jan 2023 12:56:26 +0100
changeset 50040 d41960df197e
parent 32211 c48583859e04
permissions -rw-r--r--
dirstate: wrap repository change in appropriate context in `test-context` We need the `wlock` (to add files), the `lock` (to commit), a `transaction` (to commit) and a `changing_files` context (to add files). Strictly speaking, we could let the commit take the `lock` and create a `transaction`, but it seems more consistent that way.