JuanPablo
JuanPablo

Reputation: 24764

Select a modification in hg diff

with

hg diff  

mercurial show me the modifications, separated by @@.
I can get only one of them?

Upvotes: 3

Views: 181

Answers (4)

roshanjames
roshanjames

Reputation: 276

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

Upvotes: 1

Martin Geisler
Martin Geisler

Reputation: 73768

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

Upvotes: 1

shellholic
shellholic

Reputation: 6114

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

Upvotes: 2

Kevin
Kevin

Reputation: 4747

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

hgtk status

Upvotes: 2

Related Questions