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

Re: Windows hooks and shadow folders

From: Jeff Marder <jeff.marder_at_yahoo.com>
Date: 2006-08-12 03:05:59 CEST

Is the hook not executing at all or is it just the svn update that's failing? If the hook is executing are you able to get any useful output like an error message? You may also want to check that drive path. I assume that with the drive letter 'z' it's a mapped network drive. I'm not familiar with running Subversion on Windows, but if it's running as a service without a user interactively logged in then network drive mappings will not be available. Mapped drives are per user and not per machine. You might try using a UNC path instead. Hope this helps.


----- Original Message ----
From: Garrett Fitzgerald <sarekofvulcan@gmail.com>
To: users@subversion.tigris.org
Sent: Friday, August 11, 2006 8:11:47 PM
Subject: Windows hooks and shadow folders

I'm trying to implement Shadow Folder functionality with a post-commit
hook doing an SVN Update. Not elegant, but it should work.

When I run the batch file manually, it works, but it doesn't fire when
I do a commit. I named the file repospath\hooks\post-commit.bat, and
it contains the following line:

"c:\program files\subversion\bin\svn" update z:\ShadowFolderName

SVNService is set to log in as me, if that's relevant. Both SYSTEM and
I seem to have read/write/execute to anything I'm likely to need.

Any thoughts? Thanks.

To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Sat Aug 12 03:07:17 2006

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

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