Code

Changed the format of the imported log message slightly, so that it's easier to parse...
authorSimon Hausmann <simon@lst.de>
Thu, 22 Mar 2007 19:27:41 +0000 (20:27 +0100)
committerSimon Hausmann <simon@lst.de>
Thu, 22 Mar 2007 19:27:41 +0000 (20:27 +0100)
Signed-off-by: Simon Hausmann <simon@lst.de>
contrib/fast-import/git-p4

index 06858844e591f93a1fcf64a12e37b6e0fb4d5401..a5b6d94d1a162f8cbf4e0c1d9efa69e731cfb060 100755 (executable)
@@ -506,7 +506,7 @@ class GitSync(Command):
 
         self.gitStream.write("data <<EOT\n")
         self.gitStream.write(details["desc"])
-        self.gitStream.write("\n[ imported from %s; change %s ]\n" % (branchPrefix, details["change"]))
+        self.gitStream.write("\n[git-p4: depot-path: \"%s\"; change: %s]\n" % (branchPrefix, details["change"]))
         self.gitStream.write("EOT\n\n")
 
         if len(parent) > 0: