Strip, David R wrote:
> Yes, I know that this executes locally under my credentials. I am also
> aware that it executes in an empty environment.
> I can execute the .bat file with correct results from the hooks
> directory regardless of whether or not it is mapped to drive. The hook
> does execute when the repository is mapped, but the exact same
> repository connected to a UNC name doesn't execute the hooks.
>
> I was not aware of the vulnerability under FILE://, but now that you
> mention it, I'm guessing the problem arises when two (or more) people
> try to commit (or otherwise modify) the repository at the same time.
> Since FILE:// provides no directory level locking, you can get seriously
> hosed. Is that the issue?
Whether directory level locking is available or not depends fully on the
network protocol and the filesystem on the server. If both support it,
Subversion can use it and you will be fine even if multiple accesses
happen at the same time. But lets face it: there simply isn't a network
that stable to never have problems. And one cut connection is enough to
leave a lock in the repository - you will have to execute an 'svnadmin
recover' on the repository before any other access will be possible.
And of course, if you run that command over the network and someone
tries to access the repo that very moment, your repository could get
screwed beyond repair. (svnadmin recover can't lock - it has to *remove*
left over locks, that's why an access at that time is fatal).
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 22:34:40 2007