comparison hgext/convert/p4.py @ 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 4f8067c94729
comparison
equal deleted inserted replaced
11347:18680b0e20a7 11348:ad0a334eef16
146 146
147 def getheads(self): 147 def getheads(self):
148 return self.heads 148 return self.heads
149 149
150 def getfile(self, name, rev): 150 def getfile(self, name, rev):
151 cmd = 'p4 -G print %s' % util.shellquote("%s#%s"%(self.depotname[name], rev)) 151 cmd = 'p4 -G print %s' \
152 % util.shellquote("%s#%s" % (self.depotname[name], rev))
152 stdout = util.popen(cmd, mode='rb') 153 stdout = util.popen(cmd, mode='rb')
153 154
154 mode = None 155 mode = None
155 contents = "" 156 contents = ""
156 keywords = None 157 keywords = None