D1323: py3: handle keyword arguments in hgext/uncommit.py
pulkit (Pulkit Goyal)
phabricator at mercurial-scm.org
Sat Nov 4 09:27:50 UTC 2017
pulkit created this revision.
Herald added a subscriber: mercurial-devel.
Herald added a reviewer: hg-reviewers.
REPOSITORY
rHG Mercurial
REVISION DETAIL
https://phab.mercurial-scm.org/D1323
AFFECTED FILES
hgext/uncommit.py
CHANGE DETAILS
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]
To: pulkit, #hg-reviewers
Cc: mercurial-devel
More information about the Mercurial-devel
mailing list