Template to output if a checkout is modified

Matt Mackall mpm at selenic.com
Fri Nov 30 23:10:35 UTC 2012


On Sat, 2012-12-01 at 00:38 +0300, anatoly techtonik wrote:
> Is it possible to output if working copy is modified with template?
> 
> $ hg parents --template="{rev}"
> 2331
>
> Similar to how id command reports it:
> $ hg id -n
> 2331+

No.

-- 
Mathematics is the supreme nostalgia of our time.





More information about the Mercurial mailing list