My team and I have decided to manage this issue using branches and tags in Subversion.
We will maintain a trunk of code that will serve as the base program. When we need to heavily modify the trunk for a new market, we will create a branch from the trunk and make the necessary changes there.
This will allow us the keep very good records of all the changes we make and where they have been applied.
发布评论
评论(3)
怎么样:
这在 PHP 中特别容易,你实际上可以在文件中的某处声明一个全局函数。
How about:
This is particularly easy in PHP where you can really just declare a global function in a file somewhere.
我建议阅读 Martin Fowler 所著的重构书的第一章。它解决了一个非常相似的困境。
I would recommend reading first chapter of the refactoring book, by Martin Fowler. It deals with a very similar dilemma.
感谢您提交的答案。
我和我的团队决定使用 Subversion 中的分支和标签来管理这个问题。
我们将维护一个代码主干作为基本程序。当我们需要为新市场大量修改主干时,我们将从主干创建一个分支并在那里进行必要的更改。
这将使我们能够很好地记录我们所做的所有更改及其应用位置。
Thank you for the submitted answers.
My team and I have decided to manage this issue using branches and tags in Subversion.
We will maintain a trunk of code that will serve as the base program. When we need to heavily modify the trunk for a new market, we will create a branch from the trunk and make the necessary changes there.
This will allow us the keep very good records of all the changes we make and where they have been applied.