/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 inv-fulltext option and improve speed

Show diffs side-by-side

added added

removed removed

Lines of Context:
136
136
                    Option('count', type=int,
137
137
                        help="Import this many revisions then exit.",
138
138
                        ),
 
139
                    Option('inv-fulltext', type=int,
 
140
                        help="Inventory fulltext every N revisions.",
 
141
                        ),
139
142
                    Option('inv-cache', type=int,
140
143
                        help="Number of inventories to cache.",
141
144
                        ),
145
148
                     ]
146
149
    aliases = []
147
150
    def run(self, source, verbose=False, info=None, trees=False,
148
 
        checkpoint=10000, count=-1, inv_cache=10, experimental=True):
 
151
        checkpoint=10000, count=-1, inv_fulltext=200, inv_cache=10,
 
152
        experimental=True):
149
153
        from bzrlib import bzrdir
150
154
        from bzrlib.plugins.fastimport.processors import generic_processor
151
155
        control, relpath = bzrdir.BzrDir.open_containing('.')
154
158
            'trees': trees,
155
159
            'checkpoint': checkpoint,
156
160
            'count': count,
 
161
            'inv-fulltext': inv_fulltext,
157
162
            'inv-cache': inv_cache,
158
163
            'experimental': experimental,
159
164
            }