[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: Toby Thain <toby_at_smartgames.ca>
Date: 2007-07-16 17:19:56 CEST

On 16-Jul-07, at 11:11 AM, Nicolai Scheer wrote:

> 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.

Or, depending on the site architecture and the scope of work being
done on it, each developer could have a working copy of the *entire*
site served as individual virtual hosts, e.g. peter.dev.oursite.com,
linda.dev.oursite.com (probably this is what Nicolai meant by, "Each
user can have his/her own").

Furthermore, each w.c. could be rooted in either trunk, or a branch -
and switched at will.

--Toby

>
> hth,
>
> Nico
>
>
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Mon Jul 16 17:19:19 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.