topic: mention t0 in topic documentation stable
authorPierre-Yves David <pierre-yves.david@octobus.net>
Mon, 03 Sep 2018 17:28:50 +0200
branchstable
changeset 4068 eb9fa25091c7
parent 4040 7c22a7187695
child 4073 d54a4b9c1d01
topic: mention t0 in topic documentation
hgext3rd/topic/__init__.py
--- a/hgext3rd/topic/__init__.py	Wed Aug 29 10:46:37 2018 +0200
+++ b/hgext3rd/topic/__init__.py	Mon Sep 03 17:28:50 2018 +0200
@@ -30,7 +30,9 @@
 
 Topic is offering you aliases reference to changeset in your current topic
 stack as 't#'. For example, 't1' refers to the root of your stack, 't2' to the
-second commits, etc. The 'hg stack' command show these number.
+second commits, etc. The 'hg stack' command show these number. 't0' can be used
++to refer to the parent of the topic root. Updating using `hg up t0` will keep
++the topic active.
 
 Push behavior will change a bit with topic. When pushing to a publishing
 repository the changesets will turn public and the topic data on them will fade