HomePhabricator

commit: check branch change on to-be-committed changeset

Description

commit: check branch change on to-be-committed changeset

This makes a difference when a branch name is passed via the extra argument,
which will be used as the branch name for the created changeset. The empty
commit check should use that branch name instead of whatever was set on the
working directory.

Besides fixing the bug for which a test case was extended, it enables to remove
a workaround in the rebase extension, which will be done in a follow-up patch
(D8725).

Differential Revision: https://phab.mercurial-scm.org/D8724

Details

Committed
Manuel Jacob <me@manueljacob.de>Jul 9 2020, 6:44 PM
Differential Revision
D8724: commit: check branch change on to-be-committed changeset
Parents
rHG3a6ec080b521: merge with stable
Branches
Unknown
Tags
Unknown