From patchwork Wed Sep 18 13:24:46 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: D6864: py3: don't double-convert "opts" to bytes From: phabricator X-Patchwork-Id: 41715 Message-Id: <2494a86635820919b54085c790454245@localhost.localdomain> To: Phabricator Cc: mercurial-devel@mercurial-scm.org Date: Wed, 18 Sep 2019 13:24:46 +0000 Closed by commit rHG44be33cf7a57: py3: don't double-convert "opts" to bytes (authored by martinvonz). This revision was automatically updated to reflect the committed changes. REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D6864?vs=16575&id=16585 CHANGES SINCE LAST ACTION https://phab.mercurial-scm.org/D6864/new/ REVISION DETAIL https://phab.mercurial-scm.org/D6864 AFFECTED FILES hgext/uncommit.py CHANGE DETAILS To: martinvonz, #hg-reviewers, pulkit Cc: mercurial-devel diff --git a/hgext/uncommit.py b/hgext/uncommit.py --- a/hgext/uncommit.py +++ b/hgext/uncommit.py @@ -177,7 +177,7 @@ with repo.transaction('uncommit'): if not (opts[b'message'] or opts[b'logfile']): opts[b'message'] = old.description() - message = cmdutil.logmessage(ui, pycompat.byteskwargs(opts)) + message = cmdutil.logmessage(ui, opts) keepcommit = pats if not keepcommit: