martinvonz created this revision.
Herald added a subscriber: mercurial-devel.
Herald added a reviewer: hg-reviewers.
The "opts" are already converted to bytes at the beginning of the
function. Doing it twice results in a crash, which makes
test-uncommit.t fail. The extra call was added recently, in
ff1ff2aae132 <https://phab.mercurial-scm.org/rHGff1ff2aae132ba74687460df075acf32af427ac7> (uncommit: add support to modify the commit message and
date, 2019-09-07). test-uncommit.t passes again after this patch.