# HG changeset patch # User Steve Losh # Date 1259111943 18000 # Node ID dbc039b68a9f33f8fb1b3e3f31fedf8fc4985b42 # Parent 213be62d55e29f438d8ee979293033cf1cdd9463 Update the docs to include the {patches} keyword. diff -r 213be62d55e2 -r dbc039b68a9f docs/.venv --- /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 diff -r 213be62d55e2 -r dbc039b68a9f docs/wiki/documentation/keywords/index.mdown --- 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.