gpt4 book ai didi

mercurial - 在Mercurial中,是否可以在Web View 中显示两个修订之间的差异?

转载 作者:行者123 更新时间:2023-12-02 02:12:26 24 4
gpt4 key购买 nike

在命令行中,命令将像这样运行:

hg diff -r250 -r260 path/to/myfile.py

是否可以在Web View 中获得类似 View ?像 this这样的差异 View ,但是有两个不成功的修订版?

最佳答案

目前尚不可行(自Mercurial 2.3起)。

Mercurial 2.3版引入了并排比较 View ,但仅显示了每个变更集(即修订版及其父版本之间)引入的差异。

我建议使用第三方的,基于GUI的差异工具,并启用和配置Mercurial的extdiff扩展以使用它。然后,您可以通过extdiff运行diff命令:

hg extdiff -r250 -r260 path/to/myfile.py

关于mercurial - 在Mercurial中,是否可以在Web View 中显示两个修订之间的差异?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/12165004/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com