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