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

Re: SVN and PHP

From: Nicolai Scheer <scope_at_planetavent.de>
Date: 2007-07-16 16:11:42 CEST

Hi!

Ionut Caval [ TreeWorks ] schrieb:
> Hi,
> I have a working server of SVN, but the problem is that i don't know how
> to actually use the SVN with PHP.
>
> I was trying to do something like this:
> - all developers get the repository from repository files
> - they commit the changes to the same samba server on which they can
> test it in the browser
>
> The problem appears when they are editing the same files and they want
> to test it. The web file is overwritten so only the last user can see
> the actual changes he made. Ofcourse that the changes other users have
> made are not lost but it is difficult to work like this.

Since .php is usually server-interpreted the files have to be under some
 document root of a web server, thats obvious.
But there is no restriction in how many working copies you put into the
webroot.
Each user can have his/her own.
It is not clear to me, what your setup is, but it seems as if you are
committing, and do the testing afterwards. It should be the other way round.

So each user should get a subfolder of the webroot where he/she can
chekout things from the repository, modify and test through the browser.

hth,

Nico

Received on Mon Jul 16 16:11:15 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.