equal
deleted
inserted
replaced
196 try: |
196 try: |
197 ui.note(_(b'reading cvs log cache %s\n') % cachefile) |
197 ui.note(_(b'reading cvs log cache %s\n') % cachefile) |
198 oldlog = pickle.load(open(cachefile, b'rb')) |
198 oldlog = pickle.load(open(cachefile, b'rb')) |
199 for e in oldlog: |
199 for e in oldlog: |
200 if not ( |
200 if not ( |
201 hasattr(e, b'branchpoints') |
201 hasattr(e, 'branchpoints') |
202 and hasattr(e, b'commitid') |
202 and hasattr(e, 'commitid') |
203 and hasattr(e, b'mergepoint') |
203 and hasattr(e, 'mergepoint') |
204 ): |
204 ): |
205 ui.status(_(b'ignoring old cache\n')) |
205 ui.status(_(b'ignoring old cache\n')) |
206 oldlog = [] |
206 oldlog = [] |
207 break |
207 break |
208 |
208 |