Show More
@@ -31,6 +31,7 b' from mercurial.i18n import _' | |||||
31 | from mercurial import ( |
|
31 | from mercurial import ( | |
32 | cmdutil, |
|
32 | cmdutil, | |
33 | error, |
|
33 | error, | |
|
34 | pycompat, | |||
34 | registrar, |
|
35 | registrar, | |
35 | scmutil, |
|
36 | scmutil, | |
36 | util, |
|
37 | util, | |
@@ -84,6 +85,7 b' def purge(ui, repo, *dirs, **opts):' | |||||
84 | list of files that this program would delete, use the --print |
|
85 | list of files that this program would delete, use the --print | |
85 | option. |
|
86 | option. | |
86 | ''' |
|
87 | ''' | |
|
88 | opts = pycompat.byteskwargs(opts) | |||
87 | act = not opts.get('print') |
|
89 | act = not opts.get('print') | |
88 | eol = '\n' |
|
90 | eol = '\n' | |
89 | if opts.get('print0'): |
|
91 | if opts.get('print0'): |
General Comments 0
You need to be logged in to leave comments.
Login now