You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Scott Plumlee <sc...@gmail.com> on 2007/02/26 22:40:47 UTC

Problems setting system wide auto-props on windows

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.

I think I must be mis-understanding how there properties work.  Can
anyone enlighten me?  Can I not set these as the default?

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

Problems setting system wide auto-props on windows

Posted by Scott Plumlee <sc...@gmail.com>.
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.

I think I must be mis-understanding how there properties work.  Can
anyone enlighten me?  Can I not set these as the default?

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

Re: Problems setting system wide auto-props on windows

Posted by Scott Plumlee <sc...@gmail.com>.
On 2/27/07, Ryan Schmidt <su...@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

Re: Problems setting system wide auto-props on windows

Posted by Ryan Schmidt <su...@ryandesign.com>.
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.)


-- 

To reply to the mailing list, please use your mailer's Reply To All  
function


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org