Uwe Brauer via Mercurial escribió/skribis/wrote/scrit 
(2025-06-24T14:31:10+0200):

> hg commit -m "$(hg log --rev 5 --template '{description}')"
> hg commit -m "$(hg log --rev 'p2()' --template '{description}')"
> 
> And I obtain 
> Illegal variable name.

It does not seem the reason of that error, but the template keyword to
get the commit description is `{desc}`, not `{description}`.

-- 
Marcos Cruz
http://programandala.net
_______________________________________________
Mercurial mailing list
Mercurial@lists.mercurial-scm.org
https://lists.mercurial-scm.org/mailman/listinfo/mercurial

Reply via email to