##// END OF EJS Templates
purge: apply byteskwargs to opts, fixing all python3 issues here...
Augie Fackler -
r36589:5a3f8da6 default
parent child Browse files
Show More
@@ -31,6 +31,7 b' from mercurial.i18n import _'
31 31 from mercurial import (
32 32 cmdutil,
33 33 error,
34 pycompat,
34 35 registrar,
35 36 scmutil,
36 37 util,
@@ -84,6 +85,7 b' def purge(ui, repo, *dirs, **opts):'
84 85 list of files that this program would delete, use the --print
85 86 option.
86 87 '''
88 opts = pycompat.byteskwargs(opts)
87 89 act = not opts.get('print')
88 90 eol = '\n'
89 91 if opts.get('print0'):
General Comments 0
You need to be logged in to leave comments. Login now