DevReview.net

More development notices …

How to svn:ignore for directory or file

leave a comment

First of all remove old not needed resources from svn and local copy.

On top level use command:

here is directory structure  sample:

\application
    \files
    \tmp
> svn st
M  files
?  tmp

set the ignore property for tmp

> svn propedit svn:ignore ./
In opened vi editor add newlines what should be ignored, in mine example its just “tmp”.
Dont forget commit changed ./ dir.
how to check what props are set? :
> svn proplist
Properties on '.':
  svn:ignore

to see the value of svn:ignore

> svn propget svn:ignore
tmp

how to delete svn:ignore?
1. just use "svn propedit" again and remove what should be removed
or totally remove properties from dir:
2. svn propdel svn:ignore ./ 

end.

Written by admin

December 16th, 2010 at 12:57 am

Posted in Other

Leave a Reply