Tuesday, November 9, 2010

SVN IGNORE PROPERTIES

$ svn help

svn properties list
$ svn pl
Properties on '.':
svn:ignore

svn property get
$ svn pg svn:ignore
nbproject

svn property set
$ svn ps svn:ignore info .

The better way:

$ svn ps svn:ignore nbproject,info .
notice: this will overwrite the existing ignore property, avoiding this the better way is to use

$svn propedit svn:ignore


This will call your standard editor and is giving you the possibility to write down all the files or folders to be ignored in the actual choosen folder. I recommend to use this way ‘cause it’s the safest. That’s it. Deleting a property Sure we need also a possibility to delete a property. Therfore we use pd (propdel). Here is the usage:

$ svn pd svn:ignore .

That means we deleted the property svn:ignore form the folder . . Using svn pg svn:ignore will now return no result. So have fun using svn! Andreas P.S.: the online svn book is here

http://blog.netzmeister-st-pauli.com/post/393270735/svn-ignore-usage-because-of-poor-editor

No comments:

Post a Comment