开发者

Select a modification in hg diff

开发者 https://www.devze.com 2023-02-12 09:38 出处:网络
with 开发者_JAVA技巧hg diff mercurial show me the modifications, separated by @@. I can get only one of them?If you are on Windows, I would recommend installing TortoiseHg and using

with

开发者_JAVA技巧
hg diff  

mercurial show me the modifications, separated by @@.

I can get only one of them?


If you are on Windows, I would recommend installing TortoiseHg and using

hgtk status


The modifications separated by @@ are named "patch hunk" or simply "hunk". You can use the record extension (disabled by default).


You can pipe the output of hg diff into a program like filterdiff to further refine the patch.


On Ubuntu, try the hgview program. It has a pretty nice interface.

0

精彩评论

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

关注公众号