changeset 6041:dd714452c26e

mq.py: add -U option to hg qdiff command
author jorendorff@mozilla.com
date Thu, 26 Jul 2007 07:56:27 -0400
parents 1d0bfa4c75c0
children 2da5b19a6460
files hgext/mq.py
diffstat 1 files changed, 3 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/hgext/mq.py	Thu Jul 26 07:56:04 2007 -0400
+++ b/hgext/mq.py	Thu Jul 26 07:56:27 2007 -0400
@@ -2144,8 +2144,9 @@
         (diff,
          [('g', 'git', None, _('use git extended diff format')),
           ('I', 'include', [], _('include names matching the given patterns')),
-          ('X', 'exclude', [], _('exclude names matching the given patterns'))],
-         _('hg qdiff [-I] [-X] [-g] [FILE]...')),
+          ('X', 'exclude', [], _('exclude names matching the given patterns')),
+          ('U', 'unified', 3, _('number of lines of context to show'))],
+         _('hg qdiff [-I] [-X] [-U NUM] [-g] [FILE]...')),
     "qdelete|qremove|qrm":
         (delete,
          [('k', 'keep', None, _('keep patch file')),