How do you setup a shared Working Copy in Subversion

前端 未结 9 2283
盖世英雄少女心
盖世英雄少女心 2021-02-08 08:04

I still very new using Subversion.

Is it possible to have a working copy on a network available share (c:\\svn\\projects\\website) that everyone (in this case 3 of use)

9条回答
  •  灰色年华
    2021-02-08 08:34

    You are meant to have your SVN repository, and each user (with their own username and password to access the SVN repository) should check out their own working copy.

    It is possible to do this on a single PC (is that your problem, PCs with multiple developers sharing it?) by having different PC user accounts and having the people check out into their own account, or even by sharing a PC user account and having the people check out into a different working folder. I don't think this is particularly neat or nice, and if a company can't afford a PC per developer these days then it is hardly worth working for!

    I recommend:

    1. Each employee has their own working copy on their own PC.

    2. There should be an ANT or Maven or similar build script that will allow a developer to build and deploy from their working copy onto the development web server so they can see how it is. This could be simple as "copy files to this shared location".

    3. As each employee has their own SVN username/password you can see who made which change, and lock people out when they leave the company.

    4. This might create a process that a designer has to follow rather than the anarchy you have currently, but if it takes any of them more than half a day to pick up SVN and how to run a build script to deploy to the development web server then you've got bigger problems.

提交回复
热议问题