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

login
register
mail settings
Submitter Alexander Plavin
Date Sept. 24, 2013, 9:07 a.m.
Message ID <7ca143257833d023d514.1380013678@debian-alexander.dolgopa>
Download mbox | patch
Permalink /patch/2622/
State Accepted
Commit 544848ef65f284f507002d9ae37d8b15b305c7f5
Headers show

Comments

Alexander Plavin - Sept. 24, 2013, 9:07 a.m.
# HG changeset patch
# User Alexander Plavin <alexander@plav.in>
# Date 1378459857 -14400
#      Fri Sep 06 13:30:57 2013 +0400
# Node ID 7ca143257833d023d51407c862d47dde2e08732e
# Parent  ef6a2f2ed8e13251f68a0996ec502e11d2f4c3a6
paper: edit search hint to include new feature description
Matt Mackall - Sept. 24, 2013, 5:36 p.m.
On Tue, 2013-09-24 at 13:07 +0400, Alexander Plavin wrote:
> # HG changeset patch
> # User Alexander Plavin <alexander@plav.in>
> # Date 1378459857 -14400
> #      Fri Sep 06 13:30:57 2013 +0400
> # Node ID 7ca143257833d023d51407c862d47dde2e08732e
> # Parent  ef6a2f2ed8e13251f68a0996ec502e11d2f4c3a6
> paper: edit search hint to include new feature description

These are queued for default, thanks.

Patch

diff -r ef6a2f2ed8e1 -r 7ca143257833 mercurial/templates/paper/map
--- a/mercurial/templates/paper/map	Fri Sep 06 13:30:56 2013 +0400
+++ b/mercurial/templates/paper/map	Fri Sep 06 13:30:57 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 ef6a2f2ed8e1 -r 7ca143257833 tests/test-help.t
--- a/tests/test-help.t	Fri Sep 06 13:30:56 2013 +0400
+++ b/tests/test-help.t	Fri Sep 06 13:30:57 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 ef6a2f2ed8e1 -r 7ca143257833 tests/test-hgweb-commands.t
--- a/tests/test-hgweb-commands.t	Fri Sep 06 13:30:56 2013 +0400
+++ b/tests/test-hgweb-commands.t	Fri Sep 06 13:30:57 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">
@@ -373,7 +374,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>
@@ -514,7 +516,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">
@@ -785,7 +788,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 ef6a2f2ed8e1 -r 7ca143257833 tests/test-hgweb-descend-empties.t
--- a/tests/test-hgweb-descend-empties.t	Fri Sep 06 13:30:56 2013 +0400
+++ b/tests/test-hgweb-descend-empties.t	Fri Sep 06 13:30:57 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 ef6a2f2ed8e1 -r 7ca143257833 tests/test-hgweb-diffs.t
--- a/tests/test-hgweb-diffs.t	Fri Sep 06 13:30:56 2013 +0400
+++ b/tests/test-hgweb-diffs.t	Fri Sep 06 13:30:57 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 ef6a2f2ed8e1 -r 7ca143257833 tests/test-hgweb-empty.t
--- a/tests/test-hgweb-empty.t	Fri Sep 06 13:30:56 2013 +0400
+++ b/tests/test-hgweb-empty.t	Fri Sep 06 13:30:57 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">
@@ -169,7 +170,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">
@@ -271,7 +273,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">
@@ -406,7 +409,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 ef6a2f2ed8e1 -r 7ca143257833 tests/test-hgweb-filelog.t
--- a/tests/test-hgweb-filelog.t	Fri Sep 06 13:30:56 2013 +0400
+++ b/tests/test-hgweb-filelog.t	Fri Sep 06 13:30:57 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 ef6a2f2ed8e1 -r 7ca143257833 tests/test-hgweb-removed.t
--- a/tests/test-hgweb-removed.t	Fri Sep 06 13:30:56 2013 +0400
+++ b/tests/test-hgweb-removed.t	Fri Sep 06 13:30:57 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 ef6a2f2ed8e1 -r 7ca143257833 tests/test-hgweb.t
--- a/tests/test-hgweb.t	Fri Sep 06 13:30:56 2013 +0400
+++ b/tests/test-hgweb.t	Fri Sep 06 13:30:57 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 ef6a2f2ed8e1 -r 7ca143257833 tests/test-highlight.t
--- a/tests/test-highlight.t	Fri Sep 06 13:30:56 2013 +0400
+++ b/tests/test-highlight.t	Fri Sep 06 13:30:57 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>