/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

add option for enabling experimental stuff

Show diffs side-by-side

added added

removed removed

Lines of Context:
122
122
                    Option('inv-cache', type=int,
123
123
                        help="Number of inventories to cache.",
124
124
                        ),
 
125
                    Option('experimental',
 
126
                        help="Enable experimental features.",
 
127
                        ),
125
128
                     ]
126
129
    aliases = []
127
130
    def run(self, source, verbose=False, info=None, trees=False,
128
 
        checkpoint=10000, count=-1, inv_cache=10):
 
131
        checkpoint=10000, count=-1, inv_cache=10, experimental=False):
129
132
        from bzrlib import bzrdir
130
133
        from bzrlib.plugins.fastimport.processors import generic_processor
131
134
        control, relpath = bzrdir.BzrDir.open_containing('.')
135
138
            'checkpoint': checkpoint,
136
139
            'count': count,
137
140
            'inv-cache': inv_cache,
 
141
            'experimental': experimental,
138
142
            }
139
143
        return _run(source, generic_processor.GenericProcessor, control,
140
144
            params, verbose)