hgext/convert/cvs.py
changeset 8169 6584953be356
parent 8048 d22432bdcba1
child 8209 a1a5a57efe90
--- a/hgext/convert/cvs.py	Sun Apr 26 14:49:49 2009 +0200
+++ b/hgext/convert/cvs.py	Sun Apr 26 16:30:37 2009 +0200
@@ -67,7 +67,10 @@
                 # builtin cvsps code
                 self.ui.status(_('using builtin cvsps\n'))
 
-                db = cvsps.createlog(self.ui, cache='update')
+                cache = 'update'
+                if not self.ui.configbool('convert', 'cvsps.cache', True):
+                    cache = None
+                db = cvsps.createlog(self.ui, cache=cache)
                 db = cvsps.createchangeset(self.ui, db,
                       fuzz=int(self.ui.config('convert', 'cvsps.fuzz', 60)),
                       mergeto=self.ui.config('convert', 'cvsps.mergeto', None),