hgext/extdiff.py
branchstable
changeset 9956 6045a8c4dbbc
parent 9941 11d7ee94b56a
child 9957 ad44e1f8b3f3
child 10263 25e572394f5c
--- a/hgext/extdiff.py	Mon Nov 30 14:58:52 2009 +0100
+++ b/hgext/extdiff.py	Mon Nov 30 19:37:38 2009 +0100
@@ -253,7 +253,8 @@
         def save(cmd, path, diffopts):
             '''use closure to save diff command to use'''
             def mydiff(ui, repo, *pats, **opts):
-                return dodiff(ui, repo, path, diffopts, pats, opts)
+                return dodiff(ui, repo, path, diffopts + opts['option'],
+                              pats, opts)
             doc = _('''\
 use %(path)s to diff repository (or selected files)