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

Re: Working copy vs exported files

From: Ryan Schmidt <subversion-2007a_at_ryandesign.com>
Date: 2007-02-17 05:17:58 CET

On Feb 16, 2007, at 08:53, Phyrefly wrote:

> Does anyone else have a use for a feature that allows you to convert a
> working copy to a non-versioned version of the same files?
>
> This is subtly different from an export of the repo, there may be
> files (or even changes) in this set of files that I don't want to
> commit.
>
> I also don't want to force the network traffic of a re-export... I
> already have the files, exactly where I want them, I just want to get
> rid of the .svn folders.
>
> I suppose the other part of this question is, is there a way to do
> this that I've missed?

1. You can export your working copy.

svn export /path/to/existing-working-copy /path/to/new-export

2. You can convert your working copy into an export by just deleting
all the .svn directories with something like this (on non-Windows OSes):

find /path/to/working-copy -name .svn -type d -print0 | xargs -0 rm -rf

Now /path/to/working-copy isn't a working copy anymore.

-- 
To reply to the mailing list, please use your mailer's Reply To All  
function
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Sat Feb 17 05:18:24 2007

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.