« Leviathan boxen | Main | MySQL 5.0 and TimeZones »

Getting subversion to ignore multiple files in a directory

For example to ignore all files with a .jpg file extension the following works:

nostromo$ svn propset svn:ignore "*.jpg" .

But when you now want to ignore multiple files like say "*.gif *.jpg and *.png" using "*.gif *.jpg *.png" does not work as expected:

nostromo$ svn propedit svn:ignore .

Which will give you your editor (vim) in my case and just add the file pattern under each file pattern e.g.:

*.gif
*.jpg
*.png

Don't forget to commit to the repository.



TrackBack

TrackBack URL for this entry:
http://www.powertrip.co.za/blog/mt-tb.cgi/532

Post a comment

(If you haven't left a comment here before, you may need to be approved by the site owner before your comment will appear. Until then, it won't appear on the entry. Thanks for waiting.)