开发者

Select a modification in hg diff

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜