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

Ignore on a per-repository basis?

From: Ben Kennedy <ben_at_zygoat.ca>
Date: 2004-09-17 19:44:25 CEST

Hi all,

New to the list and to Subversion here (and managed revision control in
general). Looking forward to using it!

Is there a way to set a global ignore pattern that will take effect
across a whole repository, recursively? I am working with Xcode on Mac
OS X, which creates build product directories with names ending in
".build" for each product. I do not want to commit these dirs to the
repository since they are huge, and derived from the source.

I would like to set a global property on the repository, so that the
"*.build" dirs will be automatically ignored for every project, without
having to expressly set up flags on a per-proj or per-user basis.

e.g. say I have a repository containing a couple of projects, like this:

<repos_root>
    proj1/
        project.xcode
        foo.m
        foo.h
        project.build/
           stuff
    proj2/
        proj2.xcode
        bar.m
        proj2.build/
            stuff

I infer from the wording in the Svn Book that the svn:ignore property is
not recursive, so I would need to set a value of '*.build' on each of
proj1 and proj2 dirs (and again on proj3 once it came to be, etc.)

I gather I could modify 'global-ignore' in {~/.|etc/}subversion/config,
but I would have to remember to do this on a per-user or per-machine
basis repeatedly.

Is there some way to set a repository-global filter that would "just
work" for anyone using the repository?

-ben

-- 
Ben Kennedy, chief magician
zygoat creative technical services
613-228-3392 | 1-866-466-4628
http://www.zygoat.ca
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Fri Sep 17 19:45:14 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.