Menu

Source Commit Log


Commit Date  
[r350] by cmpilato

I'm really tired of copy-n-pasting the complex loop (complex because
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'.

2003-10-04 00:19:11 Tree
[r349] by cmpilato

Add 'svnlook history', kinduvan orthogonal view of the filesystem to
that provided by 'svnlook tree [--show-ids]'.

* subversion/svnlook/main.c
(cmd_table): Add new 'history' subcommand.
(do_history, subcommand_history): New.

* subversion/doc/book/book/ch05.xml
Document the new 'svnlook history' subcommand.

2003-10-03 18:41:17 Tree
[r348] by sussman

* ch05.xml, ch08.xml: change 'archive' to 'list-unused-dblogs'.

2003-09-26 13:20:23 Tree
[r347] by julianfoad

In usage examples in the book, don't show the debugging messages that are
only produced when "svn" is built in "maintainer mode".

* doc/book/book/ch03.xml
* doc/book/book/ch08.xml
Remove lines of "svn" output that contain maintainer-mode error messages.

2003-09-20 21:19:31 Tree
[r346] by julianfoad

Write "URL" consistently in upper case, in the Book and in messages that
the user may see (mostly error messages and the output of "svn info").

* doc/book/book/appc.xml
* doc/book/book/ch04.xml
* doc/book/book/ch08.xml
* doc/translations/french/client.texi
* subversion/clients/cmdline/import-cmd.c
* subversion/clients/cmdline/info-cmd.c
* subversion/clients/cmdline/main.c
* subversion/include/svn_error_codes.h
* subversion/libsvn_client/checkout.c
* subversion/libsvn_client/commit_util.c
* subversion/libsvn_client/ls.c
* subversion/libsvn_client/prop_commands.c
* subversion/libsvn_ra_dav/props.c
* subversion/libsvn_wc/entries.c
* subversion/svnadmin/main.c
* subversion/svnlook/main.c
* subversion/tests/clients/cmdline/getopt_tests_data/svn_help_log_switch_stdout
Change "Url" and "url" to "URL" in user-visible strings.

2003-09-20 09:18:57 Tree
[r345] by julianfoad

Minor fixes to the book.

* doc/book/book/ch03.xml
Use consistent spacing in example shell prompts.
Fix name of option "--non-recursive".

* doc/book/book/ch08.xml
Fix use of "svn up" to "svn update". (From Larry Shatzer.)
Use <quote> instead of ""'s. (From Larry Shatzer.)
Use consistent spacing in example shell prompts.

2003-09-17 21:30:18 Tree
[r344] by sussman

* doc/book/TODO: add some extra notes.

2003-09-17 21:24:33 Tree
[r343] by cmpilato

Kill 'svnadmin createtxn'. Cruft today, gone tomorrow.

* subversion/svnadmin/main.c
(subcommand_createtxn): Buh-bye.
(cmd_table): Remove junk related to the 'createtxn' subcommand.

* subversion/tests/clients/cmdline/svnadmin_tests.py
(create_txn): Remove (there is no more 'createtxn').
(remove_txn): Remove (I dunno how to force the creation of a
dangling, uncommitted transaction).
(test_list): Lose references to removed tests.

* subversion/doc/book/book/ch05.xml
Try to get the svnadmin subcommands list back into sync with the app.

2003-09-15 15:12:34 Tree
[r342] by dlr

Applied patch by Vincent Lefèvre.

* doc/book/book/ch08.xml
Corrected grammar in the "Examples" section.

2003-09-12 01:27:20 Tree
[r341] by julianfoad

Improve the book Makefile so it updates when it should and doesn't when it
shouldn't. It was always updating book-html-chunk, and never updating the
embedded revision number.

* doc/book/Makefile
Re-check the output of "svnversion" every time, but only update version.xml
if the revision number has changed. (Previously version.xml was never
updated unless it had been deleted.)
Only rebuild book-html-chunk if it is older than its (main) source files.
(Previously it was re-built every time.)
The image files are now dependencies of most targets.

2003-09-11 21:55:34 Tree
Older >
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.