changeset 4068:eb9fa25091c7 stable

topic: mention t0 in topic documentation
author Pierre-Yves David <pierre-yves.david@octobus.net>
date Mon, 03 Sep 2018 17:28:50 +0200
parents 7c22a7187695
children d54a4b9c1d01
files hgext3rd/topic/__init__.py
diffstat 1 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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