tests/test-topic-tutorial.t
changeset 3384 2b06f144b6e0
parent 3377 4f75e0a5d82d
child 3411 e1f3e43a50a4
equal deleted inserted replaced
3383:733e01473ec2 3384:2b06f144b6e0
   573       	4 -> 5	 [arrowhead=none,
   573       	4 -> 5	 [arrowhead=none,
   574       		penwidth=2.0];
   574       		penwidth=2.0];
   575       }
   575       }
   576 #endif
   576 #endif
   577 
   577 
       
   578 There exists a template keyword named "topic" which can be used
       
   579 
       
   580   $ hg log -GT "{rev}:{node|short} {topic}\n {desc}"
       
   581   @  5:2d50db8b5b4c food
       
   582   |   adding fruits
       
   583   o  4:4011b46eeb33 food
       
   584   |   adding condiments
       
   585   o  3:6104862e8b84
       
   586   |   Adding clothes
       
   587   o  0:38da43f0a2ea
       
   588       Shopping list
       
   589 
   578 The topic information will disappear when we publish the changesets:
   590 The topic information will disappear when we publish the changesets:
   579 
   591 
   580   $ hg topics
   592   $ hg topics
   581    * food (2 changesets)
   593    * food (2 changesets)
   582 
   594