Patchwork cvsps: fix indentation

login
register
mail settings
Submitter Idan Kamara
Date Jan. 9, 2013, 7:12 p.m.
Message ID <2ab2adf3a06c88939d80.1357758731@idan>
Download mbox | patch
Permalink /patch/513/
State Accepted
Commit 762f12b8ebaec770890770c328e6de7de5cca746
Headers show

Comments

Idan Kamara - Jan. 9, 2013, 7:12 p.m.
# HG changeset patch
# User Idan Kamara <idankk86@gmail.com>
# Date 1357758660 -7200
# Node ID 2ab2adf3a06c88939d808daacd22458053e92e2c
# Parent  48deb483a8f83ee1cddf710ac95e14a220abdf31
cvsps: fix indentation
Bryan O'Sullivan - Jan. 9, 2013, 9:21 p.m.
On Wed, Jan 9, 2013 at 11:12 AM, Idan Kamara <idankk86@gmail.com> wrote:

> cvsps: fix indentation
>

Pushed to crew, thanks.

Patch

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: