Highlight single lines in Mercurial?

I use Workbench, but if there is a command line solution for this or some extension, I am also open to it.

I constantly work in configuration files for each environment ( while working in .NET, so please do not respond to โ€œmodify your configuration filesโ€, etc. ), and sometimes I need to fix certain updates for the file. I saw this behavior in the Github client for Mac, but something similar in Mercurial / Workbench? eg.

web.config

config value="123"
whatever blah blah

change both lines for example.

config value="42"
whatever

My goal is to commit only row 2 ( regardless ), not posting row 1 ( configuration value = "42" )

+4
3

, , RecordExtension, Mercurial, .

+4

Record Extention . , , .

CRecord Extention, . .

: Record CRecord . commit -i record, .hgrc, .

[ui]
interface=curses                                                      
+2

hg record ou hg commit -i , e , . :

-config value="123"
-whatever blah blah
+config value="42"
+whatever

 config value="123"
-whatever blah blah
+whatever

, .

0
source

Source: https://habr.com/ru/post/1535762/


All Articles