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

Ignoring Directory Structures...

From: Bradley Molander <molander_at_molandernet.com>
Date: 2005-02-18 19:27:50 CET

(I apologize for my previous post in the wrong thread...)

I need to setup a facility to force subversion to ignore build
directories but have been unable to find a way. I know this has been
talked about before, but I have not seen a solution for this particular

Optimally, I would be able to perform a "svn add" from the trunk
directory and have everything in the "build" and a "generatedSrc"
directories completely ignored. Since this is a build directory there is
no way to predict what a developer may build. I also do not want this
dir to be placed under version control. I put "build" in the
~/.subversion/config as a global-ignore (as well as *.class). That only
removes it from the status which is by design I believe.

How can I prevent users from evening adding a directory structure
without using a hook and then forcing them to revert? It would be neat
if global-ignore supported a syntax like this - build/** to signify
recursive ignores. That would solve the problem easily.

Any ideas?

Received on Fri Feb 18 19:31:52 2005

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.