开发者

Sync code across computers

Right now I manage a small team of developers. We use subversion for all of our code. Interested to know开发者_开发知识库 if there is a tool that enables developers to all work from the same code base versus each having their own local code?


There are many ways to do this but I don't think you should try. Private working copies of source code is a proven method that was created specifically to prevent developers from having to work on a single copy of the code base.

Source control is a good thing and I wouldn't recommend moving away from it.


I dont quite understand your question. Maybe you need source control system like git or bazaar - they have local branches (each dev may have his own) and allow sync'ing code with centralized repositories.


You could put the code on a network share, but I highly agree with Andrew Hare's view that you should stick with private working copies (+1 to his answer from me).

If you could post your reason behind this question, perhaps the community can help you find a good solution to the actual problem.


This cannot possibly be what you want. The whole point of using source code control is so that you don't work on the same physical copy of your source tree.

Please elaborate on what problem you really want to solve.


For some reason it seems like you aren't using SVN correctly. SVN enable you to all use the same code base. The code base is stored in the svn repository. You edit your local copy, and then when you are satisfied with those changes, you commit them to SVN. If you want a copy of the current code base, you can export it from SVN. Editing your own local copy and then committing to the repository ensures that you aren't overwriting anybody else's changes.


I have to agree with Andrew Hare, source control is a good thing and should be used. It enables you to roll back one developers changes in a very controlled way

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜