[PATCH 2 of 2 topic-experiment] topics: add t0 and b0 to the stack

Sean Farley sean at farley.io
Wed Jul 5 01:01:02 UTC 2017


Pulkit Goyal <7895pulkit at gmail.com> writes:

> # HG changeset patch
> # User Pulkit Goyal <7895pulkit at gmail.com>
> # Date 1499112014 -19800
> #      Tue Jul 04 01:30:14 2017 +0530
> # Node ID b4b5c5331caec02c1e26bda42ec997fcb7b6af93
> # Parent  a34d7939ee661c45cdb1c0f60fde410723ec7a62
> topics: add t0 and b0 to the stack
>
> t0 or b0 will be the base of the stack and it's the parent of t1 or b1. The cool
> thing about this is that if you update to t0 using `hg up t0` or do `hg prev` on
> t1, you will be updated to t0 with the current topic preserved.
>
> This patch adds t0 to stack and implement the preserving topic case for t0 while
> using `hg update`.

Looks pretty cool to me.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 800 bytes
Desc: not available
URL: <http://lists.mercurial-scm.org/pipermail/mercurial-devel/attachments/20170704/1a00171a/attachment.asc>


More information about the Mercurial-devel mailing list