annotate hgscm/templates/tricks/02 @ 77:fb737a306703

templatetags: Add mercurial_tricks templatetag mercurial_tricks displays a random 'trick' from the templates/tricks/ directory. The intention is to show the visitor various tricks around mercurial, how to do certain things during browsing.
author David Soria Parra <dsp@php.net>
date Fri, 20 Feb 2009 15:12:33 +0100
parents
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
77
fb737a306703 templatetags: Add mercurial_tricks templatetag
David Soria Parra <dsp@php.net>
parents:
diff changeset
1 <strong>Fold commits</strong>
fb737a306703 templatetags: Add mercurial_tricks templatetag
David Soria Parra <dsp@php.net>
parents:
diff changeset
2 <pre>
fb737a306703 templatetags: Add mercurial_tricks templatetag
David Soria Parra <dsp@php.net>
parents:
diff changeset
3 $ hg qimport -r tip -n 'tofold.patch'
fb737a306703 templatetags: Add mercurial_tricks templatetag
David Soria Parra <dsp@php.net>
parents:
diff changeset
4 $ hg qpop
fb737a306703 templatetags: Add mercurial_tricks templatetag
David Soria Parra <dsp@php.net>
parents:
diff changeset
5 $ hg qimport -r tip
fb737a306703 templatetags: Add mercurial_tricks templatetag
David Soria Parra <dsp@php.net>
parents:
diff changeset
6 $ hg qfold 'tofold.patch'
fb737a306703 templatetags: Add mercurial_tricks templatetag
David Soria Parra <dsp@php.net>
parents:
diff changeset
7 $ hg qfinish -a
fb737a306703 templatetags: Add mercurial_tricks templatetag
David Soria Parra <dsp@php.net>
parents:
diff changeset
8 </pre>