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

RE: Updating to repository, Not to SITE

From: Jake Robb <jakerobb_at_mac.com>
Date: 2005-12-08 20:13:20 CET

You need to do an svn update from your webserver after you do an svn commit
from your workstation in order for the webserver to show the changed files.
The repository is NOT the directory from which you originally created the
repository. It is stored elsewhere, and not in a format which would allow
you to simply set up a web server to serve the contents. The fact that your
repository server and your web server are the same machine is not relevant.
(I'm guessing at that fact).

 

Have you read the Subversion Book? It sounds to me like you have some
misconceptions about the way SVN works. It's here:

http://svnbook.red-bean.com/

 

I think you may get the results you wanted by setting up a frequent cron
script on your server to update from the repository. However, I think you
should reconsider this. It's not generally considered good practice to have
a webserver immediately reflect changes made to the repository head. You'll
want to create some sort of deployment script which you trigger manually in
order to make changes reflect on the webserver.

 

-Jake

 

 

 

  _____

From: King, Rogie [mailto:RoKing@carroll.edu]
Sent: Thursday, December 08, 2005 12:59 PM
To: users@subversion.tigris.org
Subject: Updating to repository, Not to SITE

 

 

I have SVN installed on my server. I just started working here and I have
two issues:

 

When I do an SVN commit from either Tortoise SVN or Smart SVN, the log
emails say the file is committed, but is NOT written to the server
repository, therefore my site reflects no changes.

 

If I checkout the repository to a new folder, it downloads the new commits.
I have no doubt that the SVN repository is updating, but the files never get
to the main server.

 

If anyone can help me, thanks a million. I have been working on this for 4
DAYS. I'm gettin a little tired, so help would be greatly appreciated.

 

-Rogie
Received on Thu Dec 8 21:22:21 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.