templates/search.tmpl
author Bryan O'Sullivan <bos@serpentine.com>
Sat, 17 Sep 2005 00:27:27 -0700
changeset 1270 fc3b41570082
parent 538 7140bc781655
child 1410 17703aa4491e
permissions -rw-r--r--
Switch to new syntax for .hgignore files. Here is the new syntax, in summary. Trailing white space is dropped. The escape character is "\". Comments start with #. Empty lines are skipped. Lines can be of the following formats: syntax: regexp # defaults following lines to non-rooted regexps syntax: glob # defaults following lines to non-rooted globs re:pattern # non-rooted regular expression glob:pattern # non-rooted glob pattern # pattern of the current default type The default pattern type is regexp, which is completely backwards compatible with the old hgignore syntax. In the dirstate class, the ignore method has been reworked to be based on the util.matcher function, by way of a new dirstate.hgignore method.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
538
7140bc781655 Add multiple keyword search to hgweb
mpm@selenic.com
parents:
diff changeset
     1
#header#
7140bc781655 Add multiple keyword search to hgweb
mpm@selenic.com
parents:
diff changeset
     2
<title>#repo|escape#: searching for #query|escape#</title>
7140bc781655 Add multiple keyword search to hgweb
mpm@selenic.com
parents:
diff changeset
     3
</head>
7140bc781655 Add multiple keyword search to hgweb
mpm@selenic.com
parents:
diff changeset
     4
<body>
7140bc781655 Add multiple keyword search to hgweb
mpm@selenic.com
parents:
diff changeset
     5
7140bc781655 Add multiple keyword search to hgweb
mpm@selenic.com
parents:
diff changeset
     6
<div class="buttons">
7140bc781655 Add multiple keyword search to hgweb
mpm@selenic.com
parents:
diff changeset
     7
<a href="?cmd=changelog;rev=#rev#">changelog</a>
7140bc781655 Add multiple keyword search to hgweb
mpm@selenic.com
parents:
diff changeset
     8
<a href="?cmd=tags">tags</a>
7140bc781655 Add multiple keyword search to hgweb
mpm@selenic.com
parents:
diff changeset
     9
<a href="?cmd=manifest;manifest=#manifest#;path=/">manifest</a>
7140bc781655 Add multiple keyword search to hgweb
mpm@selenic.com
parents:
diff changeset
    10
</div>
7140bc781655 Add multiple keyword search to hgweb
mpm@selenic.com
parents:
diff changeset
    11
7140bc781655 Add multiple keyword search to hgweb
mpm@selenic.com
parents:
diff changeset
    12
<h2>searching for #query|escape#</h2>
7140bc781655 Add multiple keyword search to hgweb
mpm@selenic.com
parents:
diff changeset
    13
7140bc781655 Add multiple keyword search to hgweb
mpm@selenic.com
parents:
diff changeset
    14
<form>
7140bc781655 Add multiple keyword search to hgweb
mpm@selenic.com
parents:
diff changeset
    15
search:
7140bc781655 Add multiple keyword search to hgweb
mpm@selenic.com
parents:
diff changeset
    16
<input type="hidden" name="cmd" value="changelog">
7140bc781655 Add multiple keyword search to hgweb
mpm@selenic.com
parents:
diff changeset
    17
<input name="rev" type="text" width="30" value="#query|escape#">
7140bc781655 Add multiple keyword search to hgweb
mpm@selenic.com
parents:
diff changeset
    18
</form>
7140bc781655 Add multiple keyword search to hgweb
mpm@selenic.com
parents:
diff changeset
    19
7140bc781655 Add multiple keyword search to hgweb
mpm@selenic.com
parents:
diff changeset
    20
#entries#
7140bc781655 Add multiple keyword search to hgweb
mpm@selenic.com
parents:
diff changeset
    21
7140bc781655 Add multiple keyword search to hgweb
mpm@selenic.com
parents:
diff changeset
    22
<form>
7140bc781655 Add multiple keyword search to hgweb
mpm@selenic.com
parents:
diff changeset
    23
search:
7140bc781655 Add multiple keyword search to hgweb
mpm@selenic.com
parents:
diff changeset
    24
<input type="hidden" name="cmd" value="changelog">
7140bc781655 Add multiple keyword search to hgweb
mpm@selenic.com
parents:
diff changeset
    25
<input name="rev" type="text" width="30">
7140bc781655 Add multiple keyword search to hgweb
mpm@selenic.com
parents:
diff changeset
    26
</form>
7140bc781655 Add multiple keyword search to hgweb
mpm@selenic.com
parents:
diff changeset
    27
7140bc781655 Add multiple keyword search to hgweb
mpm@selenic.com
parents:
diff changeset
    28
#footer#