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

Re: Server configuration management with svn question

From: James Coleman <jamesc_at_dspsrv.com>
Date: 2007-07-16 13:21:14 CEST

Ryan Schmidt wrote:
> On Jul 13, 2007, at 13:57, Jean-Sebastien Pilon wrote:
>>>> I came across a problem when trying to exclude files I do not which
>> to
>>>> monitor/version control.
>>> Could you give more detail on your problem and list out steps you take
>>> when you get the problem?
>> I wish to exclude files which I find too noisy and that are system
>> generated/modified, which do not need tracking.

Ryan is right.

If they don't need tracking then can you remove them from svn altogether
as Ryan suggests? And then add an ignore for them?
This is how svn ignore works.

If you still want the default version of the files in svn then it would
have to go somewhere else.

>>>> How can I add files to an exclude list (even files that are already
>>>> added to the repository) and avoid getting the file deleted off the
>>>> system, in case I need to delete it from the repository to exclude
>>>> it from further commits.
>>> To avoid them getting deleted? During an svn update?
>>> You can add ignores so that the files will not be listed in svn status
>>> but ignored files will be deleted in many situations.
>> Now what I want to achieve is doable very easily when I start versioning
>> the /etc directory on a new server. But if I want to ignore files on
>> systems that are currently under version control I have no clue how to
>> get it work.
> Suppose you have a file foo that is in the repository and you want to
> delete it from the repository but not from the working copy. You'll need
> to do something like this:
> cp foo foo.tmp
> svn delete foo
> svn ci foo -m "removing foo from repository"
> mv foo.tmp foo
> And you may want to set svn:ignore on the directory to ignore foo.

To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Mon Jul 16 13:20:31 2007

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.