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

Re: Bug Report: Hooks not executed on repository connected via File to UNC path

From: Stefan Küng <tortoisesvn_at_gmail.com>
Date: 2007-08-31 21:35:18 CEST

Strip, David R wrote:
> I have a repository on repository_host/svn
> If I connect to this repository via FILE://repository_host/svn,
> TortoiseSVN doesn't execute the hook scripts.
> If, on the other hand, I first map repository_host to some drive, say
> Z:, then if I connect to FILE://Z:/svn,
> the hook scripts are executed.
>
> There are various bits and pieces of Windows that don't behave well with
> UNC paths, perhaps this is related?

Most likely, this is not a bug in SVN. There are many, many reasons why
a script won't run on a network share.

For example, Windows has different access rights depending on how and
where a file is stored. A mounted network share has less restrictions
than a non-mounted network share. But of course, both need to be in the
'trusted zone' for windows to execute scripts there.

Another reason might be that the cmd.exe (the windows console) can't
handle UNC paths at all.

And there are many more reasons why the script fails.
My advice: don't use file:/// to access the repository but set up a
proper SVN server (apache or svnserve).

Stefan

-- 
        ___
   oo  // \\      "De Chelonian Mobile"
  (_,\/ \_/ \     TortoiseSVN
    \ \_/_\_/>    The coolest Interface to (Sub)Version Control
    /_/   \_\     http://tortoisesvn.net
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tortoisesvn.tigris.org
For additional commands, e-mail: users-help@tortoisesvn.tigris.org
Received on Fri Aug 31 21:32:24 2007

This is an archived mail posted to the TortoiseSVN Users mailing list.