diff mercurial/patch.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 4106dde15aed
children 2da5b19a6460
line wrap: on
line diff
--- a/mercurial/patch.py	Wed Jul 25 15:58:10 2007 +0900
+++ b/mercurial/patch.py	Thu Jul 26 07:56:04 2007 -0400
@@ -1011,7 +1011,8 @@
         showfunc=get('show_function', 'showfunc'),
         ignorews=get('ignore_all_space', 'ignorews'),
         ignorewsamount=get('ignore_space_change', 'ignorewsamount'),
-        ignoreblanklines=get('ignore_blank_lines', 'ignoreblanklines'))
+        ignoreblanklines=get('ignore_blank_lines', 'ignoreblanklines'),
+        context=get('unified'))
 
 def updatedir(ui, repo, patches):
     '''Update dirstate after patch application according to metadata'''