Mercurial > hg
view tests/test-locale.t @ 49993:2f348babe30d
transaction: clarify the "quick abort" scenario
Right now, the transaction has a code-pass to do a "quick abort" that skip most¹
(too much) of the logic when the right condition are detected²
We are about to improve this logic in multiple aspect. We clarify the code
first.
The conditional return in `_can_quick_abort` looks a bit weird because we are
about to make them more complex very soon.
[1] actually too much
[2] actually not often enough
author | Pierre-Yves David <pierre-yves.david@octobus.net> |
---|---|
date | Tue, 14 Feb 2023 18:59:04 +0100 |
parents | afcad425a0b6 |
children |
line wrap: on
line source
$ LANG=nonexistent LC_ALL=nonexistent LANGUAGE=nonexistent hg version -q Mercurial Distributed SCM (version *) (glob)