# HG changeset patch # User Jason Orendorff # Date 1208532310 -7200 # Node ID c242fc76958eb41b776ac11c0e41360df0fa499b # Parent 90ec0e8fa4d0381ab6cfd13bbe353538b2e98fbc mq: fix qdiff -U (it apparently never really worked) diff -r 90ec0e8fa4d0 -r c242fc76958e hgext/mq.py --- 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):