[PATCH] cvsps: fix indentation

Idan Kamara idankk86 at gmail.com
Wed Jan 9 13:12:11 CST 2013


# HG changeset patch
# User Idan Kamara <idankk86 at gmail.com>
# Date 1357758660 -7200
# Node ID 2ab2adf3a06c88939d808daacd22458053e92e2c
# Parent  48deb483a8f83ee1cddf710ac95e14a220abdf31
cvsps: fix indentation

diff --git a/hgext/convert/cvsps.py b/hgext/convert/cvsps.py
--- a/hgext/convert/cvsps.py
+++ b/hgext/convert/cvsps.py
@@ -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:


More information about the Mercurial-devel mailing list