"hg since" extension

Matt Mackall mpm at selenic.com
Wed Nov 11 21:53:02 CST 2009


On Wed, 2009-11-11 at 20:28 -0600, Augie Fackler wrote:
> On Wed, Nov 11, 2009 at 5:22 PM, CG Linden <cg at lindenlab.com> wrote:
> > Wouldn't 1.3 be an ancestor of 1.3.1? or do you transplant?
> 
> 1.3 is an ancestor of 1.3.1, but work has been done in main that
> didn't go into stable - thus there are revisions in soon-to-be-1.4
> that are not descendants of 1.3.1, but it'd still be nice to see them
> with since.

Looks like a good time to mention the --prune flag to log. For instance,
here's how to find everything new that's going to show up in 1.4:

hg log -P 1.3.1 -M -r 0: --template "{desc|firstline}\n"

-- 
http://selenic.com : development and support for Mercurial and Linux




More information about the Mercurial-devel mailing list