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

Re: Subversion is convinced it's commiting, nothing happens, no errors

From: Mark Phippard <markphip_at_gmail.com>
Date: 2007-03-28 16:42:37 CEST

On 3/28/07, d.mcclure@yahoo.com <d.mcclure@yahoo.com> wrote:
>
> I am trying to take an existing document root for a webserver, e.g.
>
> /home/site.com/htdocs
>
> And make it editable via Subversion so user A can check out for example
> the file /home/site.com/htdocs/index.php, make changes, and commit them
> which should modify /home/site.com/htdocs/index.php on the server. This
> doesn't seem as if it needs to be terribly complex but I must be missing
> something obvious.
>
> Also, a programmer thought they were successfully doing this last night
> and made some revisions -- is there any way to tell exactly what they did
> from looking at the repository db or anything?
>

You need to specify the repository as a URL as I said in another email. If
you are not using a server, then specify file:/// for the URL. I would
recommend setting up svnserve and then using the svn:// URL as opposed to
file://

Also, Subversion cannot checkout individual files. So a developer would
need to checkout the entire web site and then commit their changes. If you
want to deploy those changes to the live web site you can do it with a hook
script or a cron job. For example, the web site can just be a checked out
working copy and when changes are made you just have to run the svn update
command.

-- 
Thanks
Mark Phippard
http://markphip.blogspot.com/
Received on Wed Mar 28 16:43:04 2007

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.