dirstate: write the `branch` as part of the transaction if any
Bypassing the transaction means we could get out of sync with the dirstatemap
content.
The branch is stil written right away if no transaction is around, but at least
it no longer bypass the transaction.
Actual caller of this still need to be updated.
dirstate: factor the transaction abort logic
We will need it in more occasion if the branch is to be written as part of the
transaction.
dirstate: use a context manager to handle the file used for writing the branch
This is more modern.
style: rewrap `ui.deprecwarn` declaration
This get easier to read, especially with the type annotation.
branching: merge stable into default
The clippy god had to be appeased on some aspect.
Added signature for changeset
8830004967ad
Added tag 6.3.3 for changeset
8830004967ad