I’ve got Collabnet SVN server installed on windows. Additionally, I have implemented a post-commit hook that should update a working copy “B” of a project when I commit to the repository from a working copy “A”. Working copy “B” resides on a network drive [H -> \\ip-address\users\myDirB ]:
- Now when I specify the line of code below, in my post-commit hook and commit a change-set from working Copy “A”:
SET WORKING_COPY=H:/myDirB
I get the error:
svn post-commit hook : “error resolving case”
- Alternatively if I specify:
SET WORKING_COPY=//ip-address/users/myDirB
I get the error:
“skipped \ip-address\users\myDirB””
What am I doing wrong? Cheers.
Please note :
* Collabnet Subversion server is installed on my C: drive
-
it’s running as a service account with full privileges over the network directory I want to update automatically via the post-commit hook i.e – \\ip-address\users\myDirB*
-
I also have the path \\ip-address\users\myDirB mapped on to H: drive
can not work, since cmd.exe needs a plain path (drive letter, colon, relative path). It can not deal with other paths like UNC or ip addresses. It must have a drive letter.
this however doesn’t work because you mapped H: to something as the user you’re logged on. But the hook script is running as the user your svn server is running, i.e. as the service account. And the service account does not have the
H:drive mapped.