# # patch "ChangeLog" # from [b8b3014236d07e540a8c9bda016fd973d6d7e98a] # to [50dc4e1c9d94c9b8dba39d7a1d5e0015341c6474] # # patch "commands.cc" # from [e5ee84935ff22ffd003a051b04b984e94396f709] # to [ee664ce276da343eca2abf67b6560095e3ce84f7] # --- ChangeLog +++ ChangeLog @@ -1,3 +1,10 @@ +2005-05-23 Richard Levitte
+ + * commands.cc (try_one_merge): Use the value of --date and + --author if there are any. + (CMD(merge), CMD(propagate), CMD(explicit_merge)): Change to + accept --date and --author. + 2005-05-21 Richard Levitte * Makefile.am: Make monotone.pdf and monotone.dvi depend on --- commands.cc +++ commands.cc @@ -3063,13 +3063,19 @@ write_revision_set(merged_rev, merged_data); calculate_ident(merged_data, merged_id); dbw.consume_revision_data(merged_id, merged_data); - cert_revision_date_now(merged_id, app, dbw); - cert_revision_author_default(merged_id, app, dbw); + if (app.date().length() > 0) + cert_revision_date_time(rid, string_to_datetime(app.date()), app, dbw); + else + cert_revision_date_now(merged_id, app, dbw); + if (app.author().length() > 0) + cert_revision_author(rid, app.author(), app, dbw); + else + cert_revision_author_default(merged_id, app, dbw); } CMD(merge, "tree", "", "merge unmerged heads of branch", - OPT_BRANCH_NAME) + OPT_BRANCH_NAME % OPT_DATE % OPT_AUTHOR) { set