##// END OF EJS Templates
convert/cvs: add an option to disable remote log caching...
Patrick Mezard -
r8169:6584953b default
parent child Browse files
Show More
@@ -123,6 +123,9 b' def convert(ui, src, dest=None, revmapfi'
123 123 Internal cvsps is selected by setting
124 124 --config convert.cvsps=builtin
125 125 and has a few more configurable options:
126 --config convert.cvsps.cache=True (boolean)
127 Set to False to disable remote log caching, for testing and
128 debugging purposes.
126 129 --config convert.cvsps.fuzz=60 (integer)
127 130 Specify the maximum time (in seconds) that is allowed
128 131 between commits with identical user and log message in a
@@ -67,7 +67,10 b' class convert_cvs(converter_source):'
67 67 # builtin cvsps code
68 68 self.ui.status(_('using builtin cvsps\n'))
69 69
70 db = cvsps.createlog(self.ui, cache='update')
70 cache = 'update'
71 if not self.ui.configbool('convert', 'cvsps.cache', True):
72 cache = None
73 db = cvsps.createlog(self.ui, cache=cache)
71 74 db = cvsps.createchangeset(self.ui, db,
72 75 fuzz=int(self.ui.config('convert', 'cvsps.fuzz', 60)),
73 76 mergeto=self.ui.config('convert', 'cvsps.mergeto', None),
@@ -14,6 +14,7 b' echo "convert = " >> $HGRCPATH'
14 14 echo "graphlog = " >> $HGRCPATH
15 15 echo "[convert]" >> $HGRCPATH
16 16 echo "cvsps=builtin" >> $HGRCPATH
17 echo "cvsps.cache=0" >> $HGRCPATH
17 18
18 19 echo % create cvs repository
19 20 mkdir cvsrepo
@@ -108,6 +108,9 b' convert a foreign SCM repository to a Me'
108 108 Internal cvsps is selected by setting
109 109 --config convert.cvsps=builtin
110 110 and has a few more configurable options:
111 --config convert.cvsps.cache=True (boolean)
112 Set to False to disable remote log caching, for testing and
113 debugging purposes.
111 114 --config convert.cvsps.fuzz=60 (integer)
112 115 Specify the maximum time (in seconds) that is allowed
113 116 between commits with identical user and log message in a
General Comments 0
You need to be logged in to leave comments. Login now