summaryrefslogtreecommitdiff
path: root/contrib
diff options
context:
space:
mode:
authorLibravatar Simon Hausmann <simon@lst.de>2007-02-12 21:56:46 +0100
committerLibravatar Simon Hausmann <simon@lst.de>2007-02-12 21:56:46 +0100
commit77083daac72612ab8ded6cba82a72924f3a867b4 (patch)
tree1cbc8f073e730fee904d47ef295c49341095eadb /contrib
parentAfter marking a p4 branch as merged don't ever merge it in git again. (diff)
downloadtgif-77083daac72612ab8ded6cba82a72924f3a867b4.tar.xz
Set git fast-import marks for every imported change for future use.
Signed-off-by: Simon Hausmann <simon@lst.de>
Diffstat (limited to 'contrib')
-rwxr-xr-xcontrib/fast-import/p4-fast-export.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/contrib/fast-import/p4-fast-export.py b/contrib/fast-import/p4-fast-export.py
index 5838ca3c68..488533b07e 100755
--- a/contrib/fast-import/p4-fast-export.py
+++ b/contrib/fast-import/p4-fast-export.py
@@ -154,6 +154,7 @@ def commit(details, files, branch, branchPrefix):
author = details["user"]
gitStream.write("commit %s\n" % branch)
+ gitStream.write("mark :%s\n" % details["change"])
committer = ""
if author in users:
committer = "%s %s %s" % (users[author], epoch, tz)