changeset 18286:762f12b8ebae

cvsps: fix indentation
author Idan Kamara <idankk86@gmail.com>
date Wed, 09 Jan 2013 21:11:00 +0200
parents 9589227657bc
children eeadc76a7575
files hgext/convert/cvsps.py
diffstat 1 files changed, 6 insertions(+), 6 deletions(-) [+]
line wrap: on
line diff
--- 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: