hgext/extdiff.py
changeset 9957 ad44e1f8b3f3
parent 9945 5e4ef56b4d42
parent 9956 6045a8c4dbbc
child 10264 d6512b3e9ac0
--- a/hgext/extdiff.py	Mon Nov 30 16:53:05 2009 +0100
+++ b/hgext/extdiff.py	Mon Nov 30 19:52:03 2009 +0100
@@ -254,7 +254,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)