summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: d942919)
raw | patch | inline | side by side (parent: d942919)
author | Anand Kumria <wildfire@progsoc.org> | |
Thu, 14 Aug 2008 22:40:39 +0000 (23:40 +0100) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Fri, 15 Aug 2008 01:14:24 +0000 (18:14 -0700) |
Signed-off-by: Anand Kumria <wildfire@progsoc.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
contrib/fast-import/git-p4 | patch | blob | history |
index 3e9df70f29dcfa16ab263d5ace42d8d6acf9aecd..12fa9d3fd81ce83f53f36178bc3111edddfd2173 100755 (executable)
def getP4OpenedType(file):
# Returns the perforce file type for the given file.
- result = read_pipe("p4 opened %s" % file)
+ result = p4_read_pipe("opened %s" % file)
match = re.match(".*\((.+)\)\r?$", result)
if match:
return match.group(1)
submitTemplate = self.prepareLogMessage(template, logMessage)
if os.environ.has_key("P4DIFF"):
del(os.environ["P4DIFF"])
- diff = read_pipe("p4 diff -du ...")
+ diff = p4_read_pipe("diff -du ...")
newdiff = ""
for newFile in filesToAdd:
if self.isWindows:
submitTemplate = submitTemplate.replace("\r\n", "\n")
- write_pipe("p4 submit -i", submitTemplate)
+ p4_write_pipe("submit -i", submitTemplate)
else:
fileName = "submit.txt"
file = open(fileName, "w+")