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

Re: 'svn export' is inconsistent with 'svn checkout' for nested directories

From: Ben Collins-Sussman <sussman_at_collab.net>
Date: 2005-07-05 02:56:27 CEST

On Jul 4, 2005, at 7:39 PM, Gifford, Noel wrote:
>
> It surprised me that 'checkout' and 'export' are using totally
> separate
> source code. I would have expected that 'export' is just a 'checkout'
> without the .svn directory being created locally.

Yep, that's exactly what it is. The server can't tell the network
request apart. Checkout and export simply use different
implementations of a vtable that receive tree-deltas. One
implementation does tons of logging and file-manipulation in
the .svn/ areas, and is entirely built around .svn/. The other
implementation blindly writes data to disk.

So, most of the code is shared. Just not all.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Tue Jul 5 02:57:57 2005

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.