remote-bzr: include authors field in pushed commits
[gitweb.git] / contrib / remote-helpers / git-remote-bzr
index 7f354c88e70664fc049273e8487406827c965602..6ca1e975c3e01f1b414d9b186f97492e5f9e44c6 100755 (executable)
@@ -618,10 +618,12 @@ def parse_commit(parser):
         files[path] = f
 
     committer, date, tz = committer
+    author, _, _ = author
     parents = [mark_to_rev(p) for p in parents]
     revid = bzrlib.generate_ids.gen_revision_id(committer, date)
     props = {}
     props['branch-nick'] = branch.nick
+    props['authors'] = author
 
     mtree = CustomTree(branch, revid, parents, files)
     changes = mtree.iter_changes()