octave-maintainers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Advices on Mercurial history search


From: Mike Miller
Subject: Re: Advices on Mercurial history search
Date: Tue, 25 Sep 2018 10:54:00 -0700
User-agent: Mutt/1.10.1 (2018-07-13)

On Tue, Sep 25, 2018 at 17:40:04 +0200, Pantxo Diribarne wrote:
> Now comes the precise question: is there any magic "hg log XXX" call that
> would let me find the specific changeset in which current lines N to N+M
> were added to graphics.cc?

I typically use 'hg grep --all ${pattern}' to search for when a
particular comment or line of code was added. Or if I am only looking at
a particular file, I may use 'hg log -p ${file}' and search
interactively using less.

I have not had much luck with 'hg blame' on the Octave code tree because
there are often many changes in organization, indentation, formatting,
and spelling lying between the head and the actual change I am
interested in.

-- 
mike

Attachment: signature.asc
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]