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

Re: svn commit: r33348 - in branches/issue-3067-deleted-subtrees/subversion: include libsvn_ra libsvn_ra_local libsvn_ra_neon libsvn_ra_serf libsvn_ra_svn

From: Arfrever Frehtes Taifersar Arahesis <arfrever.fta_at_gmail.com>
Date: Mon, 29 Sep 2008 20:14:51 +0200

2008-09-29 17:30:42 pburba_at_tigris.org napisaƂ(a):
> Author: pburba
> Date: Mon Sep 29 08:30:42 2008
> New Revision: 33348
>
> Log:
> On the issue-3067-deleted-subtrees branch add new RA interface
> svn_ra_get_revision_deleted.
>
> This change implements svn_ra_get_revision_deleted for ra_local only.
> Holding off on ra_serf, ra_neon, and ra_svn implementations until I'm sure
> this (branch) is going to work.
>
> * subversion/include/svn_ra.h
> * subversion/libsvn_ra/ra_loader.c
> (svn_ra_get_revision_deleted): New function.
>
> * subversion/libsvn_ra/ra_loader.h
> (svn_ra__vtable_t): Add get_revision_deleted.
>
> * subversion/libsvn_ra_local/ra_plugin.c
> (svn_ra_local__get_revision_deleted): New implementation.
> (ra_local_vtable): Add svn_ra_local__get_revision_deleted.
>
> * subversion/libsvn_ra_neon/ra_neon.h
> (ra_neon__get_revision_deleted): New (unimplemented) function.
>
> * subversion/libsvn_ra_neon/get_rev_deleted.c:
> New file for ra_neon__get_revision_deleted implementation.
>
> * subversion/libsvn_ra_neon/session.c
> (neon_vtable): Add svn_ra_neon__get_revision_deleted.
>
> * subversion/libsvn_ra_serf/ra_serf.h
> (svn_ra_serf__get_revision_deleted): New (unimplemented) function.
>
> * subversion/libsvn_ra_serf/get_rev_deleted.c:
> New file for ra_serf__get_revision_deleted implementation.
>
> * subversion/libsvn_ra_serf/serf.c
> (serf_vtable): Add svn_ra_serf__get_revision_deleted.
>
> * subversion/libsvn_ra_svn/client.c
> (ra_svn_get_revision_deleted): New (unimplemented) function.
> (ra_svn_vtable): Add ra_svn_get_revision_deleted.
>
> Added:
> branches/issue-3067-deleted-subtrees/subversion/libsvn_ra_neon/get_rev_deleted.c
> branches/issue-3067-deleted-subtrees/subversion/libsvn_ra_serf/get_rev_deleted.c
> Modified:
> branches/issue-3067-deleted-subtrees/subversion/include/svn_ra.h
> branches/issue-3067-deleted-subtrees/subversion/libsvn_ra/ra_loader.c
> branches/issue-3067-deleted-subtrees/subversion/libsvn_ra/ra_loader.h
> branches/issue-3067-deleted-subtrees/subversion/libsvn_ra_local/ra_plugin.c
> branches/issue-3067-deleted-subtrees/subversion/libsvn_ra_neon/ra_neon.h
> branches/issue-3067-deleted-subtrees/subversion/libsvn_ra_neon/session.c
> branches/issue-3067-deleted-subtrees/subversion/libsvn_ra_serf/ra_serf.h
> branches/issue-3067-deleted-subtrees/subversion/libsvn_ra_serf/serf.c
> branches/issue-3067-deleted-subtrees/subversion/libsvn_ra_svn/client.c
>
> Modified: branches/issue-3067-deleted-subtrees/subversion/include/svn_ra.h
> URL: http://svn.collab.net/viewvc/svn/branches/issue-3067-deleted-subtrees/subversion/include/svn_ra.h?pathrev=33348&r1=33347&r2=33348
> ==============================================================================
> --- branches/issue-3067-deleted-subtrees/subversion/include/svn_ra.h Mon Sep 29 08:30:00 2008 (r33347)
> +++ branches/issue-3067-deleted-subtrees/subversion/include/svn_ra.h Mon Sep 29 08:30:42 2008 (r33348)
> @@ -1758,6 +1758,28 @@ svn_ra_has_capability(svn_ra_session_t *
> apr_pool_t *pool);
>
> /**
> + * Given @a path at revision @a peg_revision, set @a *deleted to the

s/deleted/revision_deleted/

> + * revision @a path was first deleted, within the inclusive revision range
> + * defined by @a pre_revision and @a end_revision.

There's no pre_revision. Maybe you meant peg_revision.

> + *
> + * If @a path does not exist at @a peg_revision or was not deleted within
> + * the specified range, then set @a *deleted to @c SVN_INVALID_REVNUM.

s/deleted/revision_deleted/

> + * If @a peg_revision or @a end_revision are invalid or if @a peg_revision is
> + * greater than @a end_revision, then return @c SVN_ERR_CLIENT_BAD_REVISION.
> + *
> + * Use @a pool for all allocations.
> + *
> + * @since New in 1.6.
> + */
> +svn_error_t *
> +svn_ra_get_revision_deleted(svn_ra_session_t *session,
> + const char *path,
> + svn_revnum_t peg_revision,
> + svn_revnum_t end_revision,
> + svn_revnum_t *revision_deleted,
> + apr_pool_t *pool);

-- 
Arfrever Frehtes Taifersar Arahesis

Received on 2008-09-29 20:18:07 CEST

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