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

remover from svn control and leave local files alone?

From: Lares Moreau <lares.moreau_at_gmail.com>
Date: 2006-01-28 21:15:21 CET

$ svn --version
svn, version 1.2.3 (r15833)

Here is the scenario.

$ ls
foo/
bar/
other/
stuff/
$ svn add foo bar other
... output ommited here and below for brevity
$ svn add stuff -N
$ svn propset svn:ignore '*' ./stuff
$ svn commit
$ ls ./stuff
<insert random dir structure here>

Answer: 42
Question: How do I remove ./stuff from svn version control without
loosing my local files?

As a work around I did the following:
$ cp ./stuff ./stuff-tmp
$ svn rm ./stuff # Which effectively does a 'rm -rf' on the local disk
$ mv ./stuff-tmp ./stuff
$ rm -rf ./stuff/.svn

It works but is ugly.

Did I miss an option or tool somewhere?

-Lares

-- 
Lares Moreau <lares.moreau_at_gmail.com>  | LRU: 400755 http://counter.li.org
lares/irc.freenode.net                 |
Gentoo x86 Arch Tester                 |               ::0 Alberta, Canada
Public Key: 0D46BB6E @ subkeys.pgp.net |          Encrypted Mail Preferred
Key fingerprint = 0CA3 E40D F897 7709 3628  C5D4 7D94 483E 0D46 BB6E

Received on Sat Jan 28 21:16:36 2006

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