changeset 6561:c242fc76958e

mq: fix qdiff -U (it apparently never really worked)
author Jason Orendorff <jorendorff@mozilla.com>
date Fri, 18 Apr 2008 17:25:10 +0200
parents 90ec0e8fa4d0
children 090f2145df7d 30d3d531e11a
files hgext/mq.py
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/hgext/mq.py	Wed Apr 16 15:26:37 2008 -0700
+++ b/hgext/mq.py	Fri Apr 18 17:25:10 2008 +0200
@@ -937,6 +937,8 @@
         qp = self.qparents(repo, top)
         if opts.get('git'):
             self.diffopts().git = True
+        if opts.get('unified') is not None:
+            self.diffopts().context = opts['unified']
         self.printdiff(repo, qp, files=pats, opts=opts)
 
     def refresh(self, repo, pats=None, **opts):