/brz/remove-bazaar

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/brz/remove-bazaar

« back to all changes in this revision

Viewing changes to __init__.py

Merge Pieter de Bie's export-fixes branch

Show diffs side-by-side

added added

removed removed

Lines of Context:
172
172
                    Option('experimental',
173
173
                        help="Enable experimental features.",
174
174
                        ),
 
175
                    Option('import-marks', type=str,
 
176
                        help="Import marks from file."),
 
177
                    Option('export-marks', type=str,
 
178
                        help="Export marks to file."),
175
179
                     ]
176
180
    aliases = []
177
181
    def run(self, source, verbose=False, info=None, trees=False,
178
182
        checkpoint=10000, count=-1, inv_fulltext=200, inv_cache=10,
179
 
        experimental=True):
 
183
        experimental=True, import_marks=None, export_marks=None):
180
184
        from bzrlib import bzrdir
181
185
        from bzrlib.plugins.fastimport.processors import generic_processor
182
186
        control, relpath = bzrdir.BzrDir.open_containing('.')
188
192
            'inv-fulltext': inv_fulltext,
189
193
            'inv-cache': inv_cache,
190
194
            'experimental': experimental,
 
195
            'import-marks': import_marks,
 
196
            'export-marks': export_marks,
191
197
            }
192
198
        return _run(source, generic_processor.GenericProcessor, control,
193
199
            params, verbose)