stack: whitespace
authorSean Farley <sean@farley.io>
Mon, 21 Mar 2016 21:30:14 -0700
changeset 1925 8f8a48a2e97d
parent 1924 eadcc5f8edf6
child 1926 85db8af6b5b5
stack: whitespace
hgext3rd/topic/stack.py
--- a/hgext3rd/topic/stack.py	Mon Mar 21 21:29:35 2016 -0700
+++ b/hgext3rd/topic/stack.py	Mon Mar 21 21:30:14 2016 -0700
@@ -20,14 +20,14 @@
     fm = ui.formatter('topicstack', opts)
     prev = None
     for idx, r in enumerate(getstack(repo, topic)):
-        ctx =  repo[r]
+        ctx = repo[r]
         p1 = ctx.p1()
         if p1.obsolete():
             p1 = repo[_singlesuccessor(repo, p1)]
         if p1.rev() != prev:
             # display the parent of the changeset
             state = 'base'
-            symbol= '_'
+            symbol = '_'
             fm.startitem()
             fm.plain('  ') # XXX 2 is the right padding by chance
             fm.write('topic.stack.state', '%s', symbol,
@@ -49,14 +49,14 @@
             state = 'unstable'
         fm.startitem()
         fm.write('topic.stack.index', 't%d', idx,
-                  label='topic.stack.index topic.stack.index.%s' % state)
+                 label='topic.stack.index topic.stack.index.%s' % state)
         fm.write('topic.stack.state.symbol', '%s', symbol,
                  label='topic.stack.state topic.stack.state.%s' % state)
         fm.plain(' ')
         fm.write('topic.stack.desc', '%s', ctx.description().splitlines()[0],
                  label='topic.stack.desc topic.stack.desc.%s' % state)
         fm.condwrite(state != 'clean', 'topic.stack.state', ' (%s)', state,
-                    label='topic.stack.state topic.stack.state.%s' % state)
+                     label='topic.stack.state topic.stack.state.%s' % state)
         fm.plain('\n')
         fm.end()
         prev = r