changeset 1917:ea4675c7a028

init: whitespace fixups
author Sean Farley <sean@farley.io>
date Sat, 19 Mar 2016 14:15:45 -0700
parents 535d975d3886
children a840c5b5bbaf
files hgext3rd/topic/__init__.py
diffstat 1 files changed, 4 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/hgext3rd/topic/__init__.py	Sat Mar 19 14:09:59 2016 -0700
+++ b/hgext3rd/topic/__init__.py	Sat Mar 19 14:15:45 2016 -0700
@@ -93,7 +93,7 @@
     oldbranchcache = branchmap.branchcache
     oldfilename = branchmap._filename
     oldread = branchmap.read
-    oldcaches =  getattr(repo, '_branchcaches', {})
+    oldcaches = getattr(repo, '_branchcaches', {})
     try:
         branchmap.branchcache = topicmap.topiccache
         branchmap._filename = topicmap._filename
@@ -184,7 +184,6 @@
                 peer.__class__ = topicpeer
             return peer
 
-
     repo.__class__ = topicrepo
     if util.safehasattr(repo, 'names'):
         repo.names.addnamespace(namespaces.namespace(
@@ -335,7 +334,7 @@
 def _exporttopic(seq, ctx):
     topic = ctx.topic()
     if topic:
-        return 'EXP-Topic %s'  % topic
+        return 'EXP-Topic %s' % topic
     return None
 
 def _importtopic(repo, patchdata, extra, opts):
@@ -354,7 +353,8 @@
 extensions.wrapfunction(wireproto, 'branchmap', discovery.wireprotobranchmap)
 extensions.wrapfunction(wireproto, '_capabilities', discovery.wireprotocaps)
 extensions.wrapfunction(bundle2, 'handlecheckheads', discovery.handlecheckheads)
-bundle2.handlecheckheads.params = frozenset() # we need a proper wrape b2 part stuff
+# we need a proper wrape b2 part stuff
+bundle2.handlecheckheads.params = frozenset()
 bundle2.parthandlermapping['check:heads'] = bundle2.handlecheckheads
 extensions.wrapfunction(exchange, '_pushb2phases', discovery._pushb2phases)
 extensions.wrapfunction(changegroup.cg1unpacker, 'apply', cgapply)