log between branches including everything from in between branches

Ike Casteleyn icasteleyn at hotmail.com
Wed Jun 24 19:11:14 UTC 2015


Hi Matt,
hg log -r "::3.1.4 - ::1.1.5"
Simple and works like a charm.Thanks for the explanation too.
Best regards,Ike

> Subject: Re: log between branches including everything from in between branches
> From: mpm at selenic.com
> To: icasteleyn at hotmail.com
> CC: mercurial at selenic.com
> Date: Wed, 24 Jun 2015 12:12:50 -0500
> 
> 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.
> 
 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mercurial-scm.org/pipermail/mercurial/attachments/20150624/ffbb0788/attachment-0002.html>


More information about the Mercurial mailing list