开发者

Locking a mercurial branch before release

H开发者_如何学Pythonow do I lock the entire branch of a mercurial? I get this requirements normally before the release...


Instead of branching and locking, you might want to clone the entire repo to another location and not allow anyone to push to it, e.g. by not setting up any access methods to it over the network. Joel from joelonsoftware has written an excellent tutorial explaining 'proper' mercurial workflows: http://hginit.com


Consider using hg acl extension. With it you could block user access to certain branches during pre-release time on your main repository.

The other option is just to clone the main repository in safe place and not allow anybody to access it. After release is done it should be easy to reintegrate it with main repository.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜