equal
deleted
inserted
replaced
74 seriesopts = [('s', 'summary', None, _('print first line of patch header'))] |
74 seriesopts = [('s', 'summary', None, _('print first line of patch header'))] |
75 |
75 |
76 cmdtable = {} |
76 cmdtable = {} |
77 command = cmdutil.command(cmdtable) |
77 command = cmdutil.command(cmdtable) |
78 testedwith = 'internal' |
78 testedwith = 'internal' |
|
79 |
|
80 # force load strip extension formely included in mq and import some utility |
|
81 try: |
|
82 stripext = extensions.find('strip') |
|
83 except KeyError: |
|
84 # note: load is lazy so we could avoid the try-except, |
|
85 # but I (marmoute) prefer this explicite code. |
|
86 class dummyui(object): |
|
87 def debug(self, msg): |
|
88 pass |
|
89 stripext = extensions.load(dummyui(), 'strip', '') |
79 |
90 |
80 # Patch names looks like unix-file names. |
91 # Patch names looks like unix-file names. |
81 # They must be joinable with queue directory and result in the patch path. |
92 # They must be joinable with queue directory and result in the patch path. |
82 normname = util.normpath |
93 normname = util.normpath |
83 |
94 |