Convertin a stack of changeset to a topic

Georges Racinet georges.racinet at octobus.net
Sun Mar 15 20:00:30 UTC 2020


On 3/15/20 7:57 PM, Alessandro Dentella wrote:
> what is the proper way to convert a stack of changeset to a topi, in case I
> realize I forgot to start it in the proper moment?

Forgetting to set the topic, or the topic been cleared before I commit
happens to me a lot…

That would be `hg topic -r REVSET TOPIC_NAME`.

If you have stack aliases, something like `s1::s5` can be used for
REVSET (do not use a simple ':')

I'm sure there's an even simpler form, but that's the one I'm used to.


Best,


-- 
Georges Racinet
https://octobus.net, https://heptapod.net
GPG: BF5456F4DC625443849B6E58EE20CA44EF691D39, sur serveurs publics


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <http://lists.mercurial-scm.org/pipermail/mercurial/attachments/20200315/e29b9119/attachment.asc>


More information about the Mercurial mailing list