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

Re: Is there an equivalent of "cvs release"?

From: Michael W Thelen <thelenm_at_cs.utah.edu>
Date: 2004-10-15 09:24:22 CEST

Guido Anzuoni wrote:
>>However, what is
>>>the proper way to undo a checkout completely or does it not
>>matter? Can
>>>I just remove the directory? Is there a neater way?
>>
>>rm -rf <path to WC>
>>
>>Simple as that :)
>
> I will not be so sure. If I remember well, cvs release will preserve any file/directory not under CVS
> control.
> You could say that it is sufficient to issue a svn status and save the "?" marked file/directory somewhere
> else, but you are forced to recreate a tree jumping around to save your files.
> It is simply missing, no workaround.

Does "cvs release" delete the files that are under version control, or
does it just delete the CVS directories and notify the server of the
release? If you don't mind keeping the files that were under version
control, you can just get rid of the .svn directories with:

find <path-to-wc> -type d -name .svn -print0 | xargs -0 rm -rf

-- 
Michael W Thelen
It is a mistake to think you can solve any major problems just with
potatoes.       -- Douglas Adams

Received on Fri Oct 15 09:28:50 2004

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.