summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: a43ff00)
raw | patch | inline | side by side (parent: a43ff00)
author | Simon Hausmann <simon@lst.de> | |
Mon, 11 Jun 2007 08:01:58 +0000 (10:01 +0200) | ||
committer | Simon Hausmann <simon@lst.de> | |
Mon, 11 Jun 2007 08:01:58 +0000 (10:01 +0200) |
options
Signed-off-by: Simon Hausmann <simon@lst.de>
Signed-off-by: Simon Hausmann <simon@lst.de>
contrib/fast-import/git-p4 | patch | blob | history |
index ff56181310988de13f5eef0232c255bdcc4d1910..e380c149b48bb72ccbc28da9f97be7127e29874a 100755 (executable)
self.gitStream.write("data <<EOT\n")
self.gitStream.write(details["desc"])
- self.gitStream.write("\n[git-p4: depot-paths = \"%s\": change = %s: "
- "options = %s]\n"
- % (','.join (branchPrefixes), details["change"],
- details['options']
- ))
- self.gitStream.write("EOT\n\n")
+ self.gitStream.write("\n[git-p4: depot-paths = \"%s\": change = %s"
+ % (','.join (branchPrefixes), details["change"]))
+ if len(details['options']) > 0:
+ self.gitStream.write(": options = %s" % details['options'])
+ self.gitStream.write("]\nEOT\n\n")
if len(parent) > 0:
if self.verbose: