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

Re: the 'takeover' feature

From: Greg Hudson <ghudson_at_MIT.EDU>
Date: 2005-09-03 01:46:52 CEST

On Fri, 2005-09-02 at 11:01 -0500, Ben Collins-Sussman wrote:
> Despite the delay, I think the last batch of emails showed that there
> *was* a general consensus on what we'd like to see in your patch.

Well, I'm not part of this consensus.

I think checkout should tolerate existing directories by default. No
need for a flag for that. That should alleviate that Eclipse use case.

I think turning an existing tree into a working copy is a corner case
and is too specialized to deserve very much code in our tree, if any.
If we're going to devote any code to it, it should not jump through
hoops to save network bandwidth, but should just download the text-base
files and use the existing files as working copy files.

> The client should ask the server for a tree-delta that doesn't contain
> any inline filedata; this probably means driving the editor returned
> by svn_ra_do_status(), rather than the one returned by
> svn_ra_do_update().

This would be pretty complicated. You'd have to detranslate the
existing file in order to compute the checksum to compare against the
server's checksum. Fetching the files whose checksums don't match would
require a second connection to work streamily, and that operation could
wind up taking longer than a regular checkout since there would be a
network round trip between each file (if we use svn_ra_get_file, at
least).

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sat Sep 3 01:48:27 2005

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