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

Re: Get filesize on svn_ra_do_update before fetching the stream?

From: Ph. Marek <philipp.marek_at_bmlv.gv.at>
Date: 2006-02-07 14:49:24 CET

On Tuesday 07 February 2006 14:40, Peter N. Lundblad wrote:
> On Tue, 7 Feb 2006, Ph. Marek wrote:
> > On Tuesday 07 February 2006 14:19, Peter N. Lundblad wrote:
> > > On Tue, 7 Feb 2006, Ph. Marek wrote:
> > > > I'm calling svn_ra_do_update and get my delta editor driven.
> > > > Is there a way to get the filesize of a changed file _before_
> > > > receiving the contents?
> > >
> > > Use svn_ra_sat from another session?
> >
> > BTW, what is svn_ra_set? I cannot find that function.
>
> svn_ra_stat, that should be. Sorry for the confusion. Note that you have
> to fall back on svn_ra_get_dir2 if the server doesn't support this (was
> new in 1.2, so svnserve (not mod_dav_svn) before 1.2 doesn't support it).
Oh yes, sorry. I could have thought of that, too.

Well, thank you very much!

Regards,

Phil

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Tue Feb 7 14:50:38 2006

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.