-----------------------------------------------------------------
Revision: 46013a53e7e1f27c7be1e4089825d0b4de8872e3
Ancestor: 040ebb72c5f0c99c1c9675699a8d0ba7eabe0f71
Author: [email protected]
Date: 2009-02-23T02:54:36
Branch: net.venge.monotone.experiment.log-options
Modified files:
cmd_diff_log.cc cmd_ws_commit.cc options_list.hh project.cc
work.cc
ChangeLog:
add options to log to stay on the current branch and list selected revisions
* cmd_diff_log.cc (cert_globber): new struct for applying globs to certs
(log): add author, branch, date and message options; reformat the options so
that lines end with "|" rather than starting with it; add associated
cert_globbers for each of these new options; add check for print_this before
checking for merged revs; add optional checks against author, branch, message
and date globs; flush cout after printing a revision so that progress is
visible
* cmd_ws_commit.cc (commit): reformat the options so that lines end with "|"
rather than starting with it
* options_list.hh (date): store date options as a string rather than a date_t so
that they can be used for globs; the date_t(string) constructor handles error
checking and reporting so this doesn't cause any significant problems
* project.cc (put_standard_certs_from_options): add explicit construction of
date_t from date option string although assignment of a string to a date will
do this implicitly
* work.cc (get_options): check for lack of an explicit branch option rather than
empty branch option before using the workspace branch and setting it sticky;
this allows an explicit empty branch option which would otherwise be ignored
monotone --db={your.database} diff
--revision=040ebb72c5f0c99c1c9675699a8d0ba7eabe0f71
--revision=46013a53e7e1f27c7be1e4089825d0b4de8872e3
----------------------------------------------------------------------
_______________________________________________
Monotone-commits-nodiffs mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/monotone-commits-nodiffs