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

Re: Removing working copy, leaving other files untouched

From: Florian Seydoux <florianseydoux_at_gmail.com>
Date: Thu, 03 Jul 2008 10:12:34 +0200

Jørn Wildt wrote:
> Is it possible to remove all local files that belongs to SVN - without
> removing non-SVN files?
> <snip>

On windows, TortoiseSvn (*) had an 'extended' 'export' facility: you can
ask to export all file in a separate directory, including the
non-versionned ones:
TortoiseSvn->Export, then tip the 'Export unversioned files too' checkbox.

with the command line tool, it seems (?) that the 'export' don't provide
this
facility. So I suggest that if you aren't on windows, you can maybe do first
an svn export (to have only the 'versionned' file out of a wc), then
something like:
    svn status --no-ignore | grep "^[I?]"
(to have the list of non-versionned (?) and ignored (I) files),
and manual cp/mv these files...

.... BTW, there is maybe better procedure...

regards,

florian

(*) at least, the pre 1.5 versions

-- 
--------------------------------------------------------------------
Seydoux Florian, PhD
http://www.spinx-technologies.com
--------------------------------------------------------------------
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: users-help_at_subversion.tigris.org
Received on 2008-07-03 10:13:11 CEST

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.