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

RE: Best way to "un-version control" a file?

From: Bob Archer <Bob.Archer_at_amsi.com>
Date: Thu, 23 Sep 2010 11:04:56 -0400

> I'm a new SVN user. I just checked in a small project to a
> repository. All the functions I tried work s not real problems
>
> But, I did not think until now that I should have excluded files
> such
> as core files and logs and autoconf's cache from version controls.
> I
> now know how to a global ignore and a ignore foe one directory but
> how
> to remove these files from version control once they are already
> there. Is "svn rm" the best why? But that will remove them
> from
> the working directory too. I don't want that.

Use the --keep-local switch.

 
> Next is these a way to make the ignore property for a directory
> apply
> to all sub dirs recursively. The next project I want to move to
> svn
> is much larger and has many nested directories

If you ignore a directory everything it contains will be ignored.

BOb
Received on 2010-09-23 17:05:38 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.