[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: reposurgeon now writes Subversion repositories

From: Daniel Shahaf <d.s_at_daniel.shahaf.name>
Date: Fri, 30 Nov 2012 10:04:09 +0200

Martin Furter wrote on Fri, Nov 30, 2012 at 09:51:20 +0530:
> On 11/30/12 00:55, Eric S. Raymond wrote:
>> Ben Reser<ben_at_reser.org>:
>>> The only thing that's really lacking here is a good way to pass along
>>> extra property values in an easy to configure way per
>>> server/repository so that you can use a client defined value to put it
>>> in svn:author. I don't really see adding support for something like
>>> that as terribly difficult. The only caveat I would make is that you
>>> should realize the change here is a client side change and that it'll
>>> take some time for users to upgrade clients (most distros are still
>>> shipping SVN 1.6 over a year after 1.7 released).
>>>
>>> Once you have something like that, you can expose it to the hook
>>> scripts and they can change the svn:author field to whatever the local
>>> repository prefers. If local repositories want to store the local
>>> authenticated user in a different property they can also do this.
>>
>> Sounds like I should write that patch to make a preferred-ID string
>> available out of ~/.subversion/config, then. As soon as possible.
>
> I wanted to reply that this should go into ~/.subversion/servers. But i
> found the entry "username" in there. So just add a username entry to the
> global section.

If you can have a username= in the per-server section, you probably can
have it _today_ in the [global] section too and it would take effect
(just like N other options that can be set at either global or
per-server scope)...

So you'd need to invent a new option?
Received on 2012-11-30 09:05:11 CET

This is an archived mail posted to the Subversion Dev mailing list.