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

Re: Problem with svn_ra_do_update() and start_empty

From: <philipp.marek_at_bmlv.gv.at>
Date: 2006-02-24 09:09:21 CET

> > I have a working copy locally, without the original text-base.
> > So if a file is changed, I cannot use a delta stream.
> > So I report changed files as deleted (with delete_path), which works in
> that I
> > get the full-text for them.
>
> > The problem is: If a locally changed file is deleted in the repository, I
> get
> > no notice, as the ra-layer thinks I've already removed the file.
>
> This sounds like something you can deal with using a little bookkeeping
> in your code. Keep track of the files you said were deleted in your
> report. If you don't hear back about them, that means they were deleted
> in the repository.
That's true, and one of the options I tried to think through.

But say I've got a 1 GB file, which was checked out with revision 10, and got
locally modified. HEAD goes ahead, but this file ain't changed.
If I now do an update and tell the ra layer that I don't have it any longer,
then I'll get the full-text, right?
That's not really what I want...

No, I believe that lying "I don't have it any longer" won't get rid of the
problem. We have to tell "I have what you know as rev. 10, but send me a
full-text if it's changed". And that's what I'm proposing ...

Regards,

Phil

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Fri Feb 24 09:10:31 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.