# # # patch "mtn_cvs/mtn_automate.cc" # from [57a69ffd94e6f43d61100cb603b3d8f568183f28] # to [0cf9329c14af551d7bbc727ac624683644784772] # ============================================================ --- mtn_cvs/mtn_automate.cc 57a69ffd94e6f43d61100cb603b3d8f568183f28 +++ mtn_cvs/mtn_automate.cc 0cf9329c14af551d7bbc727ac624683644784772 @@ -365,6 +365,15 @@ std::vector m return result; } +std::vector mtn_automate::get_revision_certs(revision_id const& rid, cert_name const& name) +{ std::vector result=get_revision_certs(rid); + for (std::vector::iterator i=result.begin();i!=result.end();) + { if (i->name!=name()) i=result.erase(i); + else ++i; + } + return result; +} + static void parse_cset(basic_io::parser & parser, mtn_automate::cset & cs)