D2547: purge: apply byteskwargs to opts, fixing all python3 issues here
durin42 (Augie Fackler)
phabricator at mercurial-scm.org
Fri Mar 2 11:18:47 EST 2018
This revision was automatically updated to reflect the committed changes.
Closed by commit rHG5a3f8da663e5: purge: apply byteskwargs to opts, fixing all python3 issues here (authored by durin42, committed by ).
REPOSITORY
rHG Mercurial
CHANGES SINCE LAST UPDATE
https://phab.mercurial-scm.org/D2547?vs=6342&id=6360
REVISION DETAIL
https://phab.mercurial-scm.org/D2547
AFFECTED FILES
hgext/purge.py
CHANGE DETAILS
diff --git a/hgext/purge.py b/hgext/purge.py
--- a/hgext/purge.py
+++ b/hgext/purge.py
@@ -31,6 +31,7 @@
from mercurial import (
cmdutil,
error,
+ pycompat,
registrar,
scmutil,
util,
@@ -84,6 +85,7 @@
list of files that this program would delete, use the --print
option.
'''
+ opts = pycompat.byteskwargs(opts)
act = not opts.get('print')
eol = '\n'
if opts.get('print0'):
To: durin42, #hg-reviewers, pulkit
Cc: mercurial-devel
More information about the Mercurial-devel
mailing list