of the pool games I had to play) in what used to be
svn_repos_revisions_changed(). Replace/rename
svn_repos_revisions_changed() with a new function,
svn_repos_history(), that does this work and uses callbacks so that
users of this interface can do whatever they want with the history
data without reproducing so much darned code.
Also, kill 'svnadmin lscr' (since its functionality is encompassed by
the new 'svnlook history').
* subversion/include/svn_repos.h
(svn_repos_history_func_t): New.
(svn_repos_history): Was svn_repos_revisions_changed(). Now takes a
'history_func' and 'history_baton' instead of populating a 'revs' array.
* subversion/libsvn_repos/rev_hunt.c
(svn_repos_history): Was svn_repos_revisions_changed(). Now takes
and call a 'history_func' and 'history_baton' instead of
populating a 'revs' array.
* subversion/libsvn_repos/log.c
(history_to_revs_array): New.
(svn_repos_get_logs): Update calls to svn_repos_history().
* subversion/svnadmin/main.c
(struct svnadmin_opt_state): Remove 'follow_copies' member.
(cmd_table): Kill the 'lscr' subcommand.
(options_table, main): Remove support for --copies option.
(svnadmin__follow_copies, subcommand_lscr): Buh-bye.
* subversion/svnlook/main.c
(struct print_history_baton, print_history): New.
(do_history): Now just call svn_repos_history(). Oh, and compose
the docstring I forgot to write when I introduced this function.
* subversion/tests/libsvn_repos/repos-test.c
(history_to_revs_array): New.
(revisions_changed): Update test message, and update call to
svn_repos_history().
* subversion/doc/book/book/ch05.xml
* subversion/doc/book/book/ch08.xml
Kill mentions of 'svnadmin lscr'. (Oh, and add reference stuff for
the new 'svnlook history'.