mq: codingstyle
authorBenoit Boissinot <benoit.boissinot@ens-lyon.org>
Sun, 06 Aug 2006 17:24:13 +0200
changeset 2796 4c39568007f9
parent 2795 e5e23cae6e09
child 2797 a3c6e7888abf
mq: codingstyle
hgext/mq.py
--- a/hgext/mq.py	Sun Aug 06 17:20:51 2006 +0200
+++ b/hgext/mq.py	Sun Aug 06 17:24:13 2006 +0200
@@ -304,7 +304,7 @@
                 self.ui.warn(l + '\n')
 
         return (not f.close(), files, fuzz)
-        
+
     def apply(self, repo, series, list=False, update_status=True,
               strict=False, patchdir=None, merge=None, wlock=None):
         # TODO unify with commands.py
@@ -1285,7 +1285,7 @@
     If neither is specified, the patch header is empty and the
     commit message is 'New patch: PATCH'"""
     q = repo.mq
-    message=commands.logmessage(**opts)
+    message = commands.logmessage(**opts)
     q.new(repo, patch, msg=message, force=opts['force'])
     q.save_dirty()
     return 0
@@ -1293,7 +1293,7 @@
 def refresh(ui, repo, **opts):
     """update the current patch"""
     q = repo.mq
-    message=commands.logmessage(**opts)
+    message = commands.logmessage(**opts)
     if opts['edit']:
         if message:
             raise util.Abort(_('option "-e" incompatible with "-m" or "-l"'))
@@ -1330,7 +1330,7 @@
     if not q.check_toppatch(repo):
         raise util.Abort(_('No patches applied\n'))
 
-    message=commands.logmessage(**opts)
+    message = commands.logmessage(**opts)
     if opts['edit']:
         if message:
             raise util.Abort(_('option "-e" incompatible with "-m" or "-l"'))
@@ -1507,7 +1507,7 @@
 def save(ui, repo, **opts):
     """save current queue state"""
     q = repo.mq
-    message=commands.logmessage(**opts)
+    message = commands.logmessage(**opts)
     ret = q.save(repo, msg=message)
     if ret:
         return ret