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

Fetched Revision from RA->get_file

From: William Ferguson <william.ferguson_at_hubbub.com.au>
Date: 2005-05-26 05:54:25 CEST

Hi all,

I'm using SVN 1.1.4 and I was just wondering whether it is expected that the
fetchedRevision set during a call to svn_ra_plugin_t->get_file should always
equate to the latest revisioon number from te Repository. I was expecting it
to be set to the revision at which the resource was last updated.

Ie if current Repository Revision is 12 and you have 3 revisions of fileA

I expected that (pardon the pseudo code) :
RA->get_file('fileA', HEAD, &fetchedRev) gets fetchedRev of 9
RA->get_file('fileA', 7, &fetchedRev) gets fetchedRev of 7
RA->get_file('fileA', 8, &fetchedRev) gets fetchedRev of 7

But instead I getting answers of: 12, 7 and 8 respectively.
Ie regardless of what the Revision is on the target Resource I always get
back the Revision number that I supplied.
Or if I nominated the HEAD Revision then I get back the Repository Revision

Have I configured something incorrectly or is this expected behaviour?


To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Thu May 26 05:55:17 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.