User not logged in - login - register
Home Calendar Books School Tool Photo Gallery Message Boards Users Statistics Advertise Site Info
go to bottom | |
 Message Boards » » subversion question on svn:ignore Page [1]  
DirtyMonkey
All American
4269 Posts
user info
edit post

so after reading lots of svn book and emails i see that svn:ignore properties are _not_ recursive. this saddens me as i want to ignore:

images/0/0/*.jpg
images/0/1/*.jpg
..
images/9/9/*.jpg

but i sure don't want to add that property 100 times. does anyone know of some way to get around this?

11/16/2007 1:13:18 AM

smoothcrim
Universal Magnetic!
18955 Posts
user info
edit post

small script to do it?

11/16/2007 1:32:39 AM

DirtyMonkey
All American
4269 Posts
user info
edit post

i read one post where a guy said you could do this:

svn propedit svn:ignore .
and then add lines relative to .

but he was a fucking liar! it didn't work at all.

i really don't want to write a script that messes with my svn settings because that is just scary. however, i did find --global-ignores but have yet to get it to take effect.

so... still looking.

11/16/2007 1:45:29 AM

DirtyMonkey
All American
4269 Posts
user info
edit post

alright, so i figured out a solution that works for me but maybe not for everyone. anyway, here it is in case anyone needs this later.

in ~/.subversion/config there is a section called [miscellany] which has a line called --global-ignores that you can set like so:

--global-ignores = *.jpg *.png *.gif

works great!

11/16/2007 2:09:36 AM

synapse
play so hard
60929 Posts
user info
edit post

what subversion shell are u using?

11/16/2007 12:20:52 PM

DirtyMonkey
All American
4269 Posts
user info
edit post

i'm not using one, just svn commands. the main reason is because all the work i do is for websites and is on a remote server. sure, i could check out the files to my machine but that doesn't do any good.

it would be nice to have subclipse or even just tortoise instead of doing the command line stuff, but honestly most of the time i am writing code in vim anyway. i'm sure there are better ways but i just haven't had time / don't know enough about it to look for them.

11/17/2007 12:39:59 AM

 Message Boards » Tech Talk » subversion question on svn:ignore Page [1]  
go to top | |
Admin Options : move topic | lock topic

© 2024 by The Wolf Web - All Rights Reserved.
The material located at this site is not endorsed, sponsored or provided by or on behalf of North Carolina State University.
Powered by CrazyWeb v2.38 - our disclaimer.