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

Re: global-ignores

From: David Chapman <dcchapman_at_acm.org>
Date: Fri, 15 Apr 2011 13:13:50 -0700

On 4/15/2011 12:53 PM, Shiyuan wrote:
> Hi,
> I want svn to ignore a certain files and I set up
>
> global-ignores = *.s *.o *.lo *.la *.al .libs *.s *.so *.so.[0-9]* *.a
> *.pyc *.pyo *.rej
>
> However, it doesn't seem to work. svn ci and svn update still check in
> or overwrite those files. What else do I need to setup?
>
> I also want svn to ignore all executable files. How can I specify it
> in global-ignores?
>
> Thanks.

global-ignores is for candidates to be added to the repository. It does
not affect objects already in the repository, such as what you have
now. You'll need to remove them from the repository where appropriate.
After that they won't be added automatically.

I don't know of a way to ignore executable files under Linux etc.; under
Windows "*.exe" works fine. I'm guessing you want to ignore build
targets, but simply testing the executable bit will also exclude shell
scripts, which you may well want to consider for automatic adding to the
repository.

-- 
     David Chapman         dcchapman_at_acm.org
     Chapman Consulting -- San Jose, CA
Received on 2011-04-15 22:14:31 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.