diff mercurial/commands.py @ 6040:1d0bfa4c75c0

commands.py, patch.py: add -U option to hg diff command
author jorendorff@mozilla.com
date Thu, 26 Jul 2007 07:56:04 -0400
parents cf67b5f3743d
children 2da5b19a6460
line wrap: on
line diff
--- a/mercurial/commands.py	Wed Jul 25 15:58:10 2007 +0900
+++ b/mercurial/commands.py	Thu Jul 26 07:56:04 2007 -0400
@@ -2916,6 +2916,8 @@
            _('ignore changes in the amount of white space')),
           ('B', 'ignore-blank-lines', None,
            _('ignore changes whose lines are all blank')),
+          ('U', 'unified', 3,
+           _('number of lines of context to show'))
          ] + walkopts,
          _('hg diff [OPTION]... [-r REV1 [-r REV2]] [FILE]...')),
     "^export":