Show More
@@ -28,6 +28,13 b' command = registrar.command(cmdtable)' | |||||
28 | # leave the attribute unspecified. |
|
28 | # leave the attribute unspecified. | |
29 | testedwith = 'ships-with-hg-core' |
|
29 | testedwith = 'ships-with-hg-core' | |
30 |
|
30 | |||
|
31 | configtable = {} | |||
|
32 | configitem = registrar.configitem(configtable) | |||
|
33 | ||||
|
34 | configitem('convert', 'cvsps.cache', | |||
|
35 | default=True, | |||
|
36 | ) | |||
|
37 | ||||
31 | # Commands definition was moved elsewhere to ease demandload job. |
|
38 | # Commands definition was moved elsewhere to ease demandload job. | |
32 |
|
39 | |||
33 | @command('convert', |
|
40 | @command('convert', |
@@ -76,7 +76,7 b' class convert_cvs(converter_source):' | |||||
76 | id = None |
|
76 | id = None | |
77 |
|
77 | |||
78 | cache = 'update' |
|
78 | cache = 'update' | |
79 |
if not self.ui.configbool('convert', 'cvsps.cache' |
|
79 | if not self.ui.configbool('convert', 'cvsps.cache'): | |
80 | cache = None |
|
80 | cache = None | |
81 | db = cvsps.createlog(self.ui, cache=cache) |
|
81 | db = cvsps.createlog(self.ui, cache=cache) | |
82 | db = cvsps.createchangeset(self.ui, db, |
|
82 | db = cvsps.createchangeset(self.ui, db, |
General Comments 0
You need to be logged in to leave comments.
Login now