You can set ignore property for directories under SVN to ignore specific file or a group using wildcard.
Here are few examples:
svn propset svn:ignore '*' .
Run this command inside a directory to ignore all the files inside it. It is best suited for cache directory where you want the cache folder to be inside SVN since it is a part if the structure but do not want unwanted files and directories in it.
svn propset svn:ignore changelog.txt .
This will ignore changelog.txt file to appear in svn status list.
svn propset svn:ignore “*.tmp” .
Ignore all file with tmp extension.
svn propset svn:ignore -R 'Thumbs.db
Thumbs.db:encryptable' .
Thumbs.db & Thumbs.db:encryptable are files that gets created when you open a directory in windows machines and it has few images in it. These files always come up in your svn status list and create problem. The command will solve the problem. The -R Option is to set the property recursively down to all the directories.
Note: Multiple file name must be inside quotes and should be separated by new line.
6 Comments
Came here through the Kolkata Bloggers' Meet 2009 Page listing you as Technical CO-Ordinator.
I am a PHP Programmer by Passion and Profession..
Good to meet a fellow Technician in Kolkata...
Look forward to meet you in the Meet this Saturday....
Cheers
@rungss on Twitter
Have added to my blog
http://www.ygoel.com/
the write-up & all the photographs of the Kolkata Bloggers Meet 2009.
Do take some time to visit and do not forget to put down your inputs for the same.
Regards & Love,
Yours ever in blogging,
Yogesh Goel
ygoel.com
http://www.greensforum.com/showthread.php?p=20531#post20531
http://www.greensforum.com/showthread.php?p=20532#post20532
http://www.greensforum.com/showthread.php?p=20533#post20533
http://www.greensforum.com/showthread.php?p=20534#post20534
http://www.greensforum.com/showthread.php?p=20535#post20535
http://www.greensforum.com/showthread.php?p=20536#post20536
http://www.greensforum.com/showthread.php?p=20537#post20537
http://www.greensforum.com/showthread.php?p=20538#post20538
http://www.greensforum.com/showthread.php?p=20539#post20539
http://www.greensforum.com/showthread.php?p=20541#post20541
http://www.greensforum.com/showthread.php?p=20542#post20542
http://www.greensforum.com/showthread.php?p=20543#post20543
Sexy Lady
Busty Escort London