Show More
@@ -173,11 +173,11 b' def extdiff(ui, repo, *pats, **opts):' | |||
|
173 | 173 | that revision is compared to the working directory, and, when no |
|
174 | 174 | revisions are specified, the working directory files are compared |
|
175 | 175 | to its parent.''' |
|
176 |
program = opts |
|
|
177 | if opts['program']: | |
|
178 | option = opts['option'] | |
|
179 | else: | |
|
180 |
option = |
|
|
176 | program = opts.get('program') | |
|
177 | option = opts.get('option') | |
|
178 | if not program: | |
|
179 | program = 'diff' | |
|
180 | option = option or ['-Npru'] | |
|
181 | 181 | return dodiff(ui, repo, program, option, pats, opts) |
|
182 | 182 | |
|
183 | 183 | cmdtable = { |
General Comments 0
You need to be logged in to leave comments.
Login now