What's wrong with my svn:ignore pattern?

Posted by boris callens on Stack Overflow See other posts from Stack Overflow or by boris callens
Published on 2009-10-29T10:55:54Z Indexed on 2010/04/23 22:43 UTC
Read the original article Hit count: 283

Filed under:
|

I have the pattern svn:ignore datasheets/*/*.pdf
It is supposed to ignore all pdfs that are at an arbitrary depth under multiple "datasheet" directories under the current root folder.

As an example: say I have a dir structure like this

Websites
  -web1
    -dataSheets
      -AT
        -ignore.pdf
      -BE
         -NL
          -ignore.pdf
         -FR
          -ignore.pdf
          -ignore2.pdf
    -licenseAgreements
      -important.pdf
  -web2
    -datasheets
      -etc

In this example the pattern needs to ignore all the ignore.pdfs without ingoring the important.pdf too.

The shown pattern still includes all my pdf files.

I know there are a bunch of similar questions, but none of them seem to tackle the problem with the various hierarchy levels.

© Stack Overflow or respective owner

Related posts about svn

Related posts about svnignore