From 95624378241fbcd5c8f549fd3a16f1dd9dd78e8c Mon Sep 17 00:00:00 2001 From: "jorendorff@mozilla.com" Date: Thu, 26 Jul 2007 07:56:27 -0400 Subject: [PATCH] mq.py: add -U option to hg qdiff command --- hgext/mq.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/hgext/mq.py b/hgext/mq.py index ab4f3f4057..0a1c98e77c 100644 --- a/hgext/mq.py +++ b/hgext/mq.py @@ -2144,8 +2144,9 @@ cmdtable = { (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')),