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

Re: remove a directory/file from versioning

From: John Szakmeister <john_at_szakmeister.net>
Date: 2004-01-30 23:10:50 CET

On Friday 30 January 2004 17:14, Ben Collins-Sussman wrote:
> On Fri, 2004-01-30 at 16:09, Wolfgang Drews wrote:
> > *This message was transferred with a trial version of CommuniGate(tm)
> > Pro* Hi,
> >
> > i have a little newbie-question: How can i remove the versioning from
> > a file or directory without deleting it?
>
> $ mv versioned-item elsewhere/
>
> $ svn status
> ! versioned-item # svn thinks it's "missing"
>
> $ svn rm versioned-item
>
> $ svn status
> D versioned-item # svn has it scheduled for deletion now
>
> $ svn commit -m "deleting versioned-item from repository"
>
> $ mv elsewhere/versioned-item ./no-longer-versioned-item
>
> $ svn status
> ? no-longer-versioned-item # svn thinks it's unversioned now.

You should probably delete ./no-longer-versioned-item/.svn too. :-)

-John

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Fri Jan 30 23:25:25 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.