Use Subversion tags for identifying specific snapshots (deployed versions), and Subversion branches for historical versions of the code that are in use and may need small changes or bugfixes independent from trunk development. For some commonly used repository layouts see Common Branching Patterns in the "Version Control with Subversion" book.
It's an open source project (it's also available on GitHub) we did to keep our staging and live environments synchronized with SVN. It's web based then you can updates your remote working copies without using SSH accesses.
发布评论
评论(2)
使用 Subversion 标签来识别特定的快照(已部署版本),并使用 Subversion 分支来识别正在使用的代码的历史版本,并且可能需要独立于主干开发的小更改或错误修复。对于一些常用的存储库布局,请参阅常见分支模式 “使用 Subversion 进行版本控制”一书。
Use Subversion tags for identifying specific snapshots (deployed versions), and Subversion branches for historical versions of the code that are in use and may need small changes or bugfixes independent from trunk development. For some commonly used repository layouts see Common Branching Patterns in the "Version Control with Subversion" book.
您可以为当前的“开发”打开一个分支,并为“生产”版本保留主干。
示例:live 版本 1.0
示例:dev 版本 1.1
然后,您和您的开发人员同事将在分支
dev
上工作,同时从trunk
签出实时环境服务器。像这样的结构,具有集成服务器、临时服务器和具有不同客户端的实时服务器。
如果您想看一下:
http://api.mutado.com/mobile/svndeploy/< /a>
这是一个开源项目(也可以在 GitHub 上找到),我们这样做是为了使我们的暂存和实时环境与 SVN 保持同步。它基于 Web,因此您无需使用 SSH 访问即可更新远程工作副本。
希望有帮助。
再见!
you can open a branch for your current "development" and keep the trunk for your "production" version.
Example: live version 1.0
Example: dev version 1.1
Then, you and your fellow developers will work on the branch
dev
while the live environment server is checked out form thetrunk
We have a structure like this with an integration server, a staging server and a live server with different clients.
If you want take a look to this:
http://api.mutado.com/mobile/svndeploy/
It's an open source project (it's also available on GitHub) we did to keep our staging and live environments synchronized with SVN. It's web based then you can updates your remote working copies without using SSH accesses.
Hope it helps.
Ciao!