svn ignore

Published at Wednesday, December 5 2007

It took me a good four days to fully understand how svn:ignore and thusly propset works in subversion. Sometimes skimming in books saves me a lot of time, but in cases like this it does not. If you are a skimmer, a ‘n00b’, or myself; here is a reminder how the damn thing works.

propset is a key/value for a directory, each set overwrites the value, it does not concatenate. To ignore multiple files in a directory, separate them by new line in a text file. propset takes a value, a file (or file pattern) to apply it to followed by a directory. Patterns in parent directories do not recurse down. i.e. another/directory/file.rb will not be ignored from the root directory, it needs to be ignored from ‘directory’.

  • Ignore a file: svn propset svn:ignore Shack.tmproj .
  • Ignore many: svn propset svn:ignore -F ignore.txt .
Comments Closed
A Who?

Jake can usually be found wandering the streets of Chicago, people watching on the CTA, or sitting in front of a computer programing until the cows come home.

Hello KittyChristmasChristmasCaitlin & WillPreciousnessFaurx CoatBroccoli FaceArgyle Sweater