Blair Zajac <blair_at_orcaware.com> wrote on 08/22/2008 05:29:10 PM:
> Klaus Umbach wrote:
> >
> > > You only have to do it once per user. It's not elegant, but how
> > many users
> > > could you have converted in the time it took you to write this
> > mail..? But
> > > well, that's your decision. :)
> >
> >
> > It's hard enough to force them to use Subversion instead of a
> > Group-Fileshare...
> >
> >
> >
> > As I am using several repositories with different auto-props
rules, I
> > think the current solution is far from ideal.
> >
> >
> > I was playing around with apache-settings and mod_mime
> > (ModMimeUsePathInfo on), but that didn't help either...
>
> Not exactly what you're looking for, but you can use this:
>
>
http://svn.collab.net/repos/svn/trunk/contrib/client-side/svn_apply_autoprops.py
>
> on a working copy to apply all the missing properties and then commit
them. You
> could do this via a cron.
Also not exactly what you are looking for, but I wrote a python
post-commit hook script (or can be run from cron or the command
line) to automatically add any missing svn:needs-lock properties
as a new commit. It uses direct access to the repository, so a
working copy is not needed. This process will confuse some
users, because their working copy version will become instantly
out of date if they commit a file without the correct properties.
http://svn.collab.net/repos/svn/trunk/contrib/server-side/add-needs-lock.py
Obviously it would need to be rewritten to handle arbitrary auto props
to be useful for the original poster...
Kevin R.
Received on 2008-08-27 18:33:52 CEST