English 中文(简体)
我怎么能创造防止新领导人的mer?
原标题:How can I create a mercurial hook that prevents new heads?

我有几个储存库已经从特别志愿人员协会转变,我们想要向前推进,确保当人们推向存放处时,他们能够创造更多的负责人。 。 TipsAndTricks wiki page, 防止在有多个负责人的情况下推进工作,但我如何能够建立防止推进new<>的 h。 负责人

这样做的正确方式似乎是将负责人人数从修订0: 父母,然后对0:tip进行比较,但我似乎无法找到这样做的办法。 <代码>hg头——r$HG_NODE只向我显示用户首次投入使用之后的负责人人数。

最佳回答

使用<代码>hg ci-m 封闭的分支部门,即:锁定/编码,关闭除一名主管外的所有单位,然后采用普通单头 h。

问题回答

否则,<代码>hg Bull/code>就阻止了其他负责人的推移,要求悬挂-f国旗。 你们可以写上“雇佣军”的延伸,使其无视这一旗帜,从而有效地使新领导人失去动力。

尽管如此,我会质疑机械地劝阻新领导人的智慧。 相反,我会训练你的团队在推进之前进行适当合并,同时仍然允许他们在感觉到的少见时刻这样做,特别是因为南方共同市场已经警告你。





相关问题
Can I clone part of a Mercurial repository?

Is it possible to clone part of a Mercurial repository? Let s say the repository is quite large, or contains multiple projects, or multiple branches. Can I clone only part of the repository? E.g. in ...

Sync files in Two Different Repos using HG

I ve got a problem when I try to sync files in two different repos. What I want to do is: I ve got 2 repos A and B, and they share some common files, suppose they lie in A/docs/common/ and B/docs/...

Tips on upgrading CVS to git/hg?

We still use CVS, I use git and hg for my personal use though I m still a novice at both, but I realize they re much more modern and better, faster, distributed, etc. It s just everyone is so ...

git for mercurial like git-svn

Hello is there a tool for git that allow to work with mercurial repositories F.e. for svn there is a git-svn package, that allows to clone/commit/update from svn and work in a git way.. So is there ...

Useful Mercurial Hooks [closed]

What are some useful Mercurial hooks that you have come across? A few example hooks are located in the Mercurial book: acl bugzilla notify check for whitespace I personally don t find these very ...