D8725: rebase: remove now unnecessary logic to allow empty commit when branch changes
mjacob created this revision.
Herald added a reviewer: martinvonz.
Herald added a reviewer: hg-reviewers.
Herald added a subscriber: mercurial-patches.
This was a workaround for a bug in the empty commit check in repo.commit(),
where the the parent branch name was incorrectly compared with the wdir branch
name instead of the branch name passed via `extra`.