--- a/hgext/convert/p4.py Mon Apr 13 21:18:53 2009 +0200
+++ b/hgext/convert/p4.py Mon Apr 13 16:15:45 2009 +0200
@@ -45,7 +45,7 @@
def _parse_view(self, path):
"Read changes affecting the path"
- cmd = "p4 -G changes -s submitted '%s'" % path
+ cmd = 'p4 -G changes -s submitted "%s"' % path
stdout = util.popen(cmd)
for d in loaditer(stdout):
c = d.get("change", None)
@@ -64,7 +64,7 @@
else:
views = {"//": ""}
else:
- cmd = "p4 -G client -o '%s'" % path
+ cmd = 'p4 -G client -o "%s"' % path
clientspec = marshal.load(util.popen(cmd))
views = {}
@@ -139,7 +139,7 @@
return self.heads
def getfile(self, name, rev):
- cmd = "p4 -G print '%s#%s'" % (self.depotname[name], rev)
+ cmd = 'p4 -G print "%s#%s"' % (self.depotname[name], rev)
stdout = util.popen(cmd)
mode = None