This is an archive of the discontinued Mercurial Phabricator instance.

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

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

Details

Summary

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).

Diff Detail

Repository
rHG Mercurial
Branch
default
Lint
No Linters Available
Unit
No Unit Test Coverage

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.