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

subversion post-hook problem

From: J. Bakshi <joydeep_at_infoservices.in>
Date: Tue, 06 Oct 2009 16:33:41 +0530

Hello list,

Finally my subversion is working :-) I have configured post-commit
script to autoupdate svn repo. To achieve this I have written a
post-commit script as below

``````````````````````````````
#! /bin/bash
svn switch --relocate https://192.168.1.3/repos/testhook
file:///home/SVN/testhook
/usr/bin/svn up /srv/www/htdocs/kletterland
````````````````````````````````````

Then I have done

`````````````````
chown wwwrun:www post-commit
chown u+x post-commit
```````````````````````

And finally the permission on the repo itself

````````````````````
chown -R wwwrun:www home/SVN/testhook
``````````````````````

after importing some files into the repo; I have *successfully* checkout
from another machine. Now after editing a file whenever I try to commit
something I get

``````````````````````````````````````````````
Warning: post-commit hook failed (exit code 1) with output:
svn: '.' is not a working copy
Error validating server certificate for 'https://192.168.1.3:443':
 - The certificate is not issued by a trusted authority. Use the
   fingerprint to validate the certificate manually!
Certificate information:
 - Hostname: 192.168.1.3
 - Valid: from Thu, 04 Jun 2009 16:34:56 GMT until Fri, 04 Jun 2010
16:34:56 GMT
 - Issuer: infoservices, WB, IN
 - Fingerprint: 37:9c:48:ed:2b:27:4b:08:5b:e3:c2:c2:61:03:48:2d:b7:0f:91:86
(R)eject, accept (t)emporarily or accept (p)ermanently? svn: OPTIONS of
'https://192.168.1.3/repos/testhook': Server certificate verification
failed: issuer is not trusted (https://192.168.1.3)
```````````````````````````````````

obviously I accepted the certificate first by

``````````````
svn ls https://192.168.1.3/repos/testhook
````````````````````````````
What might be the fix to cope with this problem ?

thanks

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=2404017

To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
Received on 2009-10-06 13:04:44 CEST

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