Warning: file_get_contents(/data/phpspider/zhask/data//catemap/0/mercurial/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Version control 在Mercurial MQ扩展中更新提交消息_Version Control_Mercurial_Mercurial Queue - Fatal编程技术网

Version control 在Mercurial MQ扩展中更新提交消息

Version control 在Mercurial MQ扩展中更新提交消息,version-control,mercurial,mercurial-queue,Version Control,Mercurial,Mercurial Queue,使用hg qnew和hg qrefresh创建并更新我要应用到存储库的修补程序后,但我在执行hg qnew时编写的提交消息不是很好,它没有引用trac的票证号,我想在其中谈一谈我的提交所解决的一些问题 如何执行类似于hg qrewritemycommitmessage的操作。我已经检查了,结果是空白的。除了 $ hg qrefresh -m "new message" kuy建议,您也可以使用 $ hg qrefresh -e 编辑当前消息。我发现这非常方便,因为我经常有多行提交消息,我需要

使用
hg qnew
hg qrefresh
创建并更新我要应用到存储库的修补程序后,但我在执行
hg qnew
时编写的提交消息不是很好,它没有引用trac的票证号,我想在其中谈一谈我的提交所解决的一些问题


如何执行类似于
hg qrewritemycommitmessage
的操作。我已经检查了,结果是空白的。

除了

$ hg qrefresh -m "new message"
kuy建议,您也可以使用

$ hg qrefresh -e

编辑当前消息。我发现这非常方便,因为我经常有多行提交消息,我需要在补丁的生命周期中多次修改这些消息。事实上,我总是创建没有提交消息的修补程序-只是
hg qnew foo
-然后在我继续的过程中编辑提交消息。

+1-更有用,因为在实现代码更改之前,您不一定知道要写什么。