Mercurial > hg
annotate tests/test-hgweb-commands.t @ 12748:d10369fefd01
alias: fail gracefully when invalid global options are given (issue2442)
This patch modifies the check for shell aliases to prevent crashing when an invalid
global option is given.
When an invalid global option is given the check will simply return and let the
normal error handling for this case happen.
author | Steve Losh <steve@stevelosh.com> |
---|---|
date | Sun, 17 Oct 2010 13:24:37 -0400 |
parents | d664547ef540 |
children | 7439ea4146f8 |
rev | line source |
---|---|
12433
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
1 An attempt at more fully testing the hgweb web interface. |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
2 The following things are tested elsewhere and are therefore omitted: |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
3 - archive, tested in test-archive |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
4 - unbundle, tested in test-push-http |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
5 - changegroupsubset, tested in test-pull |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
6 |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
7 Set up the repo |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
8 |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
9 $ hg init test |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
10 $ cd test |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
11 $ mkdir da |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
12 $ echo foo > da/foo |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
13 $ echo foo > foo |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
14 $ hg ci -Ambase |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
15 adding da/foo |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
16 adding foo |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
17 $ hg tag 1.0 |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
18 $ echo another > foo |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
19 $ hg branch stable |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
20 marked working directory as branch stable |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
21 $ hg ci -Ambranch |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
22 $ hg serve --config server.uncompressed=False -n test -p $HGPORT -d --pid-file=hg.pid -E errors.log |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
23 $ cat hg.pid >> $DAEMON_PIDS |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
24 |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
25 Logs and changes |
5590
05451f6b5f07
add more tests for hgweb commands
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents:
diff
changeset
|
26 |
12433
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
27 $ "$TESTDIR/get-with-headers.py" 127.0.0.1:$HGPORT '/log/?style=atom' |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
28 200 Script output follows |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
29 |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
30 <?xml version="1.0" encoding="ascii"?> |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
31 <feed xmlns="http://www.w3.org/2005/Atom"> |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
32 <!-- Changelog --> |
12643
d08bb64888bc
tests: reintroduce ":$HGPORT" in test output
Mads Kiilerich <mads@kiilerich.com>
parents:
12433
diff
changeset
|
33 <id>http://*:$HGPORT/</id> (glob) |
d08bb64888bc
tests: reintroduce ":$HGPORT" in test output
Mads Kiilerich <mads@kiilerich.com>
parents:
12433
diff
changeset
|
34 <link rel="self" href="http://*:$HGPORT/atom-log"/> (glob) |
d08bb64888bc
tests: reintroduce ":$HGPORT" in test output
Mads Kiilerich <mads@kiilerich.com>
parents:
12433
diff
changeset
|
35 <link rel="alternate" href="http://*:$HGPORT/"/> (glob) |
12433
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
36 <title>test Changelog</title> |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
37 <updated>1970-01-01T00:00:00+00:00</updated> |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
38 |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
39 <entry> |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
40 <title>branch</title> |
12643
d08bb64888bc
tests: reintroduce ":$HGPORT" in test output
Mads Kiilerich <mads@kiilerich.com>
parents:
12433
diff
changeset
|
41 <id>http://*:$HGPORT/#changeset-1d22e65f027e5a0609357e7d8e7508cd2ba5d2fe</id> (glob) |
d08bb64888bc
tests: reintroduce ":$HGPORT" in test output
Mads Kiilerich <mads@kiilerich.com>
parents:
12433
diff
changeset
|
42 <link href="http://*:$HGPORT/rev/1d22e65f027e"/> (glob) |
12433
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
43 <author> |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
44 <name>test</name> |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
45 <email>test</email> |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
46 </author> |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
47 <updated>1970-01-01T00:00:00+00:00</updated> |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
48 <published>1970-01-01T00:00:00+00:00</published> |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
49 <content type="xhtml"> |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
50 <div xmlns="http://www.w3.org/1999/xhtml"> |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
51 <pre xml:space="preserve">branch</pre> |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
52 </div> |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
53 </content> |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
54 </entry> |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
55 <entry> |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
56 <title>Added tag 1.0 for changeset 2ef0ac749a14</title> |
12643
d08bb64888bc
tests: reintroduce ":$HGPORT" in test output
Mads Kiilerich <mads@kiilerich.com>
parents:
12433
diff
changeset
|
57 <id>http://*:$HGPORT/#changeset-a4f92ed23982be056b9852de5dfe873eaac7f0de</id> (glob) |
d08bb64888bc
tests: reintroduce ":$HGPORT" in test output
Mads Kiilerich <mads@kiilerich.com>
parents:
12433
diff
changeset
|
58 <link href="http://*:$HGPORT/rev/a4f92ed23982"/> (glob) |
12433
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
59 <author> |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
60 <name>test</name> |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
61 <email>test</email> |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
62 </author> |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
63 <updated>1970-01-01T00:00:00+00:00</updated> |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
64 <published>1970-01-01T00:00:00+00:00</published> |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
65 <content type="xhtml"> |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
66 <div xmlns="http://www.w3.org/1999/xhtml"> |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
67 <pre xml:space="preserve">Added tag 1.0 for changeset 2ef0ac749a14</pre> |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
68 </div> |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
69 </content> |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
70 </entry> |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
71 <entry> |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
72 <title>base</title> |
12643
d08bb64888bc
tests: reintroduce ":$HGPORT" in test output
Mads Kiilerich <mads@kiilerich.com>
parents:
12433
diff
changeset
|
73 <id>http://*:$HGPORT/#changeset-2ef0ac749a14e4f57a5a822464a0902c6f7f448f</id> (glob) |
d08bb64888bc
tests: reintroduce ":$HGPORT" in test output
Mads Kiilerich <mads@kiilerich.com>
parents:
12433
diff
changeset
|
74 <link href="http://*:$HGPORT/rev/2ef0ac749a14"/> (glob) |
12433
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
75 <author> |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
76 <name>test</name> |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
77 <email>test</email> |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
78 </author> |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
79 <updated>1970-01-01T00:00:00+00:00</updated> |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
80 <published>1970-01-01T00:00:00+00:00</published> |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
81 <content type="xhtml"> |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
82 <div xmlns="http://www.w3.org/1999/xhtml"> |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
83 <pre xml:space="preserve">base</pre> |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
84 </div> |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
85 </content> |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
86 </entry> |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
87 |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
88 </feed> |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
89 $ "$TESTDIR/get-with-headers.py" 127.0.0.1:$HGPORT '/log/1/?style=atom' |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
90 200 Script output follows |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
91 |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
92 <?xml version="1.0" encoding="ascii"?> |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
93 <feed xmlns="http://www.w3.org/2005/Atom"> |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
94 <!-- Changelog --> |
12643
d08bb64888bc
tests: reintroduce ":$HGPORT" in test output
Mads Kiilerich <mads@kiilerich.com>
parents:
12433
diff
changeset
|
95 <id>http://*:$HGPORT/</id> (glob) |
d08bb64888bc
tests: reintroduce ":$HGPORT" in test output
Mads Kiilerich <mads@kiilerich.com>
parents:
12433
diff
changeset
|
96 <link rel="self" href="http://*:$HGPORT/atom-log"/> (glob) |
d08bb64888bc
tests: reintroduce ":$HGPORT" in test output
Mads Kiilerich <mads@kiilerich.com>
parents:
12433
diff
changeset
|
97 <link rel="alternate" href="http://*:$HGPORT/"/> (glob) |
12433
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
98 <title>test Changelog</title> |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
99 <updated>1970-01-01T00:00:00+00:00</updated> |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
100 |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
101 <entry> |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
102 <title>branch</title> |
12643
d08bb64888bc
tests: reintroduce ":$HGPORT" in test output
Mads Kiilerich <mads@kiilerich.com>
parents:
12433
diff
changeset
|
103 <id>http://*:$HGPORT/#changeset-1d22e65f027e5a0609357e7d8e7508cd2ba5d2fe</id> (glob) |
d08bb64888bc
tests: reintroduce ":$HGPORT" in test output
Mads Kiilerich <mads@kiilerich.com>
parents:
12433
diff
changeset
|
104 <link href="http://*:$HGPORT/rev/1d22e65f027e"/> (glob) |
12433
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
105 <author> |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
106 <name>test</name> |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
107 <email>test</email> |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
108 </author> |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
109 <updated>1970-01-01T00:00:00+00:00</updated> |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
110 <published>1970-01-01T00:00:00+00:00</published> |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
111 <content type="xhtml"> |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
112 <div xmlns="http://www.w3.org/1999/xhtml"> |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
113 <pre xml:space="preserve">branch</pre> |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
114 </div> |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
115 </content> |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
116 </entry> |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
117 <entry> |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
118 <title>Added tag 1.0 for changeset 2ef0ac749a14</title> |
12643
d08bb64888bc
tests: reintroduce ":$HGPORT" in test output
Mads Kiilerich <mads@kiilerich.com>
parents:
12433
diff
changeset
|
119 <id>http://*:$HGPORT/#changeset-a4f92ed23982be056b9852de5dfe873eaac7f0de</id> (glob) |
d08bb64888bc
tests: reintroduce ":$HGPORT" in test output
Mads Kiilerich <mads@kiilerich.com>
parents:
12433
diff
changeset
|
120 <link href="http://*:$HGPORT/rev/a4f92ed23982"/> (glob) |
12433
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
121 <author> |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
122 <name>test</name> |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
123 <email>test</email> |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
124 </author> |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
125 <updated>1970-01-01T00:00:00+00:00</updated> |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
126 <published>1970-01-01T00:00:00+00:00</published> |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
127 <content type="xhtml"> |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
128 <div xmlns="http://www.w3.org/1999/xhtml"> |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
129 <pre xml:space="preserve">Added tag 1.0 for changeset 2ef0ac749a14</pre> |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
130 </div> |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
131 </content> |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
132 </entry> |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
133 <entry> |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
134 <title>base</title> |
12643
d08bb64888bc
tests: reintroduce ":$HGPORT" in test output
Mads Kiilerich <mads@kiilerich.com>
parents:
12433
diff
changeset
|
135 <id>http://*:$HGPORT/#changeset-2ef0ac749a14e4f57a5a822464a0902c6f7f448f</id> (glob) |
d08bb64888bc
tests: reintroduce ":$HGPORT" in test output
Mads Kiilerich <mads@kiilerich.com>
parents:
12433
diff
changeset
|
136 <link href="http://*:$HGPORT/rev/2ef0ac749a14"/> (glob) |
12433
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
137 <author> |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
138 <name>test</name> |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
139 <email>test</email> |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
140 </author> |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
141 <updated>1970-01-01T00:00:00+00:00</updated> |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
142 <published>1970-01-01T00:00:00+00:00</published> |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
143 <content type="xhtml"> |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
144 <div xmlns="http://www.w3.org/1999/xhtml"> |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
145 <pre xml:space="preserve">base</pre> |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
146 </div> |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
147 </content> |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
148 </entry> |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
149 |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
150 </feed> |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
151 $ "$TESTDIR/get-with-headers.py" 127.0.0.1:$HGPORT '/log/1/foo/?style=atom' |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
152 200 Script output follows |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
153 |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
154 <?xml version="1.0" encoding="ascii"?> |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
155 <feed xmlns="http://www.w3.org/2005/Atom"> |
12643
d08bb64888bc
tests: reintroduce ":$HGPORT" in test output
Mads Kiilerich <mads@kiilerich.com>
parents:
12433
diff
changeset
|
156 <id>http://*:$HGPORT/atom-log/tip/foo</id> (glob) |
d08bb64888bc
tests: reintroduce ":$HGPORT" in test output
Mads Kiilerich <mads@kiilerich.com>
parents:
12433
diff
changeset
|
157 <link rel="self" href="http://*:$HGPORT/atom-log/tip/foo"/> (glob) |
12433
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
158 <title>test: foo history</title> |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
159 <updated>1970-01-01T00:00:00+00:00</updated> |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
160 |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
161 <entry> |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
162 <title>base</title> |
12643
d08bb64888bc
tests: reintroduce ":$HGPORT" in test output
Mads Kiilerich <mads@kiilerich.com>
parents:
12433
diff
changeset
|
163 <id>http://*:$HGPORT/#changeset-2ef0ac749a14e4f57a5a822464a0902c6f7f448f</id> (glob) |
d08bb64888bc
tests: reintroduce ":$HGPORT" in test output
Mads Kiilerich <mads@kiilerich.com>
parents:
12433
diff
changeset
|
164 <link href="http://*:$HGPORT/rev/2ef0ac749a14"/> (glob) |
12433
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
165 <author> |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
166 <name>test</name> |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
167 <email>test</email> |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
168 </author> |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
169 <updated>1970-01-01T00:00:00+00:00</updated> |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
170 <published>1970-01-01T00:00:00+00:00</published> |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
171 <content type="xhtml"> |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
172 <div xmlns="http://www.w3.org/1999/xhtml"> |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
173 <pre xml:space="preserve">base</pre> |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
174 </div> |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
175 </content> |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
176 </entry> |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
177 |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
178 </feed> |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
179 $ "$TESTDIR/get-with-headers.py" 127.0.0.1:$HGPORT '/shortlog/' |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
180 200 Script output follows |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
181 |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
182 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
183 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en-US"> |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
184 <head> |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
185 <link rel="icon" href="/static/hgicon.png" type="image/png" /> |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
186 <meta name="robots" content="index, nofollow" /> |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
187 <link rel="stylesheet" href="/static/style-paper.css" type="text/css" /> |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
188 |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
189 <title>test: log</title> |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
190 <link rel="alternate" type="application/atom+xml" |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
191 href="/atom-log" title="Atom feed for test" /> |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
192 <link rel="alternate" type="application/rss+xml" |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
193 href="/rss-log" title="RSS feed for test" /> |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
194 </head> |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
195 <body> |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
196 |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
197 <div class="container"> |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
198 <div class="menu"> |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
199 <div class="logo"> |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
200 <a href="http://mercurial.selenic.com/"> |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
201 <img src="/static/hglogo.png" alt="mercurial" /></a> |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
202 </div> |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
203 <ul> |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
204 <li class="active">log</li> |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
205 <li><a href="/graph/1d22e65f027e">graph</a></li> |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
206 <li><a href="/tags">tags</a></li> |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
207 <li><a href="/branches">branches</a></li> |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
208 </ul> |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
209 <ul> |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
210 <li><a href="/rev/1d22e65f027e">changeset</a></li> |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
211 <li><a href="/file/1d22e65f027e">browse</a></li> |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
212 </ul> |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
213 <ul> |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
214 |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
215 </ul> |
12666
ead4e21f49f1
web: add a help view for getting hg help output
Augie Fackler <durin42@gmail.com>
parents:
12643
diff
changeset
|
216 <ul> |
ead4e21f49f1
web: add a help view for getting hg help output
Augie Fackler <durin42@gmail.com>
parents:
12643
diff
changeset
|
217 <li><a href="/help">help</a></li> |
ead4e21f49f1
web: add a help view for getting hg help output
Augie Fackler <durin42@gmail.com>
parents:
12643
diff
changeset
|
218 </ul> |
12433
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
219 </div> |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
220 |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
221 <div class="main"> |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
222 <h2><a href="/">test</a></h2> |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
223 <h3>log</h3> |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
224 |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
225 <form class="search" action="/log"> |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
226 |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
227 <p><input name="rev" id="search1" type="text" size="30" /></p> |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
228 <div id="hint">find changesets by author, revision, |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
229 files, or words in the commit message</div> |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
230 </form> |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
231 |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
232 <div class="navigate"> |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
233 <a href="/shortlog/2?revcount=30">less</a> |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
234 <a href="/shortlog/2?revcount=120">more</a> |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
235 | rev 2: <a href="/shortlog/2ef0ac749a14">(0)</a> <a href="/shortlog/tip">tip</a> |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
236 </div> |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
237 |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
238 <table class="bigtable"> |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
239 <tr> |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
240 <th class="age">age</th> |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
241 <th class="author">author</th> |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
242 <th class="description">description</th> |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
243 </tr> |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
244 <tr class="parity0"> |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
245 <td class="age">1970-01-01</td> |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
246 <td class="author">test</td> |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
247 <td class="description"><a href="/rev/1d22e65f027e">branch</a><span class="branchhead">stable</span> <span class="tag">tip</span> </td> |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
248 </tr> |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
249 <tr class="parity1"> |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
250 <td class="age">1970-01-01</td> |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
251 <td class="author">test</td> |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
252 <td class="description"><a href="/rev/a4f92ed23982">Added tag 1.0 for changeset 2ef0ac749a14</a><span class="branchhead">default</span> </td> |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
253 </tr> |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
254 <tr class="parity0"> |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
255 <td class="age">1970-01-01</td> |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
256 <td class="author">test</td> |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
257 <td class="description"><a href="/rev/2ef0ac749a14">base</a><span class="tag">1.0</span> </td> |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
258 </tr> |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
259 |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
260 </table> |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
261 |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
262 <div class="navigate"> |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
263 <a href="/shortlog/2?revcount=30">less</a> |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
264 <a href="/shortlog/2?revcount=120">more</a> |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
265 | rev 2: <a href="/shortlog/2ef0ac749a14">(0)</a> <a href="/shortlog/tip">tip</a> |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
266 </div> |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
267 |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
268 </div> |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
269 </div> |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
270 |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
271 |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
272 |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
273 </body> |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
274 </html> |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
275 |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
276 $ "$TESTDIR/get-with-headers.py" 127.0.0.1:$HGPORT '/rev/0/' |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
277 200 Script output follows |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
278 |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
279 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
280 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en-US"> |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
281 <head> |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
282 <link rel="icon" href="/static/hgicon.png" type="image/png" /> |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
283 <meta name="robots" content="index, nofollow" /> |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
284 <link rel="stylesheet" href="/static/style-paper.css" type="text/css" /> |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
285 |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
286 <title>test: 2ef0ac749a14</title> |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
287 </head> |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
288 <body> |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
289 <div class="container"> |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
290 <div class="menu"> |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
291 <div class="logo"> |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
292 <a href="http://mercurial.selenic.com/"> |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
293 <img src="/static/hglogo.png" alt="mercurial" /></a> |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
294 </div> |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
295 <ul> |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
296 <li><a href="/shortlog/2ef0ac749a14">log</a></li> |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
297 <li><a href="/graph/2ef0ac749a14">graph</a></li> |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
298 <li><a href="/tags">tags</a></li> |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
299 <li><a href="/branches">branches</a></li> |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
300 </ul> |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
301 <ul> |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
302 <li class="active">changeset</li> |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
303 <li><a href="/raw-rev/2ef0ac749a14">raw</a></li> |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
304 <li><a href="/file/2ef0ac749a14">browse</a></li> |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
305 </ul> |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
306 <ul> |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
307 |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
308 </ul> |
12666
ead4e21f49f1
web: add a help view for getting hg help output
Augie Fackler <durin42@gmail.com>
parents:
12643
diff
changeset
|
309 <ul> |
ead4e21f49f1
web: add a help view for getting hg help output
Augie Fackler <durin42@gmail.com>
parents:
12643
diff
changeset
|
310 <li><a href="/help">help</a></li> |
ead4e21f49f1
web: add a help view for getting hg help output
Augie Fackler <durin42@gmail.com>
parents:
12643
diff
changeset
|
311 </ul> |
12433
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
312 </div> |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
313 |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
314 <div class="main"> |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
315 |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
316 <h2><a href="/">test</a></h2> |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
317 <h3>changeset 0:2ef0ac749a14 <span class="tag">1.0</span> </h3> |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
318 |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
319 <form class="search" action="/log"> |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
320 |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
321 <p><input name="rev" id="search1" type="text" size="30" /></p> |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
322 <div id="hint">find changesets by author, revision, |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
323 files, or words in the commit message</div> |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
324 </form> |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
325 |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
326 <div class="description">base</div> |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
327 |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
328 <table id="changesetEntry"> |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
329 <tr> |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
330 <th class="author">author</th> |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
331 <td class="author">test</td> |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
332 </tr> |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
333 <tr> |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
334 <th class="date">date</th> |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
335 <td class="date">Thu Jan 01 00:00:00 1970 +0000 (1970-01-01)</td></tr> |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
336 <tr> |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
337 <th class="author">parents</th> |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
338 <td class="author"></td> |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
339 </tr> |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
340 <tr> |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
341 <th class="author">children</th> |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
342 <td class="author"> <a href="/rev/a4f92ed23982">a4f92ed23982</a></td> |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
343 </tr> |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
344 <tr> |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
345 <th class="files">files</th> |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
346 <td class="files"><a href="/file/2ef0ac749a14/da/foo">da/foo</a> <a href="/file/2ef0ac749a14/foo">foo</a> </td> |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
347 </tr> |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
348 </table> |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
349 |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
350 <div class="overflow"> |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
351 <div class="sourcefirst"> line diff</div> |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
352 |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
353 <div class="source bottomline parity0"><pre><a href="#l1.1" id="l1.1"> 1.1</a> <span class="minusline">--- /dev/null Thu Jan 01 00:00:00 1970 +0000 |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
354 </span><a href="#l1.2" id="l1.2"> 1.2</a> <span class="plusline">+++ b/da/foo Thu Jan 01 00:00:00 1970 +0000 |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
355 </span><a href="#l1.3" id="l1.3"> 1.3</a> <span class="atline">@@ -0,0 +1,1 @@ |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
356 </span><a href="#l1.4" id="l1.4"> 1.4</a> <span class="plusline">+foo |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
357 </span></pre></div><div class="source bottomline parity1"><pre><a href="#l2.1" id="l2.1"> 2.1</a> <span class="minusline">--- /dev/null Thu Jan 01 00:00:00 1970 +0000 |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
358 </span><a href="#l2.2" id="l2.2"> 2.2</a> <span class="plusline">+++ b/foo Thu Jan 01 00:00:00 1970 +0000 |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
359 </span><a href="#l2.3" id="l2.3"> 2.3</a> <span class="atline">@@ -0,0 +1,1 @@ |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
360 </span><a href="#l2.4" id="l2.4"> 2.4</a> <span class="plusline">+foo |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
361 </span></pre></div> |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
362 </div> |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
363 |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
364 </div> |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
365 </div> |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
366 |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
367 |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
368 </body> |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
369 </html> |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
370 |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
371 $ "$TESTDIR/get-with-headers.py" 127.0.0.1:$HGPORT '/rev/1/?style=raw' |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
372 200 Script output follows |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
373 |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
374 |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
375 # HG changeset patch |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
376 # User test |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
377 # Date 0 0 |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
378 # Node ID a4f92ed23982be056b9852de5dfe873eaac7f0de |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
379 # Parent 2ef0ac749a14e4f57a5a822464a0902c6f7f448f |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
380 Added tag 1.0 for changeset 2ef0ac749a14 |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
381 |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
382 diff -r 2ef0ac749a14 -r a4f92ed23982 .hgtags |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
383 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
384 +++ b/.hgtags Thu Jan 01 00:00:00 1970 +0000 |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
385 @@ -0,0 +1,1 @@ |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
386 +2ef0ac749a14e4f57a5a822464a0902c6f7f448f 1.0 |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
387 |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
388 $ "$TESTDIR/get-with-headers.py" 127.0.0.1:$HGPORT '/log?rev=base' |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
389 200 Script output follows |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
390 |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
391 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
392 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en-US"> |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
393 <head> |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
394 <link rel="icon" href="/static/hgicon.png" type="image/png" /> |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
395 <meta name="robots" content="index, nofollow" /> |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
396 <link rel="stylesheet" href="/static/style-paper.css" type="text/css" /> |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
397 |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
398 <title>test: searching for base</title> |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
399 </head> |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
400 <body> |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
401 |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
402 <div class="container"> |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
403 <div class="menu"> |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
404 <div class="logo"> |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
405 <a href="http://mercurial.selenic.com/"> |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
406 <img src="/static/hglogo.png" width=75 height=90 border=0 alt="mercurial"></a> |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
407 </div> |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
408 <ul> |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
409 <li><a href="/shortlog">log</a></li> |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
410 <li><a href="/graph">graph</a></li> |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
411 <li><a href="/tags">tags</a></li> |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
412 <li><a href="/branches">branches</a></li> |
12680
d664547ef540
hgweb: add help link to templates missed in ead4e21f49f1
Augie Fackler <durin42@gmail.com>
parents:
12666
diff
changeset
|
413 <li><a href="/help">help</a></li> |
12433
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
414 </ul> |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
415 </div> |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
416 |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
417 <div class="main"> |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
418 <h2><a href="/">test</a></h2> |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
419 <h3>searching for 'base'</h3> |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
420 |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
421 <form class="search" action="/log"> |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
422 |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
423 <p><input name="rev" id="search1" type="text" size="30"></p> |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
424 <div id="hint">find changesets by author, revision, |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
425 files, or words in the commit message</div> |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
426 </form> |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
427 |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
428 <div class="navigate"> |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
429 <a href="/search/?rev=base&revcount=5">less</a> |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
430 <a href="/search/?rev=base&revcount=20">more</a> |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
431 </div> |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
432 |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
433 <table class="bigtable"> |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
434 <tr> |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
435 <th class="age">age</th> |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
436 <th class="author">author</th> |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
437 <th class="description">description</th> |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
438 </tr> |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
439 <tr class="parity0"> |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
440 <td class="age">1970-01-01</td> |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
441 <td class="author">test</td> |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
442 <td class="description"><a href="/rev/2ef0ac749a14">base</a><span class="tag">1.0</span> </td> |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
443 </tr> |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
444 |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
445 </table> |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
446 |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
447 <div class="navigate"> |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
448 <a href="/search/?rev=base&revcount=5">less</a> |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
449 <a href="/search/?rev=base&revcount=20">more</a> |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
450 </div> |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
451 |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
452 </div> |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
453 </div> |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
454 |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
455 |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
456 |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
457 </body> |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
458 </html> |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
459 |
5590
05451f6b5f07
add more tests for hgweb commands
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents:
diff
changeset
|
460 |
12433
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
461 File-related |
5590
05451f6b5f07
add more tests for hgweb commands
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents:
diff
changeset
|
462 |
12433
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
463 $ "$TESTDIR/get-with-headers.py" 127.0.0.1:$HGPORT '/file/1/foo/?style=raw' |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
464 200 Script output follows |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
465 |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
466 foo |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
467 $ "$TESTDIR/get-with-headers.py" 127.0.0.1:$HGPORT '/annotate/1/foo/?style=raw' |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
468 200 Script output follows |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
469 |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
470 |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
471 test@0: foo |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
472 |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
473 |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
474 |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
475 |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
476 $ "$TESTDIR/get-with-headers.py" 127.0.0.1:$HGPORT '/file/1/?style=raw' |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
477 200 Script output follows |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
478 |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
479 |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
480 drwxr-xr-x da |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
481 -rw-r--r-- 45 .hgtags |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
482 -rw-r--r-- 4 foo |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
483 |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
484 |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
485 $ "$TESTDIR/get-with-headers.py" 127.0.0.1:$HGPORT '/file/1/foo' |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
486 200 Script output follows |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
487 |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
488 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
489 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en-US"> |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
490 <head> |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
491 <link rel="icon" href="/static/hgicon.png" type="image/png" /> |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
492 <meta name="robots" content="index, nofollow" /> |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
493 <link rel="stylesheet" href="/static/style-paper.css" type="text/css" /> |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
494 |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
495 <title>test: a4f92ed23982 foo</title> |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
496 </head> |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
497 <body> |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
498 |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
499 <div class="container"> |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
500 <div class="menu"> |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
501 <div class="logo"> |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
502 <a href="http://mercurial.selenic.com/"> |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
503 <img src="/static/hglogo.png" alt="mercurial" /></a> |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
504 </div> |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
505 <ul> |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
506 <li><a href="/shortlog/a4f92ed23982">log</a></li> |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
507 <li><a href="/graph/a4f92ed23982">graph</a></li> |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
508 <li><a href="/tags">tags</a></li> |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
509 <li><a href="/branches">branches</a></li> |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
510 </ul> |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
511 <ul> |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
512 <li><a href="/rev/a4f92ed23982">changeset</a></li> |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
513 <li><a href="/file/a4f92ed23982/">browse</a></li> |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
514 </ul> |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
515 <ul> |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
516 <li class="active">file</li> |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
517 <li><a href="/file/tip/foo">latest</a></li> |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
518 <li><a href="/diff/a4f92ed23982/foo">diff</a></li> |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
519 <li><a href="/annotate/a4f92ed23982/foo">annotate</a></li> |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
520 <li><a href="/log/a4f92ed23982/foo">file log</a></li> |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
521 <li><a href="/raw-file/a4f92ed23982/foo">raw</a></li> |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
522 </ul> |
12680
d664547ef540
hgweb: add help link to templates missed in ead4e21f49f1
Augie Fackler <durin42@gmail.com>
parents:
12666
diff
changeset
|
523 <ul> |
d664547ef540
hgweb: add help link to templates missed in ead4e21f49f1
Augie Fackler <durin42@gmail.com>
parents:
12666
diff
changeset
|
524 <li><a href="/help">help</a></li> |
d664547ef540
hgweb: add help link to templates missed in ead4e21f49f1
Augie Fackler <durin42@gmail.com>
parents:
12666
diff
changeset
|
525 </ul> |
12433
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
526 </div> |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
527 |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
528 <div class="main"> |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
529 <h2><a href="/">test</a></h2> |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
530 <h3>view foo @ 1:a4f92ed23982</h3> |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
531 |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
532 <form class="search" action="/log"> |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
533 |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
534 <p><input name="rev" id="search1" type="text" size="30" /></p> |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
535 <div id="hint">find changesets by author, revision, |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
536 files, or words in the commit message</div> |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
537 </form> |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
538 |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
539 <div class="description">Added tag 1.0 for changeset 2ef0ac749a14</div> |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
540 |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
541 <table id="changesetEntry"> |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
542 <tr> |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
543 <th class="author">author</th> |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
544 <td class="author">test</td> |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
545 </tr> |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
546 <tr> |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
547 <th class="date">date</th> |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
548 <td class="date">Thu Jan 01 00:00:00 1970 +0000 (1970-01-01)</td> |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
549 </tr> |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
550 <tr> |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
551 <th class="author">parents</th> |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
552 <td class="author"></td> |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
553 </tr> |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
554 <tr> |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
555 <th class="author">children</th> |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
556 <td class="author"><a href="/file/1d22e65f027e/foo">1d22e65f027e</a> </td> |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
557 </tr> |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
558 |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
559 </table> |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
560 |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
561 <div class="overflow"> |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
562 <div class="sourcefirst"> line source</div> |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
563 |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
564 <div class="parity0 source"><a href="#l1" id="l1"> 1</a> foo |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
565 </div> |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
566 <div class="sourcelast"></div> |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
567 </div> |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
568 </div> |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
569 </div> |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
570 |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
571 |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
572 |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
573 </body> |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
574 </html> |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
575 |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
576 $ "$TESTDIR/get-with-headers.py" 127.0.0.1:$HGPORT '/filediff/1/foo/?style=raw' |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
577 200 Script output follows |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
578 |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
579 |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
580 diff -r 000000000000 -r a4f92ed23982 foo |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
581 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
582 +++ b/foo Thu Jan 01 00:00:00 1970 +0000 |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
583 @@ -0,0 +1,1 @@ |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
584 +foo |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
585 |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
586 |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
587 |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
588 |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
589 |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
590 Overviews |
5590
05451f6b5f07
add more tests for hgweb commands
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents:
diff
changeset
|
591 |
12433
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
592 $ "$TESTDIR/get-with-headers.py" 127.0.0.1:$HGPORT '/raw-tags' |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
593 200 Script output follows |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
594 |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
595 tip 1d22e65f027e5a0609357e7d8e7508cd2ba5d2fe |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
596 1.0 2ef0ac749a14e4f57a5a822464a0902c6f7f448f |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
597 $ "$TESTDIR/get-with-headers.py" 127.0.0.1:$HGPORT '/raw-branches' |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
598 200 Script output follows |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
599 |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
600 stable 1d22e65f027e5a0609357e7d8e7508cd2ba5d2fe open |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
601 default a4f92ed23982be056b9852de5dfe873eaac7f0de inactive |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
602 $ "$TESTDIR/get-with-headers.py" 127.0.0.1:$HGPORT '/summary/?style=gitweb' |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
603 200 Script output follows |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
604 |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
605 <?xml version="1.0" encoding="ascii"?> |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
606 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
607 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en-US" lang="en-US"> |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
608 <head> |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
609 <link rel="icon" href="/static/hgicon.png" type="image/png" /> |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
610 <meta name="robots" content="index, nofollow"/> |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
611 <link rel="stylesheet" href="/static/style-gitweb.css" type="text/css" /> |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
612 |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
613 |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
614 <title>test: Summary</title> |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
615 <link rel="alternate" type="application/atom+xml" |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
616 href="/atom-log" title="Atom feed for test"/> |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
617 <link rel="alternate" type="application/rss+xml" |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
618 href="/rss-log" title="RSS feed for test"/> |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
619 </head> |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
620 <body> |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
621 |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
622 <div class="page_header"> |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
623 <a href="http://mercurial.selenic.com/" title="Mercurial" style="float: right;">Mercurial</a><a href="/summary?style=gitweb">test</a> / summary |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
624 |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
625 <form action="/log"> |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
626 <input type="hidden" name="style" value="gitweb" /> |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
627 <div class="search"> |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
628 <input type="text" name="rev" /> |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
629 </div> |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
630 </form> |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
631 </div> |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
632 |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
633 <div class="page_nav"> |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
634 summary | |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
635 <a href="/shortlog?style=gitweb">shortlog</a> | |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
636 <a href="/log?style=gitweb">changelog</a> | |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
637 <a href="/graph?style=gitweb">graph</a> | |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
638 <a href="/tags?style=gitweb">tags</a> | |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
639 <a href="/branches?style=gitweb">branches</a> | |
12666
ead4e21f49f1
web: add a help view for getting hg help output
Augie Fackler <durin42@gmail.com>
parents:
12643
diff
changeset
|
640 <a href="/file/1d22e65f027e?style=gitweb">files</a> | |
ead4e21f49f1
web: add a help view for getting hg help output
Augie Fackler <durin42@gmail.com>
parents:
12643
diff
changeset
|
641 <a href="/help?style=gitweb">help</a> |
12433
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
642 <br/> |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
643 </div> |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
644 |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
645 <div class="title"> </div> |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
646 <table cellspacing="0"> |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
647 <tr><td>description</td><td>unknown</td></tr> |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
648 <tr><td>owner</td><td>Foo Bar <foo.bar@example.com></td></tr> |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
649 <tr><td>last change</td><td>Thu, 01 Jan 1970 00:00:00 +0000</td></tr> |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
650 </table> |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
651 |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
652 <div><a class="title" href="/shortlog?style=gitweb">changes</a></div> |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
653 <table cellspacing="0"> |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
654 |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
655 <tr class="parity0"> |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
656 <td class="age"><i>1970-01-01</i></td> |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
657 <td><i>test</i></td> |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
658 <td> |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
659 <a class="list" href="/rev/1d22e65f027e?style=gitweb"> |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
660 <b>branch</b> |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
661 <span class="logtags"><span class="branchtag" title="stable">stable</span> <span class="tagtag" title="tip">tip</span> </span> |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
662 </a> |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
663 </td> |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
664 <td class="link" nowrap> |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
665 <a href="/rev/1d22e65f027e?style=gitweb">changeset</a> | |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
666 <a href="/file/1d22e65f027e?style=gitweb">files</a> |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
667 </td> |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
668 </tr> |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
669 <tr class="parity1"> |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
670 <td class="age"><i>1970-01-01</i></td> |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
671 <td><i>test</i></td> |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
672 <td> |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
673 <a class="list" href="/rev/a4f92ed23982?style=gitweb"> |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
674 <b>Added tag 1.0 for changeset 2ef0ac749a14</b> |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
675 <span class="logtags"><span class="branchtag" title="default">default</span> </span> |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
676 </a> |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
677 </td> |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
678 <td class="link" nowrap> |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
679 <a href="/rev/a4f92ed23982?style=gitweb">changeset</a> | |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
680 <a href="/file/a4f92ed23982?style=gitweb">files</a> |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
681 </td> |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
682 </tr> |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
683 <tr class="parity0"> |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
684 <td class="age"><i>1970-01-01</i></td> |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
685 <td><i>test</i></td> |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
686 <td> |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
687 <a class="list" href="/rev/2ef0ac749a14?style=gitweb"> |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
688 <b>base</b> |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
689 <span class="logtags"><span class="tagtag" title="1.0">1.0</span> </span> |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
690 </a> |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
691 </td> |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
692 <td class="link" nowrap> |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
693 <a href="/rev/2ef0ac749a14?style=gitweb">changeset</a> | |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
694 <a href="/file/2ef0ac749a14?style=gitweb">files</a> |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
695 </td> |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
696 </tr> |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
697 <tr class="light"><td colspan="4"><a class="list" href="/shortlog?style=gitweb">...</a></td></tr> |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
698 </table> |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
699 |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
700 <div><a class="title" href="/tags?style=gitweb">tags</a></div> |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
701 <table cellspacing="0"> |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
702 |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
703 <tr class="parity0"> |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
704 <td class="age"><i>1970-01-01</i></td> |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
705 <td><a class="list" href="/rev/2ef0ac749a14?style=gitweb"><b>1.0</b></a></td> |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
706 <td class="link"> |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
707 <a href="/rev/2ef0ac749a14?style=gitweb">changeset</a> | |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
708 <a href="/log/2ef0ac749a14?style=gitweb">changelog</a> | |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
709 <a href="/file/2ef0ac749a14?style=gitweb">files</a> |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
710 </td> |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
711 </tr> |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
712 <tr class="light"><td colspan="3"><a class="list" href="/tags?style=gitweb">...</a></td></tr> |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
713 </table> |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
714 |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
715 <div><a class="title" href="#">branches</a></div> |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
716 <table cellspacing="0"> |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
717 |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
718 <tr class="parity0"> |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
719 <td class="age"><i>1970-01-01</i></td> |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
720 <td><a class="list" href="/shortlog/1d22e65f027e?style=gitweb"><b>1d22e65f027e</b></a></td> |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
721 <td class="">stable</td> |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
722 <td class="link"> |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
723 <a href="/changeset/1d22e65f027e?style=gitweb">changeset</a> | |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
724 <a href="/log/1d22e65f027e?style=gitweb">changelog</a> | |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
725 <a href="/file/1d22e65f027e?style=gitweb">files</a> |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
726 </td> |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
727 </tr> |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
728 <tr class="parity1"> |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
729 <td class="age"><i>1970-01-01</i></td> |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
730 <td><a class="list" href="/shortlog/a4f92ed23982?style=gitweb"><b>a4f92ed23982</b></a></td> |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
731 <td class="">default</td> |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
732 <td class="link"> |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
733 <a href="/changeset/a4f92ed23982?style=gitweb">changeset</a> | |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
734 <a href="/log/a4f92ed23982?style=gitweb">changelog</a> | |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
735 <a href="/file/a4f92ed23982?style=gitweb">files</a> |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
736 </td> |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
737 </tr> |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
738 <tr class="light"> |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
739 <td colspan="4"><a class="list" href="#">...</a></td> |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
740 </tr> |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
741 </table> |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
742 <div class="page_footer"> |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
743 <div class="page_footer_text">test</div> |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
744 <div class="rss_logo"> |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
745 <a href="/rss-log">RSS</a> |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
746 <a href="/atom-log">Atom</a> |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
747 </div> |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
748 <br /> |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
749 |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
750 </div> |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
751 </body> |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
752 </html> |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
753 |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
754 $ "$TESTDIR/get-with-headers.py" 127.0.0.1:$HGPORT '/graph/?style=gitweb' |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
755 200 Script output follows |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
756 |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
757 <?xml version="1.0" encoding="ascii"?> |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
758 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
759 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en-US" lang="en-US"> |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
760 <head> |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
761 <link rel="icon" href="/static/hgicon.png" type="image/png" /> |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
762 <meta name="robots" content="index, nofollow"/> |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
763 <link rel="stylesheet" href="/static/style-gitweb.css" type="text/css" /> |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
764 |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
765 |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
766 <title>test: Graph</title> |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
767 <link rel="alternate" type="application/atom+xml" |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
768 href="/atom-log" title="Atom feed for test"/> |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
769 <link rel="alternate" type="application/rss+xml" |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
770 href="/rss-log" title="RSS feed for test"/> |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
771 <!--[if IE]><script type="text/javascript" src="/static/excanvas.js"></script><![endif]--> |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
772 </head> |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
773 <body> |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
774 |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
775 <div class="page_header"> |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
776 <a href="http://mercurial.selenic.com/" title="Mercurial" style="float: right;">Mercurial</a><a href="/summary?style=gitweb">test</a> / graph |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
777 </div> |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
778 |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
779 <form action="/log"> |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
780 <input type="hidden" name="style" value="gitweb" /> |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
781 <div class="search"> |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
782 <input type="text" name="rev" /> |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
783 </div> |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
784 </form> |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
785 <div class="page_nav"> |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
786 <a href="/summary?style=gitweb">summary</a> | |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
787 <a href="/shortlog?style=gitweb">shortlog</a> | |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
788 <a href="/log/2?style=gitweb">changelog</a> | |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
789 graph | |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
790 <a href="/tags?style=gitweb">tags</a> | |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
791 <a href="/branches?style=gitweb">branches</a> | |
12666
ead4e21f49f1
web: add a help view for getting hg help output
Augie Fackler <durin42@gmail.com>
parents:
12643
diff
changeset
|
792 <a href="/file/1d22e65f027e?style=gitweb">files</a> | |
ead4e21f49f1
web: add a help view for getting hg help output
Augie Fackler <durin42@gmail.com>
parents:
12643
diff
changeset
|
793 <a href="/help?style=gitweb">help</a> |
12433
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
794 <br/> |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
795 <a href="/graph/2?style=gitweb&revcount=30">less</a> |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
796 <a href="/graph/2?style=gitweb&revcount=120">more</a> |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
797 | <a href="/graph/2ef0ac749a14?style=gitweb">(0)</a> <a href="/graph/2ef0ac749a14?style=gitweb">-2</a> <a href="/graph/tip?style=gitweb">tip</a> <br/> |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
798 </div> |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
799 |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
800 <div class="title"> </div> |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
801 |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
802 <noscript>The revision graph only works with JavaScript-enabled browsers.</noscript> |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
803 |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
804 <div id="wrapper"> |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
805 <ul id="nodebgs"></ul> |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
806 <canvas id="graph" width="224" height="129"></canvas> |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
807 <ul id="graphnodes"></ul> |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
808 </div> |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
809 |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
810 <script type="text/javascript" src="/static/graph.js"></script> |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
811 <script> |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
812 <!-- hide script content |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
813 |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
814 var data = [["1d22e65f027e", [0, 1], [[0, 0, 1]], "branch", "test", "1970-01-01", ["stable", true], ["tip"]], ["a4f92ed23982", [0, 1], [[0, 0, 1]], "Added tag 1.0 for changeset 2ef0ac749a14", "test", "1970-01-01", ["default", true], []], ["2ef0ac749a14", [0, 1], [], "base", "test", "1970-01-01", ["default", false], ["1.0"]]]; |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
815 var graph = new Graph(); |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
816 graph.scale(39); |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
817 |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
818 graph.edge = function(x0, y0, x1, y1, color) { |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
819 |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
820 this.setColor(color, 0.0, 0.65); |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
821 this.ctx.beginPath(); |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
822 this.ctx.moveTo(x0, y0); |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
823 this.ctx.lineTo(x1, y1); |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
824 this.ctx.stroke(); |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
825 |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
826 } |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
827 |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
828 var revlink = '<li style="_STYLE"><span class="desc">'; |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
829 revlink += '<a class="list" href="/rev/_NODEID?style=gitweb" title="_NODEID"><b>_DESC</b></a>'; |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
830 revlink += '</span> _TAGS'; |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
831 revlink += '<span class="info">_DATE, by _USER</span></li>'; |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
832 |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
833 graph.vertex = function(x, y, color, parity, cur) { |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
834 |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
835 this.ctx.beginPath(); |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
836 color = this.setColor(color, 0.25, 0.75); |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
837 this.ctx.arc(x, y, radius, 0, Math.PI * 2, true); |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
838 this.ctx.fill(); |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
839 |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
840 var bg = '<li class="bg parity' + parity + '"></li>'; |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
841 var left = (this.columns + 1) * this.bg_height; |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
842 var nstyle = 'padding-left: ' + left + 'px;'; |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
843 var item = revlink.replace(/_STYLE/, nstyle); |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
844 item = item.replace(/_PARITY/, 'parity' + parity); |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
845 item = item.replace(/_NODEID/, cur[0]); |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
846 item = item.replace(/_NODEID/, cur[0]); |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
847 item = item.replace(/_DESC/, cur[3]); |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
848 item = item.replace(/_USER/, cur[4]); |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
849 item = item.replace(/_DATE/, cur[5]); |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
850 |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
851 var tagspan = ''; |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
852 if (cur[7].length || (cur[6][0] != 'default' || cur[6][1])) { |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
853 tagspan = '<span class="logtags">'; |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
854 if (cur[6][1]) { |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
855 tagspan += '<span class="branchtag" title="' + cur[6][0] + '">'; |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
856 tagspan += cur[6][0] + '</span> '; |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
857 } else if (!cur[6][1] && cur[6][0] != 'default') { |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
858 tagspan += '<span class="inbranchtag" title="' + cur[6][0] + '">'; |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
859 tagspan += cur[6][0] + '</span> '; |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
860 } |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
861 if (cur[7].length) { |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
862 for (var t in cur[7]) { |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
863 var tag = cur[7][t]; |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
864 tagspan += '<span class="tagtag">' + tag + '</span> '; |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
865 } |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
866 } |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
867 tagspan += '</span>'; |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
868 } |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
869 |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
870 item = item.replace(/_TAGS/, tagspan); |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
871 return [bg, item]; |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
872 |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
873 } |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
874 |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
875 graph.render(data); |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
876 |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
877 // stop hiding script --> |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
878 </script> |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
879 |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
880 <div class="page_nav"> |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
881 <a href="/graph/2?style=gitweb&revcount=30">less</a> |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
882 <a href="/graph/2?style=gitweb&revcount=120">more</a> |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
883 | <a href="/graph/2ef0ac749a14?style=gitweb">(0)</a> <a href="/graph/2ef0ac749a14?style=gitweb">-2</a> <a href="/graph/tip?style=gitweb">tip</a> |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
884 </div> |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
885 |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
886 <div class="page_footer"> |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
887 <div class="page_footer_text">test</div> |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
888 <div class="rss_logo"> |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
889 <a href="/rss-log">RSS</a> |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
890 <a href="/atom-log">Atom</a> |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
891 </div> |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
892 <br /> |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
893 |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
894 </div> |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
895 </body> |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
896 </html> |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
897 |
5590
05451f6b5f07
add more tests for hgweb commands
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents:
diff
changeset
|
898 |
12433
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
899 capabilities |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
900 |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
901 $ "$TESTDIR/get-with-headers.py" 127.0.0.1:$HGPORT '?cmd=capabilities'; echo |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
902 200 Script output follows |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
903 |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
904 lookup changegroupsubset branchmap pushkey unbundle=HG10GZ,HG10BZ,HG10UN |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
905 |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
906 heads |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
907 |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
908 $ "$TESTDIR/get-with-headers.py" 127.0.0.1:$HGPORT '?cmd=heads' |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
909 200 Script output follows |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
910 |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
911 1d22e65f027e5a0609357e7d8e7508cd2ba5d2fe |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
912 |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
913 branches |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
914 |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
915 $ "$TESTDIR/get-with-headers.py" 127.0.0.1:$HGPORT '?cmd=branches&nodes=0000000000000000000000000000000000000000' |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
916 200 Script output follows |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
917 |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
918 0000000000000000000000000000000000000000 0000000000000000000000000000000000000000 0000000000000000000000000000000000000000 0000000000000000000000000000000000000000 |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
919 |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
920 changegroup |
5590
05451f6b5f07
add more tests for hgweb commands
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents:
diff
changeset
|
921 |
12433
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
922 $ "$TESTDIR/get-with-headers.py" 127.0.0.1:$HGPORT '?cmd=changegroup&roots=0000000000000000000000000000000000000000' \ |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
923 > | $TESTDIR/printrepr.py |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
924 200 Script output follows |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
925 |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
926 x\x9c\xbdTMHUA\x14\xbe\xa8\xf9\xec\xda&\x10\x11*\xb8\x88\x81\x99\xbef\xe6\xce\xbdw\xc6\xf2a\x16E\x1b\x11[%\x98\xcc\xaf\x8f\x8c\xf7\xc0\xf7\x82 |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
927 4\x11KP2m\x95\xad*\xabE\x05AP\xd0\xc22Z\x14\xf9\x03\xb9j\xa3\x9b$\xa4MJ\xb4\x90\xc0\x9a\x9bO0\x10\xdf\x13\xa2\x81\x0f\x869g\xe6|\xe7\x9c\xef\x8ceY\xf7\xa2KO\xd2\xb7K\x16~\ |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
928 \xe9\xad\x90w\x86\xab\x93W\x8e\xdf\xb0r\\Y\xee6(\xa2)\xf6\x95\xc6\x01\xe4\x1az\x80R\xe8kN\x98\xe7R\xa4\xa9K@\xe0!A\xb4k\xa7U*m\x03\x07\xd8\x92\x1d\xd2\xc9\xa4\x1d\xc2\xe6,\xa5\xcc+\x1f\xef\xafDgi\xef\xab\x1d\x1d\xb7\x9a\xe7[W\xfbc\x8f\xde-\xcd\xe7\xcaz\xb3\xbb\x19\xd3\x81\x10>c>\x08\x00"X\x11\xc2\x84@\xd2\xe7B*L\x00\x01P\x04R\xc3@\xbaB0\xdb8#\x83:\x83\xa2h\xbc=\xcd\xdaS\xe1Y,L\xd3\xa0\xf2\xa8\x94J:\xe6\xd8\x81Q\xe0\xe8d\xa7#\xe2,\xd1\xaeR*\xed \xa5\x01\x13\x01\xa6\x0cb\xe3;\xbe\xaf\xfcK[^wK\xe1N\xaf\xbbk\xe8B\xd1\xf4\xc1\x07\xb3\xab[\x10\xfdkmvwcB\xa6\xa4\xd4G\xc4D\xc2\x141\xad\x91\x10\x00\x08J\x81\xcb}\xee\t\xee+W\xba\x8a\x80\x90|\xd4\xa0\xd6\xa0\xd4T\xde\xe1\x9d,!\xe2\xb5\xa94\xe3\xe7\xd5\x9f\x06\x18\xcba\x03aP\xb8f\xcd\x04\x1a_\\9\xf1\xed\xe4\x9e\xe5\xa6\xd1\xd2\x9f\x03\xa7o\xae\x90H\xf3\xfb\xef\xffH3\xadk |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
929 \xb0\x90\x92\x88\xb9\x14"\x068\xc2\x1e@\x00\xbb\x8a)\xd3\'\x859 |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
930 \xa8\x80\x84S \xa5\xbd-g\x13`\xe4\xdc\xc3H^\xdf\xe2\xc0TM\xc7\xf4BO\xcf\xde\xae\xe5\xae#\x1frM(K\x97`F\x19\x16s\x05GD\xb9\x01\xc1\x00+\x8c|\x9fp\xc11\xf0\x14\x00\x9cJ\x82<\xe0\x12\x9f\xc1\x90\xd0\xf5\xc8\x19>Pr\xaa\xeaW\xf5\xc4\xae\xd1\xfc\x17\xcf\'\x13u\xb1\x9e\xcdHnC\x0e\xcc`\xc8\xa0&\xac\x0e\xf1|\x8c\x10$\xc4\x8c\xa2p\x05`\xdc\x08 \x80\xc4\xd7Rr-\x94\x10\x102\xedi;\xf3f\xf1z\x16\x86\xdb\xd8d\xe5\xe7\x8b\xf5\x8d\rzp\xb2\xfe\xac\xf5\xf2\xd3\xfe\xfckws\xedt\x96b\xd5l\x1c\x0b\x85\xb5\x170\x8f\x11\x84\xb0\x8f\x19\xa0\x00\t_\x07\x1ac\xa2\xc3\x89Z\xe7\x96\xf9 \xccNFg\xc7F\xaa\x8a+\x9a\x9cc_\x17\x1b\x17\x9e]z38<\x97+\xb5,",\xc8\xc8?\\\x91\xff\x17.~U\x96\x97\xf5%\xdeN<\x8e\xf5\x97%\xe7^\xcfL\xed~\xda\x96k\xdc->\x86\x02\x83"\x96H\xa6\xe3\xaas=-\xeb7\xe5\xda\x8f\xbc |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
931 |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
932 stream_out |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
933 |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
934 $ "$TESTDIR/get-with-headers.py" 127.0.0.1:$HGPORT '?cmd=stream_out' |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
935 200 Script output follows |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
936 |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
937 1 |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
938 |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
939 failing unbundle, requires POST request |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
940 |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
941 $ "$TESTDIR/get-with-headers.py" 127.0.0.1:$HGPORT '?cmd=unbundle' |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
942 405 push requires POST request |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
943 |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
944 0 |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
945 push requires POST request |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
946 [1] |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
947 |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
948 Static files |
11765
aff419e260f9
templatefilters: make json filter handle multibyte characters correctly
Yuya Nishihara <yuya@tcha.org>
parents:
10414
diff
changeset
|
949 |
12433
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
950 $ "$TESTDIR/get-with-headers.py" 127.0.0.1:$HGPORT '/static/style.css' |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
951 200 Script output follows |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
952 |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
953 a { text-decoration:none; } |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
954 .age { white-space:nowrap; } |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
955 .date { white-space:nowrap; } |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
956 .indexlinks { white-space:nowrap; } |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
957 .parity0 { background-color: #ddd; } |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
958 .parity1 { background-color: #eee; } |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
959 .lineno { width: 60px; color: #aaa; font-size: smaller; |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
960 text-align: right; } |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
961 .plusline { color: green; } |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
962 .minusline { color: red; } |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
963 .atline { color: purple; } |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
964 .annotate { font-size: smaller; text-align: right; padding-right: 1em; } |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
965 .buttons a { |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
966 background-color: #666; |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
967 padding: 2pt; |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
968 color: white; |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
969 font-family: sans; |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
970 font-weight: bold; |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
971 } |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
972 .navigate a { |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
973 background-color: #ccc; |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
974 padding: 2pt; |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
975 font-family: sans; |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
976 color: black; |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
977 } |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
978 |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
979 .metatag { |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
980 background-color: #888; |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
981 color: white; |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
982 text-align: right; |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
983 } |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
984 |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
985 /* Common */ |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
986 pre { margin: 0; } |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
987 |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
988 .logo { |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
989 float: right; |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
990 clear: right; |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
991 } |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
992 |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
993 /* Changelog/Filelog entries */ |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
994 .logEntry { width: 100%; } |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
995 .logEntry .age { width: 15%; } |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
996 .logEntry th { font-weight: normal; text-align: right; vertical-align: top; } |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
997 .logEntry th.age, .logEntry th.firstline { font-weight: bold; } |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
998 .logEntry th.firstline { text-align: left; width: inherit; } |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
999 |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
1000 /* Shortlog entries */ |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
1001 .slogEntry { width: 100%; } |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
1002 .slogEntry .age { width: 8em; } |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
1003 .slogEntry td { font-weight: normal; text-align: left; vertical-align: top; } |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
1004 .slogEntry td.author { width: 15em; } |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
1005 |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
1006 /* Tag entries */ |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
1007 #tagEntries { list-style: none; margin: 0; padding: 0; } |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
1008 #tagEntries .tagEntry { list-style: none; margin: 0; padding: 0; } |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
1009 |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
1010 /* Changeset entry */ |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
1011 #changesetEntry { } |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
1012 #changesetEntry th { font-weight: normal; background-color: #888; color: #fff; text-align: right; } |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
1013 #changesetEntry th.files, #changesetEntry th.description { vertical-align: top; } |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
1014 |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
1015 /* File diff view */ |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
1016 #filediffEntry { } |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
1017 #filediffEntry th { font-weight: normal; background-color: #888; color: #fff; text-align: right; } |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
1018 |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
1019 /* Graph */ |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
1020 div#wrapper { |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
1021 position: relative; |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
1022 margin: 0; |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
1023 padding: 0; |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
1024 } |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
1025 |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
1026 canvas { |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
1027 position: absolute; |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
1028 z-index: 5; |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
1029 top: -0.6em; |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
1030 margin: 0; |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
1031 } |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
1032 |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
1033 ul#nodebgs { |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
1034 list-style: none inside none; |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
1035 padding: 0; |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
1036 margin: 0; |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
1037 top: -0.7em; |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
1038 } |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
1039 |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
1040 ul#graphnodes li, ul#nodebgs li { |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
1041 height: 39px; |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
1042 } |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
1043 |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
1044 ul#graphnodes { |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
1045 position: absolute; |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
1046 z-index: 10; |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
1047 top: -0.85em; |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
1048 list-style: none inside none; |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
1049 padding: 0; |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
1050 } |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
1051 |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
1052 ul#graphnodes li .info { |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
1053 display: block; |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
1054 font-size: 70%; |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
1055 position: relative; |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
1056 top: -1px; |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
1057 } |
11765
aff419e260f9
templatefilters: make json filter handle multibyte characters correctly
Yuya Nishihara <yuya@tcha.org>
parents:
10414
diff
changeset
|
1058 |
12433
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
1059 Stop and restart with HGENCODING=cp932 |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
1060 |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
1061 $ "$TESTDIR/killdaemons.py" |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
1062 $ HGENCODING=cp932 hg serve --config server.uncompressed=False -n test \ |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
1063 > -p $HGPORT -d --pid-file=hg.pid -E errors.log |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
1064 $ cat hg.pid >> $DAEMON_PIDS |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
1065 |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
1066 commit message with Japanese Kanji 'Noh', which ends with '\x5c' |
11765
aff419e260f9
templatefilters: make json filter handle multibyte characters correctly
Yuya Nishihara <yuya@tcha.org>
parents:
10414
diff
changeset
|
1067 |
12433
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
1068 $ echo foo >> foo |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
1069 $ HGENCODING=cp932 hg ci -m `python -c 'print("\x94\x5c")'` |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
1070 |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
1071 Graph json escape of multibyte character |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
1072 |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
1073 $ "$TESTDIR/get-with-headers.py" 127.0.0.1:$HGPORT '/graph/' \ |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
1074 > | grep '^var data =' |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
1075 var data = [["40b4d6888e92", [0, 1], [[0, 0, 1]], "\u80fd", "test", "1970-01-01", ["stable", true], ["tip"]], ["1d22e65f027e", [0, 1], [[0, 0, 1]], "branch", "test", "1970-01-01", ["stable", false], []], ["a4f92ed23982", [0, 1], [[0, 0, 1]], "Added tag 1.0 for changeset 2ef0ac749a14", "test", "1970-01-01", ["default", true], []], ["2ef0ac749a14", [0, 1], [], "base", "test", "1970-01-01", ["default", false], ["1.0"]]]; |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
1076 |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
1077 ERRORS ENCOUNTERED |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
1078 |
abbe2e979948
tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents:
11766
diff
changeset
|
1079 $ cat errors.log |