From: Simon Hausmann Date: Wed, 31 Jan 2007 22:03:01 +0000 (+0100) Subject: write tags for each changeset X-Git-Url: http://crossforests.com/gitweb?a=commitdiff_plain;h=60053b01f0de9e75aa671df2b55ff0c1d0dffcd3;p=python%2Ffast-export.git write tags for each changeset --- diff --git a/p4-fast-export.py b/p4-fast-export.py index a1dc540..588554d 100644 --- a/p4-fast-export.py +++ b/p4-fast-export.py @@ -98,12 +98,17 @@ for change in changes: author = description["user"] gitStream.write("commit refs/heads/master\n") + committer = "" if author in users: - gitStream.write("committer %s %s %s\n" % (users[author], epoch, tz)) + committer = "%s %s %s" % (users[author], epoch, tz) else: - gitStream.write("committer %s %s %s\n" % (author, epoch, tz)) + committer = "%s %s %s" % (author, epoch, tz) + + gitStream.write("committer %s\n" % committer) + gitStream.write("data <