hgext/extdiff.py
changeset 5147 c80af96943aa
parent 5143 d4fa6bafc43a
child 5245 a1efa71f3ece
--- a/hgext/extdiff.py	Tue Aug 07 15:57:23 2007 +0200
+++ b/hgext/extdiff.py	Wed Aug 08 12:27:20 2007 +0200
@@ -50,7 +50,7 @@
 
 from mercurial.i18n import _
 from mercurial.node import *
-from mercurial import cmdutil, util
+from mercurial import cmdutil, util, commands
 import os, shutil, tempfile
 
 
@@ -181,8 +181,7 @@
      [('p', 'program', '', _('comparison program to run')),
       ('o', 'option', [], _('pass option to comparison program')),
       ('r', 'rev', [], _('revision')),
-      ('I', 'include', [], _('include names matching the given patterns')),
-      ('X', 'exclude', [], _('exclude names matching the given patterns'))],
+     ] + commands.walkopts,
      _('hg extdiff [OPT]... [FILE]...')),
     }