>>> "MC" == Marcos Cruz writes:
> 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.
>>> "MC" == Marcos Cruz writes:
> 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.
>>> "MC" == Marcos Cruz writes:
> 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.
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
>>> "PD" == Pierre-Yves David writes:
> You can use shell scripting to feed the message of the first one into
> the second.
> hg commit -m "$(hg log --rev OTHER_REV --template '{description}')"
> If you do this often, you can use a shell alias to make it faster.
> If you don't want to spe
You can use shell scripting to feed the message of the first one into
the second.
hg commit -m "$(hg log --rev OTHER_REV --template '{description}')"
If you do this often, you can use a shell alias to make it faster.
If you don't want to specify OTHER_REV by hand, you can use revset to
s
I've recently started using the stable / default branching model as
described here:
https://stevelosh.com/blog/2010/05/mercurial-workflows-stable-default/
Everything is going well apart from one slight annoyance. For example,
let's say I make a small change on the default branch and want to
merge