--- a/hgext/convert/cvsps.py Wed Jan 09 13:16:54 2013 -0800
+++ b/hgext/convert/cvsps.py Wed Jan 09 21:11:00 2013 +0200
@@ -172,12 +172,12 @@
ui.note(_('reading cvs log cache %s\n') % cachefile)
oldlog = pickle.load(open(cachefile))
for e in oldlog:
- if not (util.safehasattr(e, 'branchpoints') and
- util.safehasattr(e, 'commitid') and
- util.safehasattr(e, 'mergepoint')):
- ui.status(_('ignoring old cache\n'))
- oldlog = []
- break
+ if not (util.safehasattr(e, 'branchpoints') and
+ util.safehasattr(e, 'commitid') and
+ util.safehasattr(e, 'mergepoint')):
+ ui.status(_('ignoring old cache\n'))
+ oldlog = []
+ break
ui.note(_('cache has %d log entries\n') % len(oldlog))
except Exception, e: