[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: William Ferguson <william.ferguson_at_hubbub.com.au>
Date: 2005-05-30 03:58:59 CEST

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?

William

-----Original Message-----
From: kfogel@collab.net [mailto:kfogel@collab.net]
Sent: Saturday, 28 May 2005 1:55 AM
To: William Ferguson
Cc: 'dev@subversion.tigris.org'
Subject: Re: Follow up - fetchedRevision from RA->get_dir

William Ferguson <william.ferguson@hubbub.com.au> writes:
> Well, I tried to work around the fact that the fetchedRevision from
> RA->get_dir and RA->get_file does equate to the most recent revision (see
> previous mail) by using RA->get_file_revs, which is OK for files, but
fails
> for folders.
>
> So, what's the best approach for getting the latest Revision number of a
> folder?

Some hints:

Don't say "see previous mail", instead, give us an archive link.
Otherwise, most people won't know what you're talking about :-).

And, this mail really belongs on the users@ list, as it's not about
the development of Subversion itself.

I think the answer to your question is to use the 'svnversion'
program, if you mean a local folder. If you mean a remote folder on
the repository, then I don't understand the question.

Please use users@ instead of dev@ if you follow up to this, thanks.

-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 12:24:17 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.