打开Mercurial的rebase功能

Mercurial从版本1.1开始具有了rebase插件。但是默认这个插件是不打开的。因此需要手工将其打开。

方法很简单,打开$HOME/.hgrc(如果没有,则创建一个),添加如下内容:

[extensions]
mq =
rebase =

当你再次运行hg命令的时候,你就能找到rebase选项了。

Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-ShareAlike 3.0 License