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

Re: permanent solution for deltification problem (issue #1601)

From: Branko Čibej <brane_at_xbc.nu>
Date: 2003-11-26 06:48:24 CET

kfogel@collab.net wrote:

>Branko Čibej <brane@xbc.nu> writes:
>
>
>>It's a lot harder to figure out a relative path from $REPOS to the
>>Subversion install dir in the hook (and squared that in Windows batch
>>files!) than it is for "svnadmin create" to say
>>
>> cp `dirname $0`/svndeltify $REPOS/hooks
>>
>>(or the C equivalent, of course).
>>
>>
>
>I confess I don't see why that would be true...
>
Ah, that's unless you want to _generate_ the hook script from a template
at repo creation time.

Which gives me an idea... there's a third option: "svnadmin create"
could write it's location into a repository config file, then the repos
layer could always find it. And we could put deltification parameters in
there, too. I think I'm beginning to like this solution best.

-- 
Brane Čibej   <brane_at_xbc.nu>   http://www.xbc.nu/brane/
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Wed Nov 26 06:53:56 2003

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