Show More
@@ -153,7 +153,7 b' def uisetup(ui):' | |||
|
153 | 153 | if not path: path = cmd |
|
154 | 154 | diffopts = ui.config('extdiff', 'opts.' + cmd, '') |
|
155 | 155 | diffopts = diffopts and [diffopts] or [] |
|
156 | def save(cmd, path): | |
|
156 | def save(cmd, path, diffopts): | |
|
157 | 157 | '''use closure to save diff command to use''' |
|
158 | 158 | def mydiff(ui, repo, *pats, **opts): |
|
159 | 159 | return dodiff(ui, repo, path, diffopts, pats, opts) |
@@ -170,6 +170,6 b' def uisetup(ui):' | |||
|
170 | 170 | 'path': path, |
|
171 | 171 | } |
|
172 | 172 | return mydiff |
|
173 | cmdtable[cmd] = (save(cmd, path), | |
|
173 | cmdtable[cmd] = (save(cmd, path, diffopts), | |
|
174 | 174 | cmdtable['extdiff'][1][1:], |
|
175 | 175 | _('hg %s [OPT]... [FILE]...') % cmd) |
General Comments 0
You need to be logged in to leave comments.
Login now