# # # patch "project.cc" # from [584ceb9a5300c22f981e53d4b767ef195f9f2a44] # to [a56b3892d2c9cdaa9a1de14bd420ecafe273b9a9] # ============================================================ --- project.cc 584ceb9a5300c22f981e53d4b767ef195f9f2a44 +++ project.cc a56b3892d2c9cdaa9a1de14bd420ecafe273b9a9 @@ -441,22 +441,27 @@ describe_revision(project_t & project, r description += encode_hexenc(id.inner()(), id.inner().made_from); // append authors and date of this revision - vector tmp; - project.get_revision_certs_by_name(id, author_name, tmp); - for (vector::const_iterator i = tmp.begin(); - i != tmp.end(); ++i) + vector certs; + project.get_revision_certs(id, certs); + string authors; + string dates; + for (vector::const_iterator i = certs.begin(); + i != certs.end(); ++i) { - description += " "; - description += i->value(); + if (i->name == author_cert_name) + { + authors += " "; + authors += i->value(); + } + else if (i->name == date_cert_name) + { + dates += " "; + dates += i->value(); + } } - project.get_revision_certs_by_name(id, date_name, tmp); - for (vector::const_iterator i = tmp.begin(); - i != tmp.end(); ++i) - { - description += " "; - description += i->value(); - } + description += authors; + description += dates; return description; }