cvsps: fix indentation
authorIdan Kamara <idankk86@gmail.com>
Wed, 09 Jan 2013 21:11:00 +0200
changeset 18286 762f12b8ebae
parent 18285 9589227657bc
child 18287 eeadc76a7575
cvsps: fix indentation
hgext/convert/cvsps.py
--- 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: