Patchwork [3,of,3,V2] paper: edit search hint to include new feature description

login
register
mail settings
Submitter Alexander Plavin
Date Aug. 16, 2013, 8:11 p.m.
Message ID <f7bc8b8c3f1ca6bf2122.1376683883@debian-alexander.dolgopa>
Download mbox | patch
Permalink /patch/2195/
State Superseded
Commit 544848ef65f284f507002d9ae37d8b15b305c7f5
Headers show

Comments

Alexander Plavin - Aug. 16, 2013, 8:11 p.m.
# HG changeset patch
# User Alexander Plavin <alexander@plav.in>
# Date 1374700121 -14400
#      Thu Jul 25 01:08:41 2013 +0400
# Node ID f7bc8b8c3f1ca6bf2122411ca2edc4d4792ed936
# Parent  0eefb2daf844d832d177a37a001113e8ae368982
paper: edit search hint to include new feature description

Patch

diff -r 0eefb2daf844 -r f7bc8b8c3f1c mercurial/templates/paper/map
--- a/mercurial/templates/paper/map	Fri Aug 16 23:21:50 2013 +0400
+++ b/mercurial/templates/paper/map	Thu Jul 25 01:08:41 2013 +0400
@@ -244,4 +244,5 @@ 
 hiddenformentry = '<input type="hidden" name="{name}" value="{value|escape}" />'
 breadcrumb = '&gt; <a href="{url|urlescape}">{name|escape}</a> '
 
-searchhint = 'find changesets by author, revision, files, or words in the commit message'
+searchhint = 'Find changesets by keywords (author, files, the commit message), revision
+  number or hash, or <a href="{url|urlescape}help/revsets">revset expression</a>.'
diff -r 0eefb2daf844 -r f7bc8b8c3f1c tests/test-help.t
--- a/tests/test-help.t	Fri Aug 16 23:21:50 2013 +0400
+++ b/tests/test-help.t	Thu Jul 25 01:08:41 2013 +0400
@@ -923,7 +923,8 @@ 
   <form class="search" action="/log">
   
   <p><input name="rev" id="search1" type="text" size="30" /></p>
-  <div id="hint">find changesets by author, revision, files, or words in the commit message</div>
+  <div id="hint">Find changesets by keywords (author, files, the commit message), revision
+  number or hash, or <a href="/help/revsets">revset expression</a>.</div>
   </form>
   <table class="bigtable">
   <tr><td colspan="2"><h2><a name="main" href="#topics">Topics</a></h2></td></tr>
@@ -1482,7 +1483,8 @@ 
   <form class="search" action="/log">
   
   <p><input name="rev" id="search1" type="text" size="30" /></p>
-  <div id="hint">find changesets by author, revision, files, or words in the commit message</div>
+  <div id="hint">Find changesets by keywords (author, files, the commit message), revision
+  number or hash, or <a href="/help/revsets">revset expression</a>.</div>
   </form>
   <div id="doc">
   <p>
@@ -1647,7 +1649,8 @@ 
   <form class="search" action="/log">
   
   <p><input name="rev" id="search1" type="text" size="30" /></p>
-  <div id="hint">find changesets by author, revision, files, or words in the commit message</div>
+  <div id="hint">Find changesets by keywords (author, files, the commit message), revision
+  number or hash, or <a href="/help/revsets">revset expression</a>.</div>
   </form>
   <div id="doc">
   <p>
@@ -1842,7 +1845,8 @@ 
   <form class="search" action="/log">
   
   <p><input name="rev" id="search1" type="text" size="30" /></p>
-  <div id="hint">find changesets by author, revision, files, or words in the commit message</div>
+  <div id="hint">Find changesets by keywords (author, files, the commit message), revision
+  number or hash, or <a href="/help/revsets">revset expression</a>.</div>
   </form>
   <div id="doc">
   <h1>Specifying Single Revisions</h1>
diff -r 0eefb2daf844 -r f7bc8b8c3f1c tests/test-hgweb-commands.t
--- a/tests/test-hgweb-commands.t	Fri Aug 16 23:21:50 2013 +0400
+++ b/tests/test-hgweb-commands.t	Thu Jul 25 01:08:41 2013 +0400
@@ -258,7 +258,8 @@ 
   <form class="search" action="/log">
   
   <p><input name="rev" id="search1" type="text" size="30" value="" /></p>
-  <div id="hint">find changesets by author, revision, files, or words in the commit message</div>
+  <div id="hint">Find changesets by keywords (author, files, the commit message), revision
+  number or hash, or <a href="/help/revsets">revset expression</a>.</div>
   </form>
   
   <div class="navigate">
@@ -361,7 +362,8 @@ 
   <form class="search" action="/log">
   
   <p><input name="rev" id="search1" type="text" size="30" /></p>
-  <div id="hint">find changesets by author, revision, files, or words in the commit message</div>
+  <div id="hint">Find changesets by keywords (author, files, the commit message), revision
+  number or hash, or <a href="/help/revsets">revset expression</a>.</div>
   </form>
   
   <div class="description">base</div>
@@ -502,7 +504,8 @@ 
   <form class="search" action="/log">
   
   <p><input name="rev" id="search1" type="text" size="30" value="base"></p>
-  <div id="hint">find changesets by author, revision, files, or words in the commit message</div>
+  <div id="hint">Find changesets by keywords (author, files, the commit message), revision
+  number or hash, or <a href="/help/revsets">revset expression</a>.</div>
   </form>
   
   <div class="navigate">
@@ -773,7 +776,8 @@ 
   <form class="search" action="/log">
   
   <p><input name="rev" id="search1" type="text" size="30" /></p>
-  <div id="hint">find changesets by author, revision, files, or words in the commit message</div>
+  <div id="hint">Find changesets by keywords (author, files, the commit message), revision
+  number or hash, or <a href="/help/revsets">revset expression</a>.</div>
   </form>
   
   <div class="description">Added tag 1.0 for changeset 2ef0ac749a14</div>
diff -r 0eefb2daf844 -r f7bc8b8c3f1c tests/test-hgweb-descend-empties.t
--- a/tests/test-hgweb-descend-empties.t	Fri Aug 16 23:21:50 2013 +0400
+++ b/tests/test-hgweb-descend-empties.t	Thu Jul 25 01:08:41 2013 +0400
@@ -76,7 +76,8 @@ 
   <form class="search" action="/log">
   
   <p><input name="rev" id="search1" type="text" size="30" /></p>
-  <div id="hint">find changesets by author, revision, files, or words in the commit message</div>
+  <div id="hint">Find changesets by keywords (author, files, the commit message), revision
+  number or hash, or <a href="/help/revsets">revset expression</a>.</div>
   </form>
   
   <table class="bigtable">
diff -r 0eefb2daf844 -r f7bc8b8c3f1c tests/test-hgweb-diffs.t
--- a/tests/test-hgweb-diffs.t	Fri Aug 16 23:21:50 2013 +0400
+++ b/tests/test-hgweb-diffs.t	Thu Jul 25 01:08:41 2013 +0400
@@ -84,7 +84,8 @@ 
   <form class="search" action="/log">
   
   <p><input name="rev" id="search1" type="text" size="30" /></p>
-  <div id="hint">find changesets by author, revision, files, or words in the commit message</div>
+  <div id="hint">Find changesets by keywords (author, files, the commit message), revision
+  number or hash, or <a href="/help/revsets">revset expression</a>.</div>
   </form>
   
   <div class="description">a</div>
@@ -245,7 +246,8 @@ 
   <form class="search" action="/log">
   <p></p>
   <p><input name="rev" id="search1" type="text" size="30" /></p>
-  <div id="hint">find changesets by author, revision, files, or words in the commit message</div>
+  <div id="hint">Find changesets by keywords (author, files, the commit message), revision
+  number or hash, or <a href="/help/revsets">revset expression</a>.</div>
   </form>
   
   <div class="description">b</div>
@@ -346,7 +348,8 @@ 
   <form class="search" action="/log">
   
   <p><input name="rev" id="search1" type="text" size="30" /></p>
-  <div id="hint">find changesets by author, revision, files, or words in the commit message</div>
+  <div id="hint">Find changesets by keywords (author, files, the commit message), revision
+  number or hash, or <a href="/help/revsets">revset expression</a>.</div>
   </form>
   
   <div class="description">a</div>
@@ -511,7 +514,8 @@ 
   <form class="search" action="/log">
   <p></p>
   <p><input name="rev" id="search1" type="text" size="30" /></p>
-  <div id="hint">find changesets by author, revision, files, or words in the commit message</div>
+  <div id="hint">Find changesets by keywords (author, files, the commit message), revision
+  number or hash, or <a href="/help/revsets">revset expression</a>.</div>
   </form>
   
   <div class="description">b</div>
@@ -609,7 +613,8 @@ 
   <form class="search" action="/log">
   <p></p>
   <p><input name="rev" id="search1" type="text" size="30" /></p>
-  <div id="hint">find changesets by author, revision, files, or words in the commit message</div>
+  <div id="hint">Find changesets by keywords (author, files, the commit message), revision
+  number or hash, or <a href="/help/revsets">revset expression</a>.</div>
   </form>
   
   <div class="description">a</div>
@@ -729,7 +734,8 @@ 
   <form class="search" action="/log">
   <p></p>
   <p><input name="rev" id="search1" type="text" size="30" /></p>
-  <div id="hint">find changesets by author, revision, files, or words in the commit message</div>
+  <div id="hint">Find changesets by keywords (author, files, the commit message), revision
+  number or hash, or <a href="/help/revsets">revset expression</a>.</div>
   </form>
   
   <div class="description">c</div>
@@ -851,7 +857,8 @@ 
   <form class="search" action="/log">
   <p></p>
   <p><input name="rev" id="search1" type="text" size="30" /></p>
-  <div id="hint">find changesets by author, revision, files, or words in the commit message</div>
+  <div id="hint">Find changesets by keywords (author, files, the commit message), revision
+  number or hash, or <a href="/help/revsets">revset expression</a>.</div>
   </form>
   
   <div class="description">d</div>
diff -r 0eefb2daf844 -r f7bc8b8c3f1c tests/test-hgweb-empty.t
--- a/tests/test-hgweb-empty.t	Fri Aug 16 23:21:50 2013 +0400
+++ b/tests/test-hgweb-empty.t	Thu Jul 25 01:08:41 2013 +0400
@@ -63,7 +63,8 @@ 
   <form class="search" action="/log">
   
   <p><input name="rev" id="search1" type="text" size="30" value="" /></p>
-  <div id="hint">find changesets by author, revision, files, or words in the commit message</div>
+  <div id="hint">Find changesets by keywords (author, files, the commit message), revision
+  number or hash, or <a href="/help/revsets">revset expression</a>.</div>
   </form>
   
   <div class="navigate">
@@ -157,7 +158,8 @@ 
   <form class="search" action="/log">
   
   <p><input name="rev" id="search1" type="text" size="30" value="" /></p>
-  <div id="hint">find changesets by author, revision, files, or words in the commit message</div>
+  <div id="hint">Find changesets by keywords (author, files, the commit message), revision
+  number or hash, or <a href="/help/revsets">revset expression</a>.</div>
   </form>
   
   <div class="navigate">
@@ -247,7 +249,8 @@ 
   <form class="search" action="/log">
   
   <p><input name="rev" id="search1" type="text" size="30" /></p>
-  <div id="hint">find changesets by author, revision, files, or words in the commit message</div>
+  <div id="hint">Find changesets by keywords (author, files, the commit message), revision
+  number or hash, or <a href="/help/revsets">revset expression</a>.</div>
   </form>
   
   <div class="navigate">
@@ -382,7 +385,8 @@ 
   <form class="search" action="/log">
   
   <p><input name="rev" id="search1" type="text" size="30" /></p>
-  <div id="hint">find changesets by author, revision, files, or words in the commit message</div>
+  <div id="hint">Find changesets by keywords (author, files, the commit message), revision
+  number or hash, or <a href="/help/revsets">revset expression</a>.</div>
   </form>
   
   <table class="bigtable">
diff -r 0eefb2daf844 -r f7bc8b8c3f1c tests/test-hgweb-filelog.t
--- a/tests/test-hgweb-filelog.t	Fri Aug 16 23:21:50 2013 +0400
+++ b/tests/test-hgweb-filelog.t	Thu Jul 25 01:08:41 2013 +0400
@@ -170,7 +170,8 @@ 
   <form class="search" action="/log">
   
   <p><input name="rev" id="search1" type="text" size="30" /></p>
-  <div id="hint">find changesets by author, revision, files, or words in the commit message</div>
+  <div id="hint">Find changesets by keywords (author, files, the commit message), revision
+  number or hash, or <a href="/help/revsets">revset expression</a>.</div>
   </form>
   
   <div class="navigate">
@@ -278,7 +279,8 @@ 
   <form class="search" action="/log">
   
   <p><input name="rev" id="search1" type="text" size="30" /></p>
-  <div id="hint">find changesets by author, revision, files, or words in the commit message</div>
+  <div id="hint">Find changesets by keywords (author, files, the commit message), revision
+  number or hash, or <a href="/help/revsets">revset expression</a>.</div>
   </form>
   
   <div class="navigate">
@@ -386,7 +388,8 @@ 
   <form class="search" action="/log">
   
   <p><input name="rev" id="search1" type="text" size="30" /></p>
-  <div id="hint">find changesets by author, revision, files, or words in the commit message</div>
+  <div id="hint">Find changesets by keywords (author, files, the commit message), revision
+  number or hash, or <a href="/help/revsets">revset expression</a>.</div>
   </form>
   
   <div class="navigate">
@@ -489,7 +492,8 @@ 
   <form class="search" action="/log">
   
   <p><input name="rev" id="search1" type="text" size="30" /></p>
-  <div id="hint">find changesets by author, revision, files, or words in the commit message</div>
+  <div id="hint">Find changesets by keywords (author, files, the commit message), revision
+  number or hash, or <a href="/help/revsets">revset expression</a>.</div>
   </form>
   
   <div class="navigate">
@@ -572,7 +576,8 @@ 
   <form class="search" action="/log">
   
   <p><input name="rev" id="search1" type="text" size="30"></p>
-  <div id="hint">find changesets by author, revision, files, or words in the commit message</div>
+  <div id="hint">Find changesets by keywords (author, files, the commit message), revision
+  number or hash, or <a href="/help/revsets">revset expression</a>.</div>
   </form>
   
   <div class="description">
diff -r 0eefb2daf844 -r f7bc8b8c3f1c tests/test-hgweb-removed.t
--- a/tests/test-hgweb-removed.t	Fri Aug 16 23:21:50 2013 +0400
+++ b/tests/test-hgweb-removed.t	Thu Jul 25 01:08:41 2013 +0400
@@ -65,7 +65,8 @@ 
   <form class="search" action="/log">
   
   <p><input name="rev" id="search1" type="text" size="30" /></p>
-  <div id="hint">find changesets by author, revision, files, or words in the commit message</div>
+  <div id="hint">Find changesets by keywords (author, files, the commit message), revision
+  number or hash, or <a href="/help/revsets">revset expression</a>.</div>
   </form>
   
   <div class="description">del</div>
@@ -189,7 +190,8 @@ 
   <form class="search" action="/log">
   <p></p>
   <p><input name="rev" id="search1" type="text" size="30" /></p>
-  <div id="hint">find changesets by author, revision, files, or words in the commit message</div>
+  <div id="hint">Find changesets by keywords (author, files, the commit message), revision
+  number or hash, or <a href="/help/revsets">revset expression</a>.</div>
   </form>
   
   <div class="description">del</div>
diff -r 0eefb2daf844 -r f7bc8b8c3f1c tests/test-hgweb.t
--- a/tests/test-hgweb.t	Fri Aug 16 23:21:50 2013 +0400
+++ b/tests/test-hgweb.t	Thu Jul 25 01:08:41 2013 +0400
@@ -81,7 +81,8 @@ 
   <form class="search" action="/log">
   
   <p><input name="rev" id="search1" type="text" size="30"></p>
-  <div id="hint">find changesets by author, revision, files, or words in the commit message</div>
+  <div id="hint">Find changesets by keywords (author, files, the commit message), revision
+  number or hash, or <a href="/help/revsets">revset expression</a>.</div>
   </form>
   
   <div class="description">
@@ -170,7 +171,8 @@ 
   <form class="search" action="/log">
   
   <p><input name="rev" id="search1" type="text" size="30"></p>
-  <div id="hint">find changesets by author, revision, files, or words in the commit message</div>
+  <div id="hint">Find changesets by keywords (author, files, the commit message), revision
+  number or hash, or <a href="/help/revsets">revset expression</a>.</div>
   </form>
   
   <div class="description">
@@ -247,7 +249,8 @@ 
   <form class="search" action="/log">
   
   <p><input name="rev" id="search1" type="text" size="30" /></p>
-  <div id="hint">find changesets by author, revision, files, or words in the commit message</div>
+  <div id="hint">Find changesets by keywords (author, files, the commit message), revision
+  number or hash, or <a href="/help/revsets">revset expression</a>.</div>
   </form>
   
   <table class="bigtable">
diff -r 0eefb2daf844 -r f7bc8b8c3f1c tests/test-highlight.t
--- a/tests/test-highlight.t	Fri Aug 16 23:21:50 2013 +0400
+++ b/tests/test-highlight.t	Thu Jul 25 01:08:41 2013 +0400
@@ -109,7 +109,8 @@ 
   <form class="search" action="/log">
   
   <p><input name="rev" id="search1" type="text" size="30" /></p>
-  <div id="hint">find changesets by author, revision, files, or words in the commit message</div>
+  <div id="hint">Find changesets by keywords (author, files, the commit message), revision
+  number or hash, or <a href="/help/revsets">revset expression</a>.</div>
   </form>
   
   <div class="description">a</div>
@@ -239,7 +240,8 @@ 
   <form class="search" action="/log">
   
   <p><input name="rev" id="search1" type="text" size="30" /></p>
-  <div id="hint">find changesets by author, revision, files, or words in the commit message</div>
+  <div id="hint">Find changesets by keywords (author, files, the commit message), revision
+  number or hash, or <a href="/help/revsets">revset expression</a>.</div>
   </form>
   
   <div class="description">a</div>