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
___
Mercurial-devel mailing list
Mercurial-devel@mercurial-scm.org
https://www.mercurial-scm.org/mailman/listinfo/mercurial-devel