dbc039b68a9f

Update the docs to include the {patches} keyword.
[view raw] [browse files]
author Steve Losh <steve@stevelosh.com>
date Tue, 24 Nov 2009 20:19:03 -0500
parents 213be62d55e2
children 82579d6dbcd4
branches/tags (none)
files docs/.venv docs/wiki/documentation/keywords/index.mdown

Changes

--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/docs/.venv	Tue Nov 24 20:19:03 2009 -0500
@@ -0,0 +1,1 @@
+markdoc
--- a/docs/wiki/documentation/keywords/index.mdown	Tue Nov 24 20:00:55 2009 -0500
+++ b/docs/wiki/documentation/keywords/index.mdown	Tue Nov 24 20:19:03 2009 -0500
@@ -65,6 +65,42 @@
     |unapplied
     :   Display the number of currently unapplied patches in the queue.
 
+##patches##
+:   Display a list of the current patches in the queue.  It will look like
+    this:
+        
+        :::console
+        $ hg prompt '{patches}'
+        bottom-patch -> middle-patch -> top-patch
+    
+    |reverse
+    :   Display the patches in reverse order (i.e. topmost first).
+    
+    |hide_applied
+    :   Do not display applied patches.
+    
+    |hide_unapplied
+    :   Do not display unapplied patches.
+    
+    |join(SEP)
+    :   Display SEP between each patch, instead of the default ` -> `.
+    
+    |pre_applied(STRING)
+    :   Display STRING immediately before each applied patch.  Useful for
+        adding color codes.
+    
+    |post_applied(STRING)
+    :   Display STRING immediately after each applied patch.  Useful for
+        resetting color codes.
+    
+    |pre_unapplied(STRING)
+    :   Display STRING immediately before each unapplied patch.  Useful for
+        adding color codes.
+    
+    |post_unapplied(STRING)
+    :   Display STRING immediately after each unapplied patch.  Useful for
+        resetting color codes.
+
 ##rev##
 :   Display the repository-local changeset number of the current parent.