Page MenuHomePhabricator

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

Authored by mjacob on Jul 10 2020, 6:49 AM.



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

Diff Detail

rHG Mercurial
Automatic diff as part of commit; lint not applicable.
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

mjacob created this revision.Jul 10 2020, 6:49 AM
mjacob edited the summary of this revision. (Show Details)Jul 10 2020, 5:55 PM
mjacob updated this revision to Diff 21837.