[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-12-02 18:59:34 CET

C. Michael Pilato wrote:

>Branko Čibej <brane@xbc.nu> writes:
>>Swell. Then we don't need a generated hook program, just a config file
>>and logic in the repos layer to call "svnadmin deltify". Much easier to
>>do this portably than generating hook scripts for all the shells in the
>Alright. I hate to be dense about all this,
No worries, you're never denser than water, and that's pretty runny most
of the time. :-p

> but would it be possible
>for one single person (Brane, Karl, solo turn, whoever) to write one
>single email (or, alternatively, one single post into the issue
>comments) which describes, in full, the proposed solution for all
>known operating systems. I can't make heads or tails of the thread.
Here goes.

When creating the repository, svnadmin will create a file in
<repos>/config (or use an existing one, for all I know) and write the

    svnadmin-path = /foo/bar/qux/svnadmin
    auto-deltify = on
    # other params

It will figure out the 'svnadmin-path' parameter like so:

    svnadmin-path = svn_path_get_absolute(argv[0]);

which should work everywhere.

After the commit -- in the post-commit hook phase -- the repos layer
will read this config file and launch "svnadmin deltify" as a separate

Or some variant thereof.

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 Tue Dec 2 19:00:24 2003

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.