On Dec 4, 2012, at 03:59, Manuel Ferrero wrote: > Andy Levy wrote: > >> You can configure automatic property setting on each client (auto-props >> in your config file, and tsvn:autoprops on your folders but only used by >> Tortoise, see >> http://tortoisesvn.net/docs/nightly/TortoiseSVN_en/tsvn-dug-propertypage.html), > > About that, I succesfully setup the bugzilla integration by adding the > properties bugtraq:logregex and bugtraq:url. > Now I want to setup those two properties automatically and I was reading the > link you referred to so I changed in my config file > enable-auto-props = yes and now I have to setup the auto-props section. > > I have two question: first, those properties needs to be linked to > directoryes, not files, how do I specify the filename pattern for a directory?
auto-props are currently for files only; they don't work for directories. http://subversion.tigris.org/issues/show_bug.cgi?id=1989 > Second, the bugtraq:logregex property needs to be wrote on two lines: > "This property activates the bug tracking system in Regex mode. It contains > either a single regular expressions, or two regular expressions separated by > a newline. > > If two expressions are set, then the first expression is used as a pre-filter > to find expressions which contain bug IDs. The second expression then > extracts the bare bug IDs from the result of the first regex." > > How do I write that properties in the auto-props section which has to be > compiled in the format > file-name-pattern = propname[=value][;propname[=value]...] I don't know if there's a way to specify a multi-line property value in the auto-props. I didn't find a bug report about it but also haven't tried it myself.