On 2/27/07, Ryan Schmidt <subversion-2007a@ryandesign.com> wrote:
> On Feb 26, 2007, at 21:23, Scott Plumlee wrote:
>
> > Running into problems attempting to set system defaults for
> > auto-properties. I've looked through chapter 7 of the book, and tried
> > creating the config files in the All Users/Application Data/Subversion
> > directory, as well as the Default User/..... directory, and also tried
> > doing a registry entry in the HKEY_LOCAL_MACHINE section. No luck
> > getting these to apply. We will be using Tortoise, but I'd like to
> > just set server parameters to save a step or two.
> >
> > We would like to set the following properties automatically whenever
> > someone adds a new file to subversion, or imports a file. I've set
> > enable-auto-props=yes.
> >
> > *.* = svn:needs-lock=yes
> > *.* = bugtraq:loregexp=BugID:\s?(\d+)(,? ?(\d+))+
> > (\d+)
> > *.* = bugtraq:url - http://our-server:8080/show_bug.cgi?id=%BUGID%
> > *.* = tsvn:logtemplate - BugID:
> >
> > In each of the locations I set these, the only one that successfully
> > applied with the initial import of a file, and then a checkout, was
> > the tsvn property. Don't know if that's because I was using tortoise
> > or not.
>
> You need to specify all these options on a single line in the config
> file, like this:
>
> *.* = svn:needs-lock=yes;bugtraq:loregexp=BugID:\s?(\d+)(,? ?(\d+))+
> (\d+);bugtraq:url=http://our-server:8080/show_bug.cgi?id=%BUGID
> %;tsvn:logtemplate=BugID:
>
> (If this is broken into multiple lines due to email encoding, please
> recombine it into a single line for the config file.)
>
Ah, thanks! I finally gave up with the config file and went with the
registry file but good to know. Should have taken the hint from the
registry entry that's like that once I saw it.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Fri Mar 9 16:10:30 2007