# # patch "work.cc" # from [f0c0d446705cf51a38425f53d3c954bd9e097b63] # to [493d24e8cf99f2b1a8aee4fba24c90ff431b99e9] # # patch "work.hh" # from [58c2d5cdee7232487fc8f196d74641d31e855ad6] # to [feb30004fbb3fa070deea09ab603cd73c45d2079] # ======================================================================== --- work.cc f0c0d446705cf51a38425f53d3c954bd9e097b63 +++ work.cc 493d24e8cf99f2b1a8aee4fba24c90ff431b99e9 @@ -433,6 +433,15 @@ get_base_revision(app, rid, ros, mm); } +void +get_current_roster(roster_t & ros, node_id_source & nis, app_state & app) +{ + get_base_roster(app, ros); + cset cs; + get_work_cset(cs); + editable_roster_base er(ros, nis); + cs.apply_to(es); +} // user log file ======================================================================== --- work.hh 58c2d5cdee7232487fc8f196d74641d31e855ad6 +++ work.hh feb30004fbb3fa070deea09ab603cd73c45d2079 @@ -105,6 +105,8 @@ roster_t & ros); void get_base_roster(app_state & app, roster_t & ros); +void get_current_roster(roster_t & ros, node_id_source & nis, app_state & app); + // the "user log" is a file the user can edit as they program to record // changes they make to their source code. Upon commit the file is read // and passed to the edit_comment lua hook. If the commit is a success,