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

Re: Follow up - fetchedRevision from RA->get_dir

From: <kfogel_at_collab.net>
Date: 2005-05-30 15:59:26 CEST

William Ferguson <william.ferguson@hubbub.com.au> writes:
> OK,
>
> I'm writing code against the SVN RA layer, so I'm talking about a remote
> folder, not a local one.
> Ie I want to determine the revision at which a remote folder was last
> modified.
>
> In SVN 1.1.4 terms (I'll probably switch to 1.2.0 in the next few days), the
> fetchedRevision pointer that can be passed svn_ra_plugin_t->get_dir is not
> updated with the Revision at which the folder is last modified. Instead, if
> the (supplied) requestedRevision is HEAD then fetchedRevision becomes the
> most recent Revision committed to the entire Repository, ie the value of
> svn_ra_plugin_t->get_version. Otherwise, fetchedRevision becomes the sames
> as the supplied requestedRevision.
>
> How do I determine the Revision at which the remote folder was lastt
> modified?

I would try using svn_ra_get_log() passing a limit argument. You may
need 1.2 for this.

-Karl

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Mon May 30 16:39:40 2005

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

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