[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

[PATCH] move 'svnversion' functionnality in libsvn_wc v2

From: Fabien COELHO <fabien_at_coelho.net>
Date: 2005-11-16 11:29:26 CET

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.

Contrary to the previous submission, this patch does not add any new
feature as requested. I may submit a small patch later to add verbose and
no-ignore features to display statistics.

PATCH REQUIRES A PRIOR COPY

sh> svn cp subversion/svnversion/main.c \
            subversion/libsvn_client/revision_status.c
sh> patch -P0 -i svnversion_wc.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.
  - 'svnversion' calls the new function, and does not use 'libsvn_client'
    anymore, so the dependency is removed from 'build.conf'.

* 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 Wed Nov 16 11:31:21 2005

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.