PDA

View Full Version : svn ignore



rax_m
September 8th, 2010, 09:26 AM
Hi all,

I am setting up an svn repository for our development team. I need to set the svn ignore property on the repository, so that all files of a certain type are ignored (e.g. *.log and *.done).

The install is done on redhat.

Can I do this in a config file without using the svn:ignore command?

Thanks
Rax

surfer
September 8th, 2010, 09:53 AM
you can edit your ~/.subversion/config :



[auto-props]
*.log = svn:ignore


but this will only work for newly imported files; the ones that are under svn already will not be changed.

rax_m
September 9th, 2010, 03:34 PM
Hi surfer,

Thanks for the reply. Won't that only affect me as one user?
I would like the ignore to apply to anyone who uses that repo.

R

surfer
September 10th, 2010, 09:05 PM
yes, that will only affect you. i'm not sure it can be done globally; shouldn't every user be able to check in whatever he/she likes?