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

Clarification on checkout and post-commit update hook

From: Dan King <dan.king106_at_yahoo.com>
Date: Thu, 20 Aug 2009 13:51:04 -0700 (PDT)

I just installed and setup subversion on a windows server. I'd like to configure svn so that every 'commit' is reflected via update in the appropriate folder within the (web) server. The directory structure of the repository is below, and this structure is mimicked by the htdocs folder. When I checkout the folders/files from the repository into the web server's htdocs directory (i.e. the web server's 'working' directory), is there any particular way I should perform the checkout? Also, from my readings, I understand that I'll need a post-commit update hook; I'm not familiar with batch files so if anyone has done this before or knows of a good example please let me knows. Thanks.

repo/
| trunk/
| | application/
| | | models/
| | | views/
| | | controllers/
| |
| | public/
| | | stylesheets/
| | | javascripts/
| | | images/

htdocs/
| application/
| | models/
| | views/
| | controllers/
|
| public/ <--- web root
| | stylesheets/
| | javascripts/
| | images/

-Dan

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

To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
Received on 2009-08-20 23:04:18 CEST

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.