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

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

From: Guido Anzuoni <guido.anzuoni_at_kyneste.com>
Date: 2004-10-15 09:49:57 CEST

> -----Original Message-----
> From: Michael W Thelen [mailto:thelenm@cs.utah.edu]
> Sent: Friday, October 15, 2004 9:24 AM
> Cc: users@subversion.tigris.org
> Subject: Re: Is there an equivalent of "cvs release"?
> 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

Well, I used CVS long time ago, but, as a I said, "cvs release" should remove only the files
under revision control, leaving untouched the others.
There's no Subversion equivalent command and the only workaround is a script that parses a "svn status"
removes all the entries but those with "?", the .svn directories and directories left empty at the
end of the process.


To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Fri Oct 15 09:50:56 2004

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