[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: David Huang <khym_at_azeotrope.org>
Date: Thu, 23 Sep 2010 11:06:01 -0500

On Sep 23, 2010, at 6:40 AM, Nico Kadel-Garcia wrote:

> On Thu, Sep 23, 2010 at 12:43 AM, David Huang <khym_at_azeotrope.org> wrote:
>>
>> On Sep 22, 2010, at 8:21 PM, Chris Albertson wrote:
>>> 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.
>>
>> svn rm --keep-local filename
>
> Which is thoughtful, but does *NOT* get old versions of the file out
> of the repository.

True, but Chris didn't say that was a requirement... he just wants to "remove them from version control", but not "remove them from the working directory too". In which case, rm --keep-local sounds like exactly what he wants.

-- 
Name: Dave Huang         |  Mammal, mammal / their names are called /
INet: khym_at_azeotrope.org |  they raise a paw / the bat, the cat /
FurryMUCK: Dahan         |  dolphin and dog / koala bear and hog -- TMBG
Dahan: Hani G Y+C 34 Y++ L+++ W- C++ T++ A+ E+ S++ V++ F- Q+++ P+ B+ PA+ PL++
Received on 2010-09-23 18:06:44 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.