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

Re: svn update with post-commit hook

From: Mark Phippard <MarkP_at_softlanding.com>
Date: 2005-04-14 21:43:39 CEST

jzorzi@marketlinksolutions.com wrote on 04/14/2005 03:36:07 PM:

> When i use the require authentication in my http.conf in order to
control
> access to the subversion repository i can' use the post-commit script to
run
> an svn update <working copy>. It is requiring a password for the user
apache
> to to access the repository. I still want people to have to login in
order to
> access the repo but i need to have the web server autoupdated on a
commit.

a) Add the --username -password switches to your command in your hook.

b) If this is all on the same server, just use the file:// URL instead of
http:// in your hook.

Mark

_____________________________________________________________________________
Scanned for SoftLanding Systems, Inc. by IBM Email Security Management Services powered by MessageLabs.
_____________________________________________________________________________

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Thu Apr 14 21:45:34 2005

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.