changeset 11348:ad0a334eef16

p4: fix long line and bad spacing around %
author Martin Geisler <mg@aragost.com>
date Tue, 15 Jun 2010 11:05:17 +0200
parents 18680b0e20a7
children cf8a9154a362
files hgext/convert/p4.py
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/hgext/convert/p4.py	Mon Jun 14 16:38:36 2010 +0100
+++ b/hgext/convert/p4.py	Tue Jun 15 11:05:17 2010 +0200
@@ -148,7 +148,8 @@
         return self.heads
 
     def getfile(self, name, rev):
-        cmd = 'p4 -G print %s' % util.shellquote("%s#%s"%(self.depotname[name], rev))
+        cmd = 'p4 -G print %s' \
+            % util.shellquote("%s#%s" % (self.depotname[name], rev))
         stdout = util.popen(cmd, mode='rb')
 
         mode = None