Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Pattern matching characters for svn:ignore

Tags:

svn

Making echo of a question around the web:

Is the syntax for svn:ignore patterns documented somewhere? The only pattern matching character I could find in the SVN book under 'svn:ignore' is '*'.

Subversion Book: 'svn:ignore'

In particular I want to match a 32 character string (md5 hash named directory).

like image 332
levhita Avatar asked Dec 09 '08 19:12

levhita


2 Answers

It seems to be documented here.

Edit: ...and to answer your specific question, you can use "?" to match a single character.

like image 101
JesperE Avatar answered Nov 08 '22 17:11

JesperE


From what I saw at the page you linked and the Ignoring files via cvsignore page, it looks like it understand only glob syntax, ie. * for any string and ? for a character.

If you need to match a 32 character string, a possible solution might be to put 32 ? signs together...

like image 30
PhiLho Avatar answered Nov 08 '22 16:11

PhiLho