# # # patch "ChangeLog" # from [dae12cd6f10abc331af8e52afee86e01a4eca668] # to [da16203bf553664dc08c469b5aeb357c84957981] # # patch "commands.cc" # from [bb69d5346904d4e34109e3e78b4458b632a07161] # to [05fef6fd462f342c74beaca773dafb07464cc62e] # ============================================================ --- ChangeLog dae12cd6f10abc331af8e52afee86e01a4eca668 +++ ChangeLog da16203bf553664dc08c469b5aeb357c84957981 @@ -1,3 +1,8 @@ +2005-12-21 Matt Johnston + + * commands.cc (dump_difs, CMD(log)): only print --diffs for the file + of interest. + 2005-12-21 Matthew Gregan * botan/es_capi.{cpp,h}: Windows compile fixes for Botan 1.4.10. ============================================================ --- commands.cc bb69d5346904d4e34109e3e78b4458b632a07161 +++ commands.cc 05fef6fd462f342c74beaca773dafb07464cc62e @@ -2585,13 +2585,17 @@ dump_diffs(change_set::delta_map const & deltas, app_state & app, bool new_is_archived, - diff_type type) + diff_type type, + file_path restrict_file = file_path()) { // 60 is somewhat arbitrary, but less than 80 std::string patch_sep = std::string(60, '='); for (change_set::delta_map::const_iterator i = deltas.begin(); i != deltas.end(); ++i) { + if (!restrict_file.empty() && !(restrict_file == delta_entry_path(i))) + continue; + cout << patch_sep << "\n"; if (null_id(delta_entry_src(i))) { @@ -3763,7 +3767,7 @@ e != rev.edges.end(); ++e) { dump_diffs(edge_changes(e).deltas, - app, true, unified_diff); + app, true, unified_diff, file); } }