Confirmed (was: Emacs users:vc-region-history only for git so far.)

Uwe Brauer oub at mat.ucm.es
Wed Jan 17 16:51:36 UTC 2018


>>> "Yuya" == Yuya Nishihara <yuya at tcha.org> writes: 
 
   > On Tue, 16 Jan 2018 22:30:08 +0100, Uwe Brauer wrote: 
   >> In case it is not clear, the command is  git log -p 
   >> -L10,20:foo.c  for printing the history of lines 10 to 20 of 
   >> file foo.c   Is  there anything similar in HG? 
 
   > Maybe "hg log -fp -L foo.c,10:20" ? 
 

I did the following

    -  I created a git repo with one file and run 3 commits then
       git log -p -L10,20:foo.c


    -  I created a hg repo with one file and run 3 commits then 
       hg log -fp -L foo.c,10:20

The result is very very similar thanks.

Ok I see whether I will give it a try this weekend.




More information about the Mercurial mailing list