templates/search.tmpl
author Matt Mackall <mpm@selenic.com>
Fri, 01 Jun 2007 18:40:14 -0500
changeset 4478 b2b55acbacdd
parent 4470 1196998c62e3
permissions -rw-r--r--
Add support for url#id syntax This allows you to do: hg clone http://server/repo#stable which is equivalent to: hg clone -r stable http://server/repo Future incoming, outgoing, and push commands will default to using this id because it's recorded in the default path. Other commands that accept URLs (push, pull, bundle, incoming, and outgoing) also accept this syntax.

#header#
<title>#repo|escape#: searching for #query|escape#</title>
</head>
<body>

<div class="buttons">
<a href="#url#log{sessionvars%urlparameter}">changelog</a>
<a href="#url#shortlog{sessionvars%urlparameter}">shortlog</a>
<a href="#url#tags{sessionvars%urlparameter}">tags</a>
<a href="#url#file/#node|short#{sessionvars%urlparameter}">manifest</a>
#archives%archiveentry#
</div>

<h2>searching for #query|escape#</h2>

<form>
{sessionvars%hiddenformentry}
<p>
search:
<input name="rev" type="text" width="30" value="#query|escape#">
</p>
</form>

#entries#

<form>
{sessionvars%hiddenformentry}
<p>
search:
<input name="rev" type="text" width="30" value="#query|escape#">
</p>
</form>

#footer#