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

Re: Post-commit client script not running when committing files on a network drive

From: Felix Saphir <felix.saphir_at_kantarmedia.de>
Date: Mon, 03 May 2010 11:01:37 +0200

Robby Ceyssens schrieb:
> Any other ideas or should I report this as a bug ?
>
> -----Original Message----- From: Robby Ceyssens
> [mailto:Robby_at_Livios.be] Sent: donderdag 29 april 2010 8:59 To:
> users_at_tortoisesvn.tigris.org Subject: RE: Post-commit client script
> not running when committing files on a network drive
>
> No, the hook script is located on the local drive. The share is
> mapped to a drive letter.
>
> PS: The hook script doesn't run when located on a mapped network
> drive (I already discussed this in another thread).
>
> Robby
>
> -----Original Message----- From: Stefan Küng
> [mailto:tortoisesvn_at_gmail.com] Sent: woensdag 28 april 2010 21:13 To:
> users_at_tortoisesvn.tigris.org Subject: Re: Post-commit client script
> not running when committing files on a network drive
>
> On 28.04.2010 17:34, Robby Ceyssens wrote:
>> I configured a post-commit client script in Tortoise v1.6.8 and the
>> script works fine when committing files on the local drives. When
>> I commit files on a network drive the post-commit script never runs
>> ?
>
> is the script located on the share? Or just the working copy? is the
> share mapped to a drive letter or are you using UNC paths to access
> the share?
>
> The scripts won't run on UNC paths since the windows shell execute
> won't allow that due to security restrictions.

Have you tried debugging your script? I have no experience with client
side hook scripts, but the documentation says, the CWD is set to the
common root directory of all affected paths. So, if the working copy is
on a network share, the CWD should point there as well ... Could this
cause the problem you're experiencing?

Felix

------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=4061&dsMessageId=2601719

To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2010-05-03 11:01:49 CEST

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

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