[PATCH 1 of 5] mq: fix coding style in qrefresh

Yann E. MORIN yann.morin.1998 at anciens.enib.fr
Mon Aug 10 16:07:02 CDT 2009


# HG changeset patch
# User "Yann E. MORIN" <yann.morin.1998 at anciens.enib.fr>
# Date 1249671191 -7200
# Node ID 2ba25ea4240e6c8916e35c4f09ba766b179efcdc
# Parent  ac02b43bc08ae299bf77109fa71ffe6401d243ee
mq: fix coding style in qrefresh

Add a missing space after a comma in the qrefresh
code that sets/updates the User field.

diff --git a/hgext/mq.py b/hgext/mq.py
--- a/hgext/mq.py
+++ b/hgext/mq.py
@@ -142,7 +142,7 @@
         if not self.updateheader(['From: ', '# User '], user):
             try:
                 patchheaderat = self.comments.index('# HG changeset patch')
-                self.comments.insert(patchheaderat + 1,'# User ' + user)
+                self.comments.insert(patchheaderat + 1, '# User ' + user)
             except ValueError:
                 self.comments = ['From: ' + user, ''] + self.comments
         self.user = user




More information about the Mercurial-devel mailing list