Extracting bare revision numbers from $ hg log (or something similar)

Matt Mackall mpm at selenic.com
Tue Aug 23 22:20:14 UTC 2016


On Tue, 2016-08-23 at 07:42 +0000, Alan Mackenzie wrote:
> Hello, Nathan.
> 
> On Mon, Aug 22, 2016 at 01:23:41PM -0500, Nathan Goldbaum wrote:
> > 
> > Append "-T '{rev}\n'" to your use of "hg log". See "hg help templates" for
> > more information about mercurial's template system.
> That is a truly magnificent reply, exactly what I need!  Thank you very
> much.

You might also want to read "hg help revsets" for details on how to do more
sophisticated queries.

-- 
Mathematics is the supreme nostalgia of our time.




More information about the Mercurial mailing list