Domanda

I currently have a project which I want to add to SVN but I don't want to version certain file types. (e.g. .png) or a folder (images).

I know there's the svn:ignore, but this will not work if there's no .svn file in the directory which I'm trying to perform the ignore operation. I get the following errors :

property 'svn:ignore' set on '.'
svn: 'common' is not under version control

I'm looking for someone to inform me as to how to do this or direct me in the right place.

Any time I'm trying this, its like I have to add the file/directory to svn using 'svn add' and then run the ignore. I've a lot of directories and I'm looking to do this recursively also.

Is there a simple way to do this?

È stato utile?

Soluzione

Set global-ignores in Subversion configuration file (normally found on Linux at ~/.subversion/config). See the manual for more info.

Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow
scroll top