Patchwork D1323: py3: handle keyword arguments in hgext/uncommit.py

login
register
mail settings
Submitter phabricator
Date Nov. 9, 2017, 1:15 p.m.
Message ID <c2da925993fa8bf3dfca4099128d6447@localhost.localdomain>
Download mbox | patch
Permalink /patch/25442/
State Not Applicable
Headers show

Comments

phabricator - Nov. 9, 2017, 1:15 p.m.
This revision was automatically updated to reflect the committed changes.
Closed by commit rHG3ebae3ec4664: py3: handle keyword arguments in hgext/uncommit.py (authored by pulkit, committed by ).

REPOSITORY
  rHG Mercurial

CHANGES SINCE LAST UPDATE
  https://phab.mercurial-scm.org/D1323?vs=3286&id=3367

REVISION DETAIL
  https://phab.mercurial-scm.org/D1323

AFFECTED FILES
  hgext/uncommit.py

CHANGE DETAILS




To: pulkit, #hg-reviewers, yuja
Cc: mercurial-devel

Patch

diff --git a/hgext/uncommit.py b/hgext/uncommit.py
--- a/hgext/uncommit.py
+++ b/hgext/uncommit.py
@@ -29,6 +29,7 @@ 
     error,
     node,
     obsolete,
+    pycompat,
     registrar,
     scmutil,
 )
@@ -152,6 +153,7 @@ 
     deleted in the changeset will be left unchanged, and so will remain
     modified in the working directory.
     """
+    opts = pycompat.byteskwargs(opts)
 
     with repo.wlock(), repo.lock():
         wctx = repo[None]