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

Re: Question regarding svn_ra_do_update and delta data

From: Ph. Marek <philipp.marek_at_bmlv.gv.at>
Date: 2005-12-13 07:14:02 CET

Hello Greg,

On Monday 12 December 2005 19:46, Greg Hudson wrote:
> On Mon, 2005-12-12 at 08:27 +0100, Ph. Marek wrote:
> > I call svn_ra_do_update() and report my "working copy"-state. This is
> > currently everything at the last committed/checked out version.
>
> You've told the repository you have the base text for every file at the
> head revision. If you don't have that, use delete_path or the
> start_empty flag to tell it what you don't have.
Thank you. I must have missed this before.

How is that performance-wise for a wc of ~150000 files?
If this usage would imply telling the ra-layer (and everything behind it, ie
network and repository) that I've got 140000 files which are all empty - I
believe it's faster to use an status-editor, remember which files need to be
updated and get these with svn_ra_get_file(), possibly batched.

Or, possibly the best way performance-wise, I'd get an status, check which
files I _don't_ have anymore, and report only these with start_empty ...

I'll have a look.

> We do not have any rsync-like algorithm support which would allow
> fetching only the changed parts of files.
(Yet :-)
And there's no possibility to get specified chunks (yet) (?)

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 Dec 13 07:14:42 2005

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