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

Re: Is it possible to distribute a folder with an edited .svn directory

From: Ryan Schmidt <subversion-2009a_at_ryandesign.com>
Date: Wed, 25 Feb 2009 16:28:54 -0600

On Feb 25, 2009, at 10:15, Merul Patel wrote:

> I'm wondering whether it's possible to simplify the process for
> collaborators to setup their own working copy of a repository by
> downloading a ZIP archive that contains a partial working copy.
>
> The partial working copy would contain a folder to represent the root
> of the repository they want to check out, and then a .svn directory
> configured with the URL of the repository.
>
> They could then simply do an SVN update on that directory to fetch the
> entire contents of the repo. Is this possible at all?

I think yes. You should be able to check out a working copy of the
correct URL, then "rm -rf" everything that's in it (except the .svn
directory), and distribute that. A user can then "svn up" to get
everything from the repository.

Note that the text-base directory in the .svn directory will still
contain a copy of every *file* that was in the working copy
originally, but not any *folder* (nor the contents of any folder).

What's the motivation for wanting to do this? It's too much work for
your users to type "svn checkout URL"? :)

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=1229317

To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
Received on 2009-02-25 23:29:51 CET

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.