Login | Register
My pages Projects Community openCollabNet

Discussions > users [DISABLED] > RE: globally setting auto-props

subversion
Discussion topic

Back to topic list

RE: globally setting auto-props

Author "DW Dennis Wheeler" <dwheeler at ag dot com>
Full name "DW Dennis Wheeler" <dwheeler at ag dot com>
Date 2009-04-14 13:46:06 PDT
Message thanks. I'll take a look at your scripts. It sounds like just what I'm
looking for.

> -----Original Message-----
> From: David Weintraub [mailto:qazwart at gmail dot com]
> Sent: Sunday, April 12, 2009 8:20 PM
> To: DW Dennis Wheeler
> Cc: users at subversion dot tigris dot org
> Subject: Re: globally setting auto-props
>
> As Andy Levy stated, there is no global setting for auto-props.
> However, if you provide a standard Subversion config file in
> a place where developers can grab it (like the company Wiki),
> and you use trigger scripts to enforce the property settings,
> your developers will quickly learn to set auto-props
> themselves. It would be nice to have a global setting, but I
> can tell you from experience that a pre-commit trigger works
> pretty well.
>
> I don't know if the standard Python pre-commit access control
> hook can verify that properties are set or not. You should
> check that one first since it's the standard Subversion
> pre-commit trigger. However, if that one doesn't check
> properties,, I have my own Perl version that does verify that
> particular properties are set and that they have the correct
> value. It can be found at
> <http://dl.getdropbox​.com/u/433257/hooks.​zip>.
>
> On Thu, Apr 9, 2009 at 12:56 PM, DW Dennis Wheeler
> <dwheeler at ag dot com> wrote:
> > I searched the docs and web and have so far been unable to find a
> > clear answer.
> >
> > I see that enabling auto-props in one's local client will set the
> > appropriately defined properties for some defined fileset for newly
> > added files -- but that's only local to that one user.
> >
> > How do I set that globally for all users?
> >
> > Can I simply copy the same settings from my
> ~/.subversion/config into
> > the server's conf/svnserve.conf file?
> >
> > for example:
> > -----------
> > [miscellany]
> > enable-auto-props = yes
> > [auto-props]
> > *.sql = svn:keywords=Revision
> >
> > --------------------​--------------------​--------------
> >
> http://subversion.ti​gris.org/ds/viewMess​age.do?dsForumId=106​5&dsMessag
> > eId=1617688
> >
> > To unsubscribe from this discussion, e-mail:
> [users-unsubscribe@s​ubversion.tigris.org​].
> >
>
>
>
> --
> David Weintraub
> qazwart at gmail dot com
>

« Previous message in topic | 4 of 4 | Next message in topic »

Messages

Show all messages in topic

globally setting auto-props "DW Dennis Wheeler" <dwheeler at ag dot com> "DW Dennis Wheeler" <dwheeler at ag dot com> 2009-04-09 13:37:25 PDT
     Re: globally setting auto-props levyam Andy Levy 2009-04-09 13:54:46 PDT
     Re: globally setting auto-props David Weintraub <qazwart at gmail dot com> David Weintraub <qazwart at gmail dot com> 2009-04-12 20:19:50 PDT
         RE: globally setting auto-props "DW Dennis Wheeler" <dwheeler at ag dot com> "DW Dennis Wheeler" <dwheeler at ag dot com> 2009-04-14 13:46:06 PDT
Messages per page: