Dear developers,
This patch is a follow-up to a previous submission which dealt with moving
'svnversion' as a 'svn' subcommand, see:
http://subversion.tigris.org/servlets/ReadMsg?listName=dev&msgNo=107766
This submission does NOT do that, but just moves the functionnality in
libsvn_wc as a prerequisite to such a change. Anyway, it seems more
interesting to have the function in a library than as a special command
only.
PATCH REQUIRES A PRIOR COPY
sh> svn cp subversion/svnversion/main.c \
subversion/libsvn_client/revision_status.c
sh> patch -P0 -i svnversion.patch
MESSAGE
[[[
- move 'svnversion' functionnality as a function in libsvn_wc,
so that it can be used by other client applications,
eg possibly 'svn' later.
- there has been a little rewrite of the function so that is just
uses in libsvn_wc, although the initial implementation was
based on libsvn_client.
- the function is extended, it also collects some statistics.
while the whole working copy is walked thru, it does not cost
a lot to just count the files.
- 'svnversion' calls the new function, and does not use 'libsvn_client'
anymore, so the dependency is removed from 'build.conf'.
- added option '--verbose' shows collected statistics.
- added option '--no-ignore' disregards 'svn:ignore' and default ignores.
* subversion/include/svn_wc.h:
added new structs and function.
* subversion/libsvn_wc/revision_status.c:
new file which implements 'svn_wc_revision_status' function.
* subversion/svnversion/main.c:
call new function instead of doing the job.
* build.conf:
fix dependencies of svnversion.
]]]
--
Fabien.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sat Nov 12 10:13:48 2005