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

svn update in post-commit hook

From: Rob Brandt <bronto_at_csd-bes.net>
Date: 2005-11-08 19:19:22 CET

svn --newbie

I have svn up and running on my debian server, using tortoise-svn on XP
workstations.

I would like to set up something that would "publish" HEAD to a web root
directory on each commit. This is a development server, not "live". I've been
reading the docs and it seems like it should be straightforward, but I just
starting looking at the command line arguments and I can't think through how
this is going to work. Specifically, permissions. My projects need to be
password protected, and the "published" files need to have the right user/group
permissions on the server.

I have been fooling around with the command line client, and I can get
checkouts/updates to work via http://, but not file://. I'm using AuthType:
Basic. Doing a checkout/update as root works, but the files then are owned by
user/group root. I see that there are switches for username/password in
checkout/update, but that seems to be for svn authorization, not system user
assignment.

Can someone point me in the right direction, or tell me I'm barking up the wrong
tree?

Lastly, it occurs to me that on the live server I can install svn as well, and
when I want to update the live server I can just svn update that as well, and
it will be sync'ed with trunk effectively. Is that a reasonable thing, or are
there gotchas that I'm not seeing?

Thanks

Rob

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Tue Nov 8 19:22:29 2005

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