Set git fast-import marks for every imported change for future use.
Signed-off-by: Simon Hausmann <simon@lst.de>
Simon Hausmann committed
Feb 12, 2007 at 21:56 UTC
77083daac72612ab8ded6cba82a72924f3a867b4
1 file changed
+1
contrib/fast-import/p4-fast-export.py
+1
@@ -154,6 +154,7 @@ def commit(details, files, branch, branchPrefix):
154
author = details["user"]
155
156
gitStream.write("commit %s\n" % branch)
157
+ gitStream.write("mark :%s\n" % details["change"])
158
committer = ""
159
if author in users:
160
committer = "%s %s %s" % (users[author], epoch, tz)