[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: Mike Mason <mgm_at_thoughtworks.net>
Date: 2003-11-26 14:39:20 CET

kfogel@collab.net wrote:

>Branko ─îibej <brane@xbc.nu> writes:
>>An installed batch file must use an absolute, hardcoded path. That's my
>Hmmm. A hook file can use paths relative to the $REPOS directory,
>since that's one of the hook parameters...

If you're in a batch file, the magic %~dp0 evaluates to the directory in
which the currently executing batch script is stored. So if "svnadmin
create" copied the deltification utility to the hooks directory and you
had post-commit.bat with:

rem Run deltification
%~dp0svndeltify.exe %REPOS%

you'd avoid any hardcoded paths.

This is all a bit grim. Does anyone really want to run a Subversion
server on Windows? ;-)


To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Wed Nov 26 14:40:41 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.