Show More
@@ -172,12 +172,12 b' def createlog(ui, directory=None, root="' | |||||
172 | ui.note(_('reading cvs log cache %s\n') % cachefile) |
|
172 | ui.note(_('reading cvs log cache %s\n') % cachefile) | |
173 | oldlog = pickle.load(open(cachefile)) |
|
173 | oldlog = pickle.load(open(cachefile)) | |
174 | for e in oldlog: |
|
174 | for e in oldlog: | |
175 | if not (util.safehasattr(e, 'branchpoints') and |
|
175 | if not (util.safehasattr(e, 'branchpoints') and | |
176 | util.safehasattr(e, 'commitid') and |
|
176 | util.safehasattr(e, 'commitid') and | |
177 | util.safehasattr(e, 'mergepoint')): |
|
177 | util.safehasattr(e, 'mergepoint')): | |
178 | ui.status(_('ignoring old cache\n')) |
|
178 | ui.status(_('ignoring old cache\n')) | |
179 | oldlog = [] |
|
179 | oldlog = [] | |
180 | break |
|
180 | break | |
181 |
|
181 | |||
182 | ui.note(_('cache has %d log entries\n') % len(oldlog)) |
|
182 | ui.note(_('cache has %d log entries\n') % len(oldlog)) | |
183 | except Exception, e: |
|
183 | except Exception, e: |
General Comments 0
You need to be logged in to leave comments.
Login now