mq.py: add -U option to hg qdiff command
authorjorendorff@mozilla.com
Thu, 26 Jul 2007 07:56:27 -0400
changeset 6041 dd714452c26e
parent 6040 1d0bfa4c75c0
child 6042 2da5b19a6460
mq.py: add -U option to hg qdiff command
hgext/mq.py
--- 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')),