log between branches including everything from in between branches

Matt Mackall mpm at selenic.com
Wed Jun 24 17:12:50 UTC 2015


On Wed, 2015-06-24 at 09:24 +0200, Ike Casteleyn wrote:
> Hi,
> 
>  
> 
> I’m looking for a way
> to get the log-description between 2 versions of my software.
> 
> This would be used to
> generate releasenotes.
> 
>  
> 
> I have attached a
> screenshot of a test-repo (my ascii-art skills are not that good).              

hg log -G does ascii art for you.

> Running “log –r 1.1.5::3.1.4”
> does not give enough information.

This means "show me everything after 1.1.5 (x::) and before 3.1.4
(::x)". This works well for some situations, but not here.

You probably want:

hg log -r "::3.1.4 - ::1.1.5"

In other words, "show me everything in 3.1.4 that's not in 1.1.5".

-- 
Mathematics is the supreme nostalgia of our time.




More information about the Mercurial mailing list