annotate tests/test-hgweb-commands.t @ 17474:f85816af6294

obsolete: add a high level function to create an obsolete marker This function is designed to be used by all code that creates new obsolete markers in the local repository. It is not used by debugobsolete because debugobsolete allows the use of an unknown hash as argument.
author Pierre-Yves David <pierre-yves.david@logilab.fr>
date Fri, 24 Aug 2012 21:16:23 +0200
parents d5a3bda6e170
children 54c832922e85
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
15446
c5c9ca3719f9 tests: use 'hghave serve' to guard tests that requires serve daemon management
Mads Kiilerich <mads@kiilerich.com>
parents: 15375
diff changeset
1 $ "$TESTDIR/hghave" serve || exit 80
c5c9ca3719f9 tests: use 'hghave serve' to guard tests that requires serve daemon management
Mads Kiilerich <mads@kiilerich.com>
parents: 15375
diff changeset
2
12433
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
3 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
4 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
5 - archive, tested in test-archive
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
6 - unbundle, tested in test-push-http
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
7 - changegroupsubset, tested in test-pull
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 Set up the repo
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
10
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
11 $ hg init test
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
12 $ cd test
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
13 $ mkdir da
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
14 $ echo foo > da/foo
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
15 $ echo foo > foo
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
16 $ hg ci -Ambase
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
17 adding da/foo
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
18 adding foo
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
19 $ hg tag 1.0
13596
270f57d35525 hgweb: add display of bookmarks for changelog and changeset
Alexander Solovyov <alexander@solovyov.net>
parents: 12943
diff changeset
20 $ hg bookmark something
13922
b8dd2e95b0ca hgweb: sort bookmarks in the same manner as console command
Yuya Nishihara <yuya@tcha.org>
parents: 13921
diff changeset
21 $ hg bookmark -r0 anotherthing
12433
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
22 $ echo another > foo
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
23 $ hg branch stable
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
24 marked working directory as branch stable
15615
41885892796e branch: warn on branching
Matt Mackall <mpm@selenic.com>
parents: 15375
diff changeset
25 (branches are permanent and global, did you want a bookmark?)
12433
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
26 $ hg ci -Ambranch
16129
5e50982c633c graph: in hgrc specify line width for main branch
Constantine Linnick <theaspect@gmail.com>
parents: 15623
diff changeset
27 $ hg branch unstable
5e50982c633c graph: in hgrc specify line width for main branch
Constantine Linnick <theaspect@gmail.com>
parents: 15623
diff changeset
28 marked working directory as branch unstable
5e50982c633c graph: in hgrc specify line width for main branch
Constantine Linnick <theaspect@gmail.com>
parents: 15623
diff changeset
29 (branches are permanent and global, did you want a bookmark?)
5e50982c633c graph: in hgrc specify line width for main branch
Constantine Linnick <theaspect@gmail.com>
parents: 15623
diff changeset
30 $ hg ci -Ambranch
5e50982c633c graph: in hgrc specify line width for main branch
Constantine Linnick <theaspect@gmail.com>
parents: 15623
diff changeset
31 $ echo [graph] >> .hg/hgrc
5e50982c633c graph: in hgrc specify line width for main branch
Constantine Linnick <theaspect@gmail.com>
parents: 15623
diff changeset
32 $ echo default.width = 3 >> .hg/hgrc
5e50982c633c graph: in hgrc specify line width for main branch
Constantine Linnick <theaspect@gmail.com>
parents: 15623
diff changeset
33 $ echo stable.width = 3 >> .hg/hgrc
16130
33f702e52906 graph: in hgrc specify line color for main branch
Constantine Linnick <theaspect@gmail.com>
parents: 16129
diff changeset
34 $ echo stable.color = FF0000 >> .hg/hgrc
12433
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
35 $ 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
36 $ cat hg.pid >> $DAEMON_PIDS
17318
7ac5800dbc8f hgweb: fix graph view paging
Patrick Mezard <patrick@mezard.eu>
parents: 17288
diff changeset
37 $ hg log -G --template '{rev}:{node|short} {desc}\n'
7ac5800dbc8f hgweb: fix graph view paging
Patrick Mezard <patrick@mezard.eu>
parents: 17288
diff changeset
38 @ 3:ba87b23d29ca branch
7ac5800dbc8f hgweb: fix graph view paging
Patrick Mezard <patrick@mezard.eu>
parents: 17288
diff changeset
39 |
7ac5800dbc8f hgweb: fix graph view paging
Patrick Mezard <patrick@mezard.eu>
parents: 17288
diff changeset
40 o 2:1d22e65f027e branch
7ac5800dbc8f hgweb: fix graph view paging
Patrick Mezard <patrick@mezard.eu>
parents: 17288
diff changeset
41 |
7ac5800dbc8f hgweb: fix graph view paging
Patrick Mezard <patrick@mezard.eu>
parents: 17288
diff changeset
42 o 1:a4f92ed23982 Added tag 1.0 for changeset 2ef0ac749a14
7ac5800dbc8f hgweb: fix graph view paging
Patrick Mezard <patrick@mezard.eu>
parents: 17288
diff changeset
43 |
7ac5800dbc8f hgweb: fix graph view paging
Patrick Mezard <patrick@mezard.eu>
parents: 17288
diff changeset
44 o 0:2ef0ac749a14 base
7ac5800dbc8f hgweb: fix graph view paging
Patrick Mezard <patrick@mezard.eu>
parents: 17288
diff changeset
45
12433
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
46
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
47 Logs and changes
5590
05451f6b5f07 add more tests for hgweb commands
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents:
diff changeset
48
17017
953faba28e91 tests: prepare get-with-headers.py for MSYS
Mads Kiilerich <mads@kiilerich.com>
parents: 16913
diff changeset
49 $ "$TESTDIR/get-with-headers.py" 127.0.0.1:$HGPORT 'log/?style=atom'
12433
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
50 200 Script output follows
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
51
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
52 <?xml version="1.0" encoding="ascii"?>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
53 <feed xmlns="http://www.w3.org/2005/Atom">
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
54 <!-- Changelog -->
12643
d08bb64888bc tests: reintroduce ":$HGPORT" in test output
Mads Kiilerich <mads@kiilerich.com>
parents: 12433
diff changeset
55 <id>http://*:$HGPORT/</id> (glob)
d08bb64888bc tests: reintroduce ":$HGPORT" in test output
Mads Kiilerich <mads@kiilerich.com>
parents: 12433
diff changeset
56 <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
57 <link rel="alternate" href="http://*:$HGPORT/"/> (glob)
12433
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
58 <title>test Changelog</title>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
59 <updated>1970-01-01T00:00:00+00:00</updated>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
60
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
61 <entry>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
62 <title>branch</title>
16129
5e50982c633c graph: in hgrc specify line width for main branch
Constantine Linnick <theaspect@gmail.com>
parents: 15623
diff changeset
63 <id>http://*:$HGPORT/#changeset-ba87b23d29ca67a305625d81a20ac279c1e3f444</id> (glob)
5e50982c633c graph: in hgrc specify line width for main branch
Constantine Linnick <theaspect@gmail.com>
parents: 15623
diff changeset
64 <link href="http://*:$HGPORT/rev/ba87b23d29ca"/> (glob)
5e50982c633c graph: in hgrc specify line width for main branch
Constantine Linnick <theaspect@gmail.com>
parents: 15623
diff changeset
65 <author>
5e50982c633c graph: in hgrc specify line width for main branch
Constantine Linnick <theaspect@gmail.com>
parents: 15623
diff changeset
66 <name>test</name>
5e50982c633c graph: in hgrc specify line width for main branch
Constantine Linnick <theaspect@gmail.com>
parents: 15623
diff changeset
67 <email>&#116;&#101;&#115;&#116;</email>
5e50982c633c graph: in hgrc specify line width for main branch
Constantine Linnick <theaspect@gmail.com>
parents: 15623
diff changeset
68 </author>
5e50982c633c graph: in hgrc specify line width for main branch
Constantine Linnick <theaspect@gmail.com>
parents: 15623
diff changeset
69 <updated>1970-01-01T00:00:00+00:00</updated>
5e50982c633c graph: in hgrc specify line width for main branch
Constantine Linnick <theaspect@gmail.com>
parents: 15623
diff changeset
70 <published>1970-01-01T00:00:00+00:00</published>
5e50982c633c graph: in hgrc specify line width for main branch
Constantine Linnick <theaspect@gmail.com>
parents: 15623
diff changeset
71 <content type="xhtml">
5e50982c633c graph: in hgrc specify line width for main branch
Constantine Linnick <theaspect@gmail.com>
parents: 15623
diff changeset
72 <div xmlns="http://www.w3.org/1999/xhtml">
5e50982c633c graph: in hgrc specify line width for main branch
Constantine Linnick <theaspect@gmail.com>
parents: 15623
diff changeset
73 <pre xml:space="preserve">branch</pre>
5e50982c633c graph: in hgrc specify line width for main branch
Constantine Linnick <theaspect@gmail.com>
parents: 15623
diff changeset
74 </div>
5e50982c633c graph: in hgrc specify line width for main branch
Constantine Linnick <theaspect@gmail.com>
parents: 15623
diff changeset
75 </content>
5e50982c633c graph: in hgrc specify line width for main branch
Constantine Linnick <theaspect@gmail.com>
parents: 15623
diff changeset
76 </entry>
5e50982c633c graph: in hgrc specify line width for main branch
Constantine Linnick <theaspect@gmail.com>
parents: 15623
diff changeset
77 <entry>
5e50982c633c graph: in hgrc specify line width for main branch
Constantine Linnick <theaspect@gmail.com>
parents: 15623
diff changeset
78 <title>branch</title>
12643
d08bb64888bc tests: reintroduce ":$HGPORT" in test output
Mads Kiilerich <mads@kiilerich.com>
parents: 12433
diff changeset
79 <id>http://*:$HGPORT/#changeset-1d22e65f027e5a0609357e7d8e7508cd2ba5d2fe</id> (glob)
d08bb64888bc tests: reintroduce ":$HGPORT" in test output
Mads Kiilerich <mads@kiilerich.com>
parents: 12433
diff changeset
80 <link href="http://*:$HGPORT/rev/1d22e65f027e"/> (glob)
12433
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
81 <author>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
82 <name>test</name>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
83 <email>&#116;&#101;&#115;&#116;</email>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
84 </author>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
85 <updated>1970-01-01T00:00:00+00:00</updated>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
86 <published>1970-01-01T00:00:00+00:00</published>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
87 <content type="xhtml">
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
88 <div xmlns="http://www.w3.org/1999/xhtml">
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
89 <pre xml:space="preserve">branch</pre>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
90 </div>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
91 </content>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
92 </entry>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
93 <entry>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
94 <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
95 <id>http://*:$HGPORT/#changeset-a4f92ed23982be056b9852de5dfe873eaac7f0de</id> (glob)
d08bb64888bc tests: reintroduce ":$HGPORT" in test output
Mads Kiilerich <mads@kiilerich.com>
parents: 12433
diff changeset
96 <link href="http://*:$HGPORT/rev/a4f92ed23982"/> (glob)
12433
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
97 <author>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
98 <name>test</name>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
99 <email>&#116;&#101;&#115;&#116;</email>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
100 </author>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
101 <updated>1970-01-01T00:00:00+00:00</updated>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
102 <published>1970-01-01T00:00:00+00:00</published>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
103 <content type="xhtml">
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
104 <div xmlns="http://www.w3.org/1999/xhtml">
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
105 <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
106 </div>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
107 </content>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
108 </entry>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
109 <entry>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
110 <title>base</title>
12643
d08bb64888bc tests: reintroduce ":$HGPORT" in test output
Mads Kiilerich <mads@kiilerich.com>
parents: 12433
diff changeset
111 <id>http://*:$HGPORT/#changeset-2ef0ac749a14e4f57a5a822464a0902c6f7f448f</id> (glob)
d08bb64888bc tests: reintroduce ":$HGPORT" in test output
Mads Kiilerich <mads@kiilerich.com>
parents: 12433
diff changeset
112 <link href="http://*:$HGPORT/rev/2ef0ac749a14"/> (glob)
12433
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
113 <author>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
114 <name>test</name>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
115 <email>&#116;&#101;&#115;&#116;</email>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
116 </author>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
117 <updated>1970-01-01T00:00:00+00:00</updated>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
118 <published>1970-01-01T00:00:00+00:00</published>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
119 <content type="xhtml">
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
120 <div xmlns="http://www.w3.org/1999/xhtml">
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
121 <pre xml:space="preserve">base</pre>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
122 </div>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
123 </content>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
124 </entry>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
125
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
126 </feed>
17017
953faba28e91 tests: prepare get-with-headers.py for MSYS
Mads Kiilerich <mads@kiilerich.com>
parents: 16913
diff changeset
127 $ "$TESTDIR/get-with-headers.py" 127.0.0.1:$HGPORT 'log/1/?style=atom'
12433
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
128 200 Script output follows
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
129
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
130 <?xml version="1.0" encoding="ascii"?>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
131 <feed xmlns="http://www.w3.org/2005/Atom">
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
132 <!-- Changelog -->
12643
d08bb64888bc tests: reintroduce ":$HGPORT" in test output
Mads Kiilerich <mads@kiilerich.com>
parents: 12433
diff changeset
133 <id>http://*:$HGPORT/</id> (glob)
d08bb64888bc tests: reintroduce ":$HGPORT" in test output
Mads Kiilerich <mads@kiilerich.com>
parents: 12433
diff changeset
134 <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
135 <link rel="alternate" href="http://*:$HGPORT/"/> (glob)
12433
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
136 <title>test Changelog</title>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
137 <updated>1970-01-01T00:00:00+00:00</updated>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
138
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
139 <entry>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
140 <title>branch</title>
16129
5e50982c633c graph: in hgrc specify line width for main branch
Constantine Linnick <theaspect@gmail.com>
parents: 15623
diff changeset
141 <id>http://*:$HGPORT/#changeset-ba87b23d29ca67a305625d81a20ac279c1e3f444</id> (glob)
5e50982c633c graph: in hgrc specify line width for main branch
Constantine Linnick <theaspect@gmail.com>
parents: 15623
diff changeset
142 <link href="http://*:$HGPORT/rev/ba87b23d29ca"/> (glob)
5e50982c633c graph: in hgrc specify line width for main branch
Constantine Linnick <theaspect@gmail.com>
parents: 15623
diff changeset
143 <author>
5e50982c633c graph: in hgrc specify line width for main branch
Constantine Linnick <theaspect@gmail.com>
parents: 15623
diff changeset
144 <name>test</name>
5e50982c633c graph: in hgrc specify line width for main branch
Constantine Linnick <theaspect@gmail.com>
parents: 15623
diff changeset
145 <email>&#116;&#101;&#115;&#116;</email>
5e50982c633c graph: in hgrc specify line width for main branch
Constantine Linnick <theaspect@gmail.com>
parents: 15623
diff changeset
146 </author>
5e50982c633c graph: in hgrc specify line width for main branch
Constantine Linnick <theaspect@gmail.com>
parents: 15623
diff changeset
147 <updated>1970-01-01T00:00:00+00:00</updated>
5e50982c633c graph: in hgrc specify line width for main branch
Constantine Linnick <theaspect@gmail.com>
parents: 15623
diff changeset
148 <published>1970-01-01T00:00:00+00:00</published>
5e50982c633c graph: in hgrc specify line width for main branch
Constantine Linnick <theaspect@gmail.com>
parents: 15623
diff changeset
149 <content type="xhtml">
5e50982c633c graph: in hgrc specify line width for main branch
Constantine Linnick <theaspect@gmail.com>
parents: 15623
diff changeset
150 <div xmlns="http://www.w3.org/1999/xhtml">
5e50982c633c graph: in hgrc specify line width for main branch
Constantine Linnick <theaspect@gmail.com>
parents: 15623
diff changeset
151 <pre xml:space="preserve">branch</pre>
5e50982c633c graph: in hgrc specify line width for main branch
Constantine Linnick <theaspect@gmail.com>
parents: 15623
diff changeset
152 </div>
5e50982c633c graph: in hgrc specify line width for main branch
Constantine Linnick <theaspect@gmail.com>
parents: 15623
diff changeset
153 </content>
5e50982c633c graph: in hgrc specify line width for main branch
Constantine Linnick <theaspect@gmail.com>
parents: 15623
diff changeset
154 </entry>
5e50982c633c graph: in hgrc specify line width for main branch
Constantine Linnick <theaspect@gmail.com>
parents: 15623
diff changeset
155 <entry>
5e50982c633c graph: in hgrc specify line width for main branch
Constantine Linnick <theaspect@gmail.com>
parents: 15623
diff changeset
156 <title>branch</title>
12643
d08bb64888bc tests: reintroduce ":$HGPORT" in test output
Mads Kiilerich <mads@kiilerich.com>
parents: 12433
diff changeset
157 <id>http://*:$HGPORT/#changeset-1d22e65f027e5a0609357e7d8e7508cd2ba5d2fe</id> (glob)
d08bb64888bc tests: reintroduce ":$HGPORT" in test output
Mads Kiilerich <mads@kiilerich.com>
parents: 12433
diff changeset
158 <link href="http://*:$HGPORT/rev/1d22e65f027e"/> (glob)
12433
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
159 <author>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
160 <name>test</name>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
161 <email>&#116;&#101;&#115;&#116;</email>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
162 </author>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
163 <updated>1970-01-01T00:00:00+00:00</updated>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
164 <published>1970-01-01T00:00:00+00:00</published>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
165 <content type="xhtml">
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
166 <div xmlns="http://www.w3.org/1999/xhtml">
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
167 <pre xml:space="preserve">branch</pre>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
168 </div>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
169 </content>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
170 </entry>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
171 <entry>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
172 <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
173 <id>http://*:$HGPORT/#changeset-a4f92ed23982be056b9852de5dfe873eaac7f0de</id> (glob)
d08bb64888bc tests: reintroduce ":$HGPORT" in test output
Mads Kiilerich <mads@kiilerich.com>
parents: 12433
diff changeset
174 <link href="http://*:$HGPORT/rev/a4f92ed23982"/> (glob)
12433
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
175 <author>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
176 <name>test</name>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
177 <email>&#116;&#101;&#115;&#116;</email>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
178 </author>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
179 <updated>1970-01-01T00:00:00+00:00</updated>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
180 <published>1970-01-01T00:00:00+00:00</published>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
181 <content type="xhtml">
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
182 <div xmlns="http://www.w3.org/1999/xhtml">
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
183 <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
184 </div>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
185 </content>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
186 </entry>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
187 <entry>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
188 <title>base</title>
12643
d08bb64888bc tests: reintroduce ":$HGPORT" in test output
Mads Kiilerich <mads@kiilerich.com>
parents: 12433
diff changeset
189 <id>http://*:$HGPORT/#changeset-2ef0ac749a14e4f57a5a822464a0902c6f7f448f</id> (glob)
d08bb64888bc tests: reintroduce ":$HGPORT" in test output
Mads Kiilerich <mads@kiilerich.com>
parents: 12433
diff changeset
190 <link href="http://*:$HGPORT/rev/2ef0ac749a14"/> (glob)
12433
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
191 <author>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
192 <name>test</name>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
193 <email>&#116;&#101;&#115;&#116;</email>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
194 </author>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
195 <updated>1970-01-01T00:00:00+00:00</updated>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
196 <published>1970-01-01T00:00:00+00:00</published>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
197 <content type="xhtml">
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
198 <div xmlns="http://www.w3.org/1999/xhtml">
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
199 <pre xml:space="preserve">base</pre>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
200 </div>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
201 </content>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
202 </entry>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
203
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
204 </feed>
17017
953faba28e91 tests: prepare get-with-headers.py for MSYS
Mads Kiilerich <mads@kiilerich.com>
parents: 16913
diff changeset
205 $ "$TESTDIR/get-with-headers.py" 127.0.0.1:$HGPORT 'log/1/foo/?style=atom'
12433
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
206 200 Script output follows
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
207
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
208 <?xml version="1.0" encoding="ascii"?>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
209 <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
210 <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
211 <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
212 <title>test: foo history</title>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
213 <updated>1970-01-01T00:00:00+00:00</updated>
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 <entry>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
216 <title>base</title>
12643
d08bb64888bc tests: reintroduce ":$HGPORT" in test output
Mads Kiilerich <mads@kiilerich.com>
parents: 12433
diff changeset
217 <id>http://*:$HGPORT/#changeset-2ef0ac749a14e4f57a5a822464a0902c6f7f448f</id> (glob)
d08bb64888bc tests: reintroduce ":$HGPORT" in test output
Mads Kiilerich <mads@kiilerich.com>
parents: 12433
diff changeset
218 <link href="http://*:$HGPORT/rev/2ef0ac749a14"/> (glob)
12433
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
219 <author>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
220 <name>test</name>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
221 <email>&#116;&#101;&#115;&#116;</email>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
222 </author>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
223 <updated>1970-01-01T00:00:00+00:00</updated>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
224 <published>1970-01-01T00:00:00+00:00</published>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
225 <content type="xhtml">
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
226 <div xmlns="http://www.w3.org/1999/xhtml">
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
227 <pre xml:space="preserve">base</pre>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
228 </div>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
229 </content>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
230 </entry>
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 </feed>
17017
953faba28e91 tests: prepare get-with-headers.py for MSYS
Mads Kiilerich <mads@kiilerich.com>
parents: 16913
diff changeset
233 $ "$TESTDIR/get-with-headers.py" 127.0.0.1:$HGPORT 'shortlog/'
12433
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
234 200 Script output follows
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
235
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
236 <!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
237 <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
238 <head>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
239 <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
240 <meta name="robots" content="index, nofollow" />
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
241 <link rel="stylesheet" href="/static/style-paper.css" type="text/css" />
14046
b24e5a708fad web: Made elapsed time calculation dynamic (javascript).
Benoit Allard <benoit@aeteurope.nl>
parents: 13942
diff changeset
242 <script type="text/javascript" src="/static/mercurial.js"></script>
12433
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
243
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
244 <title>test: log</title>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
245 <link rel="alternate" type="application/atom+xml"
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
246 href="/atom-log" title="Atom feed for test" />
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
247 <link rel="alternate" type="application/rss+xml"
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
248 href="/rss-log" title="RSS feed for test" />
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
249 </head>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
250 <body>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
251
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
252 <div class="container">
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
253 <div class="menu">
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
254 <div class="logo">
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
255 <a href="http://mercurial.selenic.com/">
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
256 <img src="/static/hglogo.png" alt="mercurial" /></a>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
257 </div>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
258 <ul>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
259 <li class="active">log</li>
16129
5e50982c633c graph: in hgrc specify line width for main branch
Constantine Linnick <theaspect@gmail.com>
parents: 15623
diff changeset
260 <li><a href="/graph/ba87b23d29ca">graph</a></li>
12433
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
261 <li><a href="/tags">tags</a></li>
13597
38c9837b1f75 hgweb: add separate page with bookmarks listing
Alexander Solovyov <alexander@solovyov.net>
parents: 13596
diff changeset
262 <li><a href="/bookmarks">bookmarks</a></li>
12433
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
263 <li><a href="/branches">branches</a></li>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
264 </ul>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
265 <ul>
16129
5e50982c633c graph: in hgrc specify line width for main branch
Constantine Linnick <theaspect@gmail.com>
parents: 15623
diff changeset
266 <li><a href="/rev/ba87b23d29ca">changeset</a></li>
5e50982c633c graph: in hgrc specify line width for main branch
Constantine Linnick <theaspect@gmail.com>
parents: 15623
diff changeset
267 <li><a href="/file/ba87b23d29ca">browse</a></li>
12433
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
268 </ul>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
269 <ul>
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 </ul>
12666
ead4e21f49f1 web: add a help view for getting hg help output
Augie Fackler <durin42@gmail.com>
parents: 12643
diff changeset
272 <ul>
ead4e21f49f1 web: add a help view for getting hg help output
Augie Fackler <durin42@gmail.com>
parents: 12643
diff changeset
273 <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
274 </ul>
12433
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
275 </div>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
276
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
277 <div class="main">
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
278 <h2><a href="/">test</a></h2>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
279 <h3>log</h3>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
280
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
281 <form class="search" action="/log">
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
282
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
283 <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
284 <div id="hint">find changesets by author, revision,
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
285 files, or words in the commit message</div>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
286 </form>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
287
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
288 <div class="navigate">
16129
5e50982c633c graph: in hgrc specify line width for main branch
Constantine Linnick <theaspect@gmail.com>
parents: 15623
diff changeset
289 <a href="/shortlog/3?revcount=30">less</a>
5e50982c633c graph: in hgrc specify line width for main branch
Constantine Linnick <theaspect@gmail.com>
parents: 15623
diff changeset
290 <a href="/shortlog/3?revcount=120">more</a>
5e50982c633c graph: in hgrc specify line width for main branch
Constantine Linnick <theaspect@gmail.com>
parents: 15623
diff changeset
291 | rev 3: <a href="/shortlog/2ef0ac749a14">(0)</a> <a href="/shortlog/tip">tip</a>
12433
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
292 </div>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
293
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
294 <table class="bigtable">
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
295 <tr>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
296 <th class="age">age</th>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
297 <th class="author">author</th>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
298 <th class="description">description</th>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
299 </tr>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
300 <tr class="parity0">
15375
fe9d36a6853e hgweb: fix dynamic date calculation not working under Safari
Brodie Rao <brodie@bitheap.org>
parents: 14622
diff changeset
301 <td class="age">Thu, 01 Jan 1970 00:00:00 +0000</td>
12433
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
302 <td class="author">test</td>
16129
5e50982c633c graph: in hgrc specify line width for main branch
Constantine Linnick <theaspect@gmail.com>
parents: 15623
diff changeset
303 <td class="description"><a href="/rev/ba87b23d29ca">branch</a><span class="branchhead">unstable</span> <span class="tag">tip</span> <span class="tag">something</span> </td>
12433
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
304 </tr>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
305 <tr class="parity1">
15375
fe9d36a6853e hgweb: fix dynamic date calculation not working under Safari
Brodie Rao <brodie@bitheap.org>
parents: 14622
diff changeset
306 <td class="age">Thu, 01 Jan 1970 00:00:00 +0000</td>
12433
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
307 <td class="author">test</td>
16129
5e50982c633c graph: in hgrc specify line width for main branch
Constantine Linnick <theaspect@gmail.com>
parents: 15623
diff changeset
308 <td class="description"><a href="/rev/1d22e65f027e">branch</a><span class="branchhead">stable</span> </td>
5e50982c633c graph: in hgrc specify line width for main branch
Constantine Linnick <theaspect@gmail.com>
parents: 15623
diff changeset
309 </tr>
5e50982c633c graph: in hgrc specify line width for main branch
Constantine Linnick <theaspect@gmail.com>
parents: 15623
diff changeset
310 <tr class="parity0">
5e50982c633c graph: in hgrc specify line width for main branch
Constantine Linnick <theaspect@gmail.com>
parents: 15623
diff changeset
311 <td class="age">Thu, 01 Jan 1970 00:00:00 +0000</td>
5e50982c633c graph: in hgrc specify line width for main branch
Constantine Linnick <theaspect@gmail.com>
parents: 15623
diff changeset
312 <td class="author">test</td>
12433
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
313 <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
314 </tr>
16129
5e50982c633c graph: in hgrc specify line width for main branch
Constantine Linnick <theaspect@gmail.com>
parents: 15623
diff changeset
315 <tr class="parity1">
15375
fe9d36a6853e hgweb: fix dynamic date calculation not working under Safari
Brodie Rao <brodie@bitheap.org>
parents: 14622
diff changeset
316 <td class="age">Thu, 01 Jan 1970 00:00:00 +0000</td>
12433
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
317 <td class="author">test</td>
13922
b8dd2e95b0ca hgweb: sort bookmarks in the same manner as console command
Yuya Nishihara <yuya@tcha.org>
parents: 13921
diff changeset
318 <td class="description"><a href="/rev/2ef0ac749a14">base</a><span class="tag">1.0</span> <span class="tag">anotherthing</span> </td>
12433
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
319 </tr>
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 </table>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
322
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
323 <div class="navigate">
16129
5e50982c633c graph: in hgrc specify line width for main branch
Constantine Linnick <theaspect@gmail.com>
parents: 15623
diff changeset
324 <a href="/shortlog/3?revcount=30">less</a>
5e50982c633c graph: in hgrc specify line width for main branch
Constantine Linnick <theaspect@gmail.com>
parents: 15623
diff changeset
325 <a href="/shortlog/3?revcount=120">more</a>
5e50982c633c graph: in hgrc specify line width for main branch
Constantine Linnick <theaspect@gmail.com>
parents: 15623
diff changeset
326 | rev 3: <a href="/shortlog/2ef0ac749a14">(0)</a> <a href="/shortlog/tip">tip</a>
12433
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
327 </div>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
328
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
329 </div>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
330 </div>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
331
14046
b24e5a708fad web: Made elapsed time calculation dynamic (javascript).
Benoit Allard <benoit@aeteurope.nl>
parents: 13942
diff changeset
332 <script type="text/javascript">process_dates()</script>
12433
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
333
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
334
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
335 </body>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
336 </html>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
337
17017
953faba28e91 tests: prepare get-with-headers.py for MSYS
Mads Kiilerich <mads@kiilerich.com>
parents: 16913
diff changeset
338 $ "$TESTDIR/get-with-headers.py" 127.0.0.1:$HGPORT 'rev/0/'
12433
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
339 200 Script output follows
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
340
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
341 <!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
342 <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
343 <head>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
344 <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
345 <meta name="robots" content="index, nofollow" />
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
346 <link rel="stylesheet" href="/static/style-paper.css" type="text/css" />
14046
b24e5a708fad web: Made elapsed time calculation dynamic (javascript).
Benoit Allard <benoit@aeteurope.nl>
parents: 13942
diff changeset
347 <script type="text/javascript" src="/static/mercurial.js"></script>
12433
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
348
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
349 <title>test: 2ef0ac749a14</title>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
350 </head>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
351 <body>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
352 <div class="container">
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
353 <div class="menu">
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
354 <div class="logo">
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
355 <a href="http://mercurial.selenic.com/">
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
356 <img src="/static/hglogo.png" alt="mercurial" /></a>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
357 </div>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
358 <ul>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
359 <li><a href="/shortlog/2ef0ac749a14">log</a></li>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
360 <li><a href="/graph/2ef0ac749a14">graph</a></li>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
361 <li><a href="/tags">tags</a></li>
13597
38c9837b1f75 hgweb: add separate page with bookmarks listing
Alexander Solovyov <alexander@solovyov.net>
parents: 13596
diff changeset
362 <li><a href="/bookmarks">bookmarks</a></li>
12433
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
363 <li><a href="/branches">branches</a></li>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
364 </ul>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
365 <ul>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
366 <li class="active">changeset</li>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
367 <li><a href="/raw-rev/2ef0ac749a14">raw</a></li>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
368 <li><a href="/file/2ef0ac749a14">browse</a></li>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
369 </ul>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
370 <ul>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
371
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
372 </ul>
12666
ead4e21f49f1 web: add a help view for getting hg help output
Augie Fackler <durin42@gmail.com>
parents: 12643
diff changeset
373 <ul>
ead4e21f49f1 web: add a help view for getting hg help output
Augie Fackler <durin42@gmail.com>
parents: 12643
diff changeset
374 <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
375 </ul>
12433
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
376 </div>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
377
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
378 <div class="main">
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
379
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
380 <h2><a href="/">test</a></h2>
13922
b8dd2e95b0ca hgweb: sort bookmarks in the same manner as console command
Yuya Nishihara <yuya@tcha.org>
parents: 13921
diff changeset
381 <h3>changeset 0:2ef0ac749a14 <span class="tag">1.0</span> <span class="tag">anotherthing</span> </h3>
12433
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
382
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
383 <form class="search" action="/log">
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
384
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
385 <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
386 <div id="hint">find changesets by author, revision,
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
387 files, or words in the commit message</div>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
388 </form>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
389
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
390 <div class="description">base</div>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
391
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
392 <table id="changesetEntry">
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
393 <tr>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
394 <th class="author">author</th>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
395 <td class="author">&#116;&#101;&#115;&#116;</td>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
396 </tr>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
397 <tr>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
398 <th class="date">date</th>
15375
fe9d36a6853e hgweb: fix dynamic date calculation not working under Safari
Brodie Rao <brodie@bitheap.org>
parents: 14622
diff changeset
399 <td class="date age">Thu, 01 Jan 1970 00:00:00 +0000</td></tr>
12433
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
400 <tr>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
401 <th class="author">parents</th>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
402 <td class="author"></td>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
403 </tr>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
404 <tr>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
405 <th class="author">children</th>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
406 <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
407 </tr>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
408 <tr>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
409 <th class="files">files</th>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
410 <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
411 </tr>
14571
17c0cb1045e5 paper, coal: display diffstat on the changeset page
Steven Brown <StevenGBrown@gmail.com>
parents: 14093
diff changeset
412 <tr>
17c0cb1045e5 paper, coal: display diffstat on the changeset page
Steven Brown <StevenGBrown@gmail.com>
parents: 14093
diff changeset
413 <th class="diffstat">diffstat</th>
17c0cb1045e5 paper, coal: display diffstat on the changeset page
Steven Brown <StevenGBrown@gmail.com>
parents: 14093
diff changeset
414 <td class="diffstat">
17c0cb1045e5 paper, coal: display diffstat on the changeset page
Steven Brown <StevenGBrown@gmail.com>
parents: 14093
diff changeset
415 2 files changed, 2 insertions(+), 0 deletions(-)
17c0cb1045e5 paper, coal: display diffstat on the changeset page
Steven Brown <StevenGBrown@gmail.com>
parents: 14093
diff changeset
416
14608
4aef71839337 paper/coal: use fixed width for diffstat +/- link
Martin Geisler <mg@aragost.com>
parents: 14571
diff changeset
417 <a id="diffstatexpand" href="javascript:showDiffstat()"/>[<tt>+</tt>]</a>
14571
17c0cb1045e5 paper, coal: display diffstat on the changeset page
Steven Brown <StevenGBrown@gmail.com>
parents: 14093
diff changeset
418 <div id="diffstatdetails" style="display:none;">
14608
4aef71839337 paper/coal: use fixed width for diffstat +/- link
Martin Geisler <mg@aragost.com>
parents: 14571
diff changeset
419 <a href="javascript:hideDiffstat()"/>[<tt>-</tt>]</a>
14571
17c0cb1045e5 paper, coal: display diffstat on the changeset page
Steven Brown <StevenGBrown@gmail.com>
parents: 14093
diff changeset
420 <p>
17c0cb1045e5 paper, coal: display diffstat on the changeset page
Steven Brown <StevenGBrown@gmail.com>
parents: 14093
diff changeset
421 <table> <tr class="parity0">
17c0cb1045e5 paper, coal: display diffstat on the changeset page
Steven Brown <StevenGBrown@gmail.com>
parents: 14093
diff changeset
422 <td class="diffstat-file"><a href="#l1.1">da/foo</a></td>
17c0cb1045e5 paper, coal: display diffstat on the changeset page
Steven Brown <StevenGBrown@gmail.com>
parents: 14093
diff changeset
423 <td class="diffstat-total" align="right">1</td>
17c0cb1045e5 paper, coal: display diffstat on the changeset page
Steven Brown <StevenGBrown@gmail.com>
parents: 14093
diff changeset
424 <td class="diffstat-graph">
17c0cb1045e5 paper, coal: display diffstat on the changeset page
Steven Brown <StevenGBrown@gmail.com>
parents: 14093
diff changeset
425 <span class="diffstat-add" style="width:100.0%;">&nbsp;</span>
17c0cb1045e5 paper, coal: display diffstat on the changeset page
Steven Brown <StevenGBrown@gmail.com>
parents: 14093
diff changeset
426 <span class="diffstat-remove" style="width:0.0%;">&nbsp;</span>
17c0cb1045e5 paper, coal: display diffstat on the changeset page
Steven Brown <StevenGBrown@gmail.com>
parents: 14093
diff changeset
427 </td>
17c0cb1045e5 paper, coal: display diffstat on the changeset page
Steven Brown <StevenGBrown@gmail.com>
parents: 14093
diff changeset
428 </tr>
17c0cb1045e5 paper, coal: display diffstat on the changeset page
Steven Brown <StevenGBrown@gmail.com>
parents: 14093
diff changeset
429 <tr class="parity1">
17c0cb1045e5 paper, coal: display diffstat on the changeset page
Steven Brown <StevenGBrown@gmail.com>
parents: 14093
diff changeset
430 <td class="diffstat-file"><a href="#l2.1">foo</a></td>
17c0cb1045e5 paper, coal: display diffstat on the changeset page
Steven Brown <StevenGBrown@gmail.com>
parents: 14093
diff changeset
431 <td class="diffstat-total" align="right">1</td>
17c0cb1045e5 paper, coal: display diffstat on the changeset page
Steven Brown <StevenGBrown@gmail.com>
parents: 14093
diff changeset
432 <td class="diffstat-graph">
17c0cb1045e5 paper, coal: display diffstat on the changeset page
Steven Brown <StevenGBrown@gmail.com>
parents: 14093
diff changeset
433 <span class="diffstat-add" style="width:100.0%;">&nbsp;</span>
17c0cb1045e5 paper, coal: display diffstat on the changeset page
Steven Brown <StevenGBrown@gmail.com>
parents: 14093
diff changeset
434 <span class="diffstat-remove" style="width:0.0%;">&nbsp;</span>
17c0cb1045e5 paper, coal: display diffstat on the changeset page
Steven Brown <StevenGBrown@gmail.com>
parents: 14093
diff changeset
435 </td>
17c0cb1045e5 paper, coal: display diffstat on the changeset page
Steven Brown <StevenGBrown@gmail.com>
parents: 14093
diff changeset
436 </tr>
17c0cb1045e5 paper, coal: display diffstat on the changeset page
Steven Brown <StevenGBrown@gmail.com>
parents: 14093
diff changeset
437 </table>
17c0cb1045e5 paper, coal: display diffstat on the changeset page
Steven Brown <StevenGBrown@gmail.com>
parents: 14093
diff changeset
438 </div>
17c0cb1045e5 paper, coal: display diffstat on the changeset page
Steven Brown <StevenGBrown@gmail.com>
parents: 14093
diff changeset
439 </td>
17c0cb1045e5 paper, coal: display diffstat on the changeset page
Steven Brown <StevenGBrown@gmail.com>
parents: 14093
diff changeset
440 </tr>
12433
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
441 </table>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
442
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
443 <div class="overflow">
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
444 <div class="sourcefirst"> line diff</div>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
445
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
446 <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
447 </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
448 </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
449 </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
450 </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
451 </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
452 </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
453 </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
454 </span></pre></div>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
455 </div>
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 </div>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
458 </div>
14046
b24e5a708fad web: Made elapsed time calculation dynamic (javascript).
Benoit Allard <benoit@aeteurope.nl>
parents: 13942
diff changeset
459 <script type="text/javascript">process_dates()</script>
12433
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
460
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
461
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
462 </body>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
463 </html>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
464
17017
953faba28e91 tests: prepare get-with-headers.py for MSYS
Mads Kiilerich <mads@kiilerich.com>
parents: 16913
diff changeset
465 $ "$TESTDIR/get-with-headers.py" 127.0.0.1:$HGPORT 'rev/1/?style=raw'
12433
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
466 200 Script output follows
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
467
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
468
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
469 # HG changeset patch
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
470 # User test
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
471 # Date 0 0
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
472 # Node ID a4f92ed23982be056b9852de5dfe873eaac7f0de
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
473 # Parent 2ef0ac749a14e4f57a5a822464a0902c6f7f448f
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
474 Added tag 1.0 for changeset 2ef0ac749a14
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 diff -r 2ef0ac749a14 -r a4f92ed23982 .hgtags
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
477 --- /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
478 +++ 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
479 @@ -0,0 +1,1 @@
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
480 +2ef0ac749a14e4f57a5a822464a0902c6f7f448f 1.0
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
481
17017
953faba28e91 tests: prepare get-with-headers.py for MSYS
Mads Kiilerich <mads@kiilerich.com>
parents: 16913
diff changeset
482 $ "$TESTDIR/get-with-headers.py" 127.0.0.1:$HGPORT 'log?rev=base'
12433
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
483 200 Script output follows
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 <!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
486 <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
487 <head>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
488 <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
489 <meta name="robots" content="index, nofollow" />
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
490 <link rel="stylesheet" href="/static/style-paper.css" type="text/css" />
14046
b24e5a708fad web: Made elapsed time calculation dynamic (javascript).
Benoit Allard <benoit@aeteurope.nl>
parents: 13942
diff changeset
491 <script type="text/javascript" src="/static/mercurial.js"></script>
12433
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
492
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
493 <title>test: searching for base</title>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
494 </head>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
495 <body>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
496
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
497 <div class="container">
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
498 <div class="menu">
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
499 <div class="logo">
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
500 <a href="http://mercurial.selenic.com/">
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
501 <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
502 </div>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
503 <ul>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
504 <li><a href="/shortlog">log</a></li>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
505 <li><a href="/graph">graph</a></li>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
506 <li><a href="/tags">tags</a></li>
13597
38c9837b1f75 hgweb: add separate page with bookmarks listing
Alexander Solovyov <alexander@solovyov.net>
parents: 13596
diff changeset
507 <li><a href="/bookmarks">bookmarks</a></li>
12433
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
508 <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
509 <li><a href="/help">help</a></li>
12433
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 </div>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
512
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
513 <div class="main">
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
514 <h2><a href="/">test</a></h2>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
515 <h3>searching for 'base'</h3>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
516
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
517 <form class="search" action="/log">
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
518
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
519 <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
520 <div id="hint">find changesets by author, revision,
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
521 files, or words in the commit message</div>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
522 </form>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
523
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
524 <div class="navigate">
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
525 <a href="/search/?rev=base&revcount=5">less</a>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
526 <a href="/search/?rev=base&revcount=20">more</a>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
527 </div>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
528
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
529 <table class="bigtable">
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
530 <tr>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
531 <th class="age">age</th>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
532 <th class="author">author</th>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
533 <th class="description">description</th>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
534 </tr>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
535 <tr class="parity0">
15375
fe9d36a6853e hgweb: fix dynamic date calculation not working under Safari
Brodie Rao <brodie@bitheap.org>
parents: 14622
diff changeset
536 <td class="age">Thu, 01 Jan 1970 00:00:00 +0000</td>
12433
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
537 <td class="author">test</td>
13922
b8dd2e95b0ca hgweb: sort bookmarks in the same manner as console command
Yuya Nishihara <yuya@tcha.org>
parents: 13921
diff changeset
538 <td class="description"><a href="/rev/2ef0ac749a14">base</a><span class="tag">1.0</span> <span class="tag">anotherthing</span> </td>
12433
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
539 </tr>
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>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
542
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
543 <div class="navigate">
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
544 <a href="/search/?rev=base&revcount=5">less</a>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
545 <a href="/search/?rev=base&revcount=20">more</a>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
546 </div>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
547
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
548 </div>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
549 </div>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
550
14046
b24e5a708fad web: Made elapsed time calculation dynamic (javascript).
Benoit Allard <benoit@aeteurope.nl>
parents: 13942
diff changeset
551 <script type="text/javascript">process_dates()</script>
12433
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
552
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
553
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
554 </body>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
555 </html>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
556
5590
05451f6b5f07 add more tests for hgweb commands
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents:
diff changeset
557
12433
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
558 File-related
5590
05451f6b5f07 add more tests for hgweb commands
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents:
diff changeset
559
17017
953faba28e91 tests: prepare get-with-headers.py for MSYS
Mads Kiilerich <mads@kiilerich.com>
parents: 16913
diff changeset
560 $ "$TESTDIR/get-with-headers.py" 127.0.0.1:$HGPORT 'file/1/foo/?style=raw'
12433
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
561 200 Script output follows
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
562
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
563 foo
17017
953faba28e91 tests: prepare get-with-headers.py for MSYS
Mads Kiilerich <mads@kiilerich.com>
parents: 16913
diff changeset
564 $ "$TESTDIR/get-with-headers.py" 127.0.0.1:$HGPORT 'annotate/1/foo/?style=raw'
12433
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
565 200 Script output follows
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
566
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
567
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
568 test@0: foo
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
569
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
17017
953faba28e91 tests: prepare get-with-headers.py for MSYS
Mads Kiilerich <mads@kiilerich.com>
parents: 16913
diff changeset
573 $ "$TESTDIR/get-with-headers.py" 127.0.0.1:$HGPORT 'file/1/?style=raw'
12433
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
574 200 Script output follows
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
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
577 drwxr-xr-x da
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
578 -rw-r--r-- 45 .hgtags
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
579 -rw-r--r-- 4 foo
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
580
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
581
17017
953faba28e91 tests: prepare get-with-headers.py for MSYS
Mads Kiilerich <mads@kiilerich.com>
parents: 16913
diff changeset
582 $ "$TESTDIR/get-with-headers.py" 127.0.0.1:$HGPORT 'file/1/foo'
12433
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
583 200 Script output follows
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
584
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
585 <!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
586 <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
587 <head>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
588 <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
589 <meta name="robots" content="index, nofollow" />
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
590 <link rel="stylesheet" href="/static/style-paper.css" type="text/css" />
14046
b24e5a708fad web: Made elapsed time calculation dynamic (javascript).
Benoit Allard <benoit@aeteurope.nl>
parents: 13942
diff changeset
591 <script type="text/javascript" src="/static/mercurial.js"></script>
12433
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
592
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
593 <title>test: a4f92ed23982 foo</title>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
594 </head>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
595 <body>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
596
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
597 <div class="container">
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
598 <div class="menu">
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
599 <div class="logo">
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
600 <a href="http://mercurial.selenic.com/">
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
601 <img src="/static/hglogo.png" alt="mercurial" /></a>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
602 </div>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
603 <ul>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
604 <li><a href="/shortlog/a4f92ed23982">log</a></li>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
605 <li><a href="/graph/a4f92ed23982">graph</a></li>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
606 <li><a href="/tags">tags</a></li>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
607 <li><a href="/branches">branches</a></li>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
608 </ul>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
609 <ul>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
610 <li><a href="/rev/a4f92ed23982">changeset</a></li>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
611 <li><a href="/file/a4f92ed23982/">browse</a></li>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
612 </ul>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
613 <ul>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
614 <li class="active">file</li>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
615 <li><a href="/file/tip/foo">latest</a></li>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
616 <li><a href="/diff/a4f92ed23982/foo">diff</a></li>
17202
1ae119269ddc hgweb: side-by-side comparison functionality
wujek srujek
parents: 17017
diff changeset
617 <li><a href="/comparison/a4f92ed23982/foo">comparison</a></li>
12433
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
618 <li><a href="/annotate/a4f92ed23982/foo">annotate</a></li>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
619 <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
620 <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
621 </ul>
12680
d664547ef540 hgweb: add help link to templates missed in ead4e21f49f1
Augie Fackler <durin42@gmail.com>
parents: 12666
diff changeset
622 <ul>
d664547ef540 hgweb: add help link to templates missed in ead4e21f49f1
Augie Fackler <durin42@gmail.com>
parents: 12666
diff changeset
623 <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
624 </ul>
12433
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
625 </div>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
626
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
627 <div class="main">
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
628 <h2><a href="/">test</a></h2>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
629 <h3>view foo @ 1:a4f92ed23982</h3>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
630
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
631 <form class="search" action="/log">
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 <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
634 <div id="hint">find changesets by author, revision,
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
635 files, or words in the commit message</div>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
636 </form>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
637
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
638 <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
639
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
640 <table id="changesetEntry">
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
641 <tr>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
642 <th class="author">author</th>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
643 <td class="author">&#116;&#101;&#115;&#116;</td>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
644 </tr>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
645 <tr>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
646 <th class="date">date</th>
15375
fe9d36a6853e hgweb: fix dynamic date calculation not working under Safari
Brodie Rao <brodie@bitheap.org>
parents: 14622
diff changeset
647 <td class="date age">Thu, 01 Jan 1970 00:00:00 +0000</td>
12433
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
648 </tr>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
649 <tr>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
650 <th class="author">parents</th>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
651 <td class="author"></td>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
652 </tr>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
653 <tr>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
654 <th class="author">children</th>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
655 <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
656 </tr>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
657
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
658 </table>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
659
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
660 <div class="overflow">
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
661 <div class="sourcefirst"> line source</div>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
662
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
663 <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
664 </div>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
665 <div class="sourcelast"></div>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
666 </div>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
667 </div>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
668 </div>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
669
14046
b24e5a708fad web: Made elapsed time calculation dynamic (javascript).
Benoit Allard <benoit@aeteurope.nl>
parents: 13942
diff changeset
670 <script type="text/javascript">process_dates()</script>
12433
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
671
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
672
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
673 </body>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
674 </html>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
675
17017
953faba28e91 tests: prepare get-with-headers.py for MSYS
Mads Kiilerich <mads@kiilerich.com>
parents: 16913
diff changeset
676 $ "$TESTDIR/get-with-headers.py" 127.0.0.1:$HGPORT 'filediff/0/foo/?style=raw'
16722
7bf48bc7de23 hgweb: fix filediff base calculation
Matt Mackall <mpm@selenic.com>
parents: 16361
diff changeset
677 200 Script output follows
7bf48bc7de23 hgweb: fix filediff base calculation
Matt Mackall <mpm@selenic.com>
parents: 16361
diff changeset
678
7bf48bc7de23 hgweb: fix filediff base calculation
Matt Mackall <mpm@selenic.com>
parents: 16361
diff changeset
679
7bf48bc7de23 hgweb: fix filediff base calculation
Matt Mackall <mpm@selenic.com>
parents: 16361
diff changeset
680 diff -r 000000000000 -r 2ef0ac749a14 foo
7bf48bc7de23 hgweb: fix filediff base calculation
Matt Mackall <mpm@selenic.com>
parents: 16361
diff changeset
681 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
7bf48bc7de23 hgweb: fix filediff base calculation
Matt Mackall <mpm@selenic.com>
parents: 16361
diff changeset
682 +++ b/foo Thu Jan 01 00:00:00 1970 +0000
7bf48bc7de23 hgweb: fix filediff base calculation
Matt Mackall <mpm@selenic.com>
parents: 16361
diff changeset
683 @@ -0,0 +1,1 @@
7bf48bc7de23 hgweb: fix filediff base calculation
Matt Mackall <mpm@selenic.com>
parents: 16361
diff changeset
684 +foo
7bf48bc7de23 hgweb: fix filediff base calculation
Matt Mackall <mpm@selenic.com>
parents: 16361
diff changeset
685
7bf48bc7de23 hgweb: fix filediff base calculation
Matt Mackall <mpm@selenic.com>
parents: 16361
diff changeset
686
7bf48bc7de23 hgweb: fix filediff base calculation
Matt Mackall <mpm@selenic.com>
parents: 16361
diff changeset
687
7bf48bc7de23 hgweb: fix filediff base calculation
Matt Mackall <mpm@selenic.com>
parents: 16361
diff changeset
688
7bf48bc7de23 hgweb: fix filediff base calculation
Matt Mackall <mpm@selenic.com>
parents: 16361
diff changeset
689
17017
953faba28e91 tests: prepare get-with-headers.py for MSYS
Mads Kiilerich <mads@kiilerich.com>
parents: 16913
diff changeset
690 $ "$TESTDIR/get-with-headers.py" 127.0.0.1:$HGPORT 'filediff/1/foo/?style=raw'
12433
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
691 200 Script output follows
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
692
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
693
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
694
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
695
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
696
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
697
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
698
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
699 Overviews
5590
05451f6b5f07 add more tests for hgweb commands
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents:
diff changeset
700
17017
953faba28e91 tests: prepare get-with-headers.py for MSYS
Mads Kiilerich <mads@kiilerich.com>
parents: 16913
diff changeset
701 $ "$TESTDIR/get-with-headers.py" 127.0.0.1:$HGPORT 'raw-tags'
12433
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
702 200 Script output follows
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
703
16129
5e50982c633c graph: in hgrc specify line width for main branch
Constantine Linnick <theaspect@gmail.com>
parents: 15623
diff changeset
704 tip ba87b23d29ca67a305625d81a20ac279c1e3f444
12433
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
705 1.0 2ef0ac749a14e4f57a5a822464a0902c6f7f448f
17017
953faba28e91 tests: prepare get-with-headers.py for MSYS
Mads Kiilerich <mads@kiilerich.com>
parents: 16913
diff changeset
706 $ "$TESTDIR/get-with-headers.py" 127.0.0.1:$HGPORT 'raw-branches'
12433
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
707 200 Script output follows
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
708
16129
5e50982c633c graph: in hgrc specify line width for main branch
Constantine Linnick <theaspect@gmail.com>
parents: 15623
diff changeset
709 unstable ba87b23d29ca67a305625d81a20ac279c1e3f444 open
5e50982c633c graph: in hgrc specify line width for main branch
Constantine Linnick <theaspect@gmail.com>
parents: 15623
diff changeset
710 stable 1d22e65f027e5a0609357e7d8e7508cd2ba5d2fe inactive
12433
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
711 default a4f92ed23982be056b9852de5dfe873eaac7f0de inactive
17017
953faba28e91 tests: prepare get-with-headers.py for MSYS
Mads Kiilerich <mads@kiilerich.com>
parents: 16913
diff changeset
712 $ "$TESTDIR/get-with-headers.py" 127.0.0.1:$HGPORT 'raw-bookmarks'
13921
4788923a2b33 hgweb: add bookmarks listing to raw style with test case
Yuya Nishihara <yuya@tcha.org>
parents: 13868
diff changeset
713 200 Script output follows
4788923a2b33 hgweb: add bookmarks listing to raw style with test case
Yuya Nishihara <yuya@tcha.org>
parents: 13868
diff changeset
714
13922
b8dd2e95b0ca hgweb: sort bookmarks in the same manner as console command
Yuya Nishihara <yuya@tcha.org>
parents: 13921
diff changeset
715 anotherthing 2ef0ac749a14e4f57a5a822464a0902c6f7f448f
16129
5e50982c633c graph: in hgrc specify line width for main branch
Constantine Linnick <theaspect@gmail.com>
parents: 15623
diff changeset
716 something ba87b23d29ca67a305625d81a20ac279c1e3f444
17017
953faba28e91 tests: prepare get-with-headers.py for MSYS
Mads Kiilerich <mads@kiilerich.com>
parents: 16913
diff changeset
717 $ "$TESTDIR/get-with-headers.py" 127.0.0.1:$HGPORT 'summary/?style=gitweb'
12433
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
718 200 Script output follows
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
719
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
720 <?xml version="1.0" encoding="ascii"?>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
721 <!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
722 <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
723 <head>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
724 <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
725 <meta name="robots" content="index, nofollow"/>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
726 <link rel="stylesheet" href="/static/style-gitweb.css" type="text/css" />
14046
b24e5a708fad web: Made elapsed time calculation dynamic (javascript).
Benoit Allard <benoit@aeteurope.nl>
parents: 13942
diff changeset
727 <script type="text/javascript" src="/static/mercurial.js"></script>
12433
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
728
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
729 <title>test: Summary</title>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
730 <link rel="alternate" type="application/atom+xml"
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
731 href="/atom-log" title="Atom feed for test"/>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
732 <link rel="alternate" type="application/rss+xml"
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
733 href="/rss-log" title="RSS feed for test"/>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
734 </head>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
735 <body>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
736
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
737 <div class="page_header">
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
738 <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
739
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
740 <form action="/log">
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
741 <input type="hidden" name="style" value="gitweb" />
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
742 <div class="search">
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
743 <input type="text" name="rev" />
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
744 </div>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
745 </form>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
746 </div>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
747
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
748 <div class="page_nav">
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
749 summary |
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
750 <a href="/shortlog?style=gitweb">shortlog</a> |
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
751 <a href="/log?style=gitweb">changelog</a> |
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
752 <a href="/graph?style=gitweb">graph</a> |
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
753 <a href="/tags?style=gitweb">tags</a> |
13864
fd8a6ca3a750 hgweb: add separate bookmarks listing to gitweb theme (based on 38c9837b1f75)
Yuya Nishihara <yuya@tcha.org>
parents: 13863
diff changeset
754 <a href="/bookmarks?style=gitweb">bookmarks</a> |
12433
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
755 <a href="/branches?style=gitweb">branches</a> |
16129
5e50982c633c graph: in hgrc specify line width for main branch
Constantine Linnick <theaspect@gmail.com>
parents: 15623
diff changeset
756 <a href="/file/ba87b23d29ca?style=gitweb">files</a> |
12666
ead4e21f49f1 web: add a help view for getting hg help output
Augie Fackler <durin42@gmail.com>
parents: 12643
diff changeset
757 <a href="/help?style=gitweb">help</a>
12433
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
758 <br/>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
759 </div>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
760
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
761 <div class="title">&nbsp;</div>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
762 <table cellspacing="0">
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
763 <tr><td>description</td><td>unknown</td></tr>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
764 <tr><td>owner</td><td>&#70;&#111;&#111;&#32;&#66;&#97;&#114;&#32;&#60;&#102;&#111;&#111;&#46;&#98;&#97;&#114;&#64;&#101;&#120;&#97;&#109;&#112;&#108;&#101;&#46;&#99;&#111;&#109;&#62;</td></tr>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
765 <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
766 </table>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
767
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
768 <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
769 <table cellspacing="0">
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
770
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
771 <tr class="parity0">
15375
fe9d36a6853e hgweb: fix dynamic date calculation not working under Safari
Brodie Rao <brodie@bitheap.org>
parents: 14622
diff changeset
772 <td class="age"><i class="age">Thu, 01 Jan 1970 00:00:00 +0000</i></td>
12433
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
773 <td><i>test</i></td>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
774 <td>
16129
5e50982c633c graph: in hgrc specify line width for main branch
Constantine Linnick <theaspect@gmail.com>
parents: 15623
diff changeset
775 <a class="list" href="/rev/ba87b23d29ca?style=gitweb">
5e50982c633c graph: in hgrc specify line width for main branch
Constantine Linnick <theaspect@gmail.com>
parents: 15623
diff changeset
776 <b>branch</b>
5e50982c633c graph: in hgrc specify line width for main branch
Constantine Linnick <theaspect@gmail.com>
parents: 15623
diff changeset
777 <span class="logtags"><span class="branchtag" title="unstable">unstable</span> <span class="tagtag" title="tip">tip</span> <span class="bookmarktag" title="something">something</span> </span>
5e50982c633c graph: in hgrc specify line width for main branch
Constantine Linnick <theaspect@gmail.com>
parents: 15623
diff changeset
778 </a>
5e50982c633c graph: in hgrc specify line width for main branch
Constantine Linnick <theaspect@gmail.com>
parents: 15623
diff changeset
779 </td>
5e50982c633c graph: in hgrc specify line width for main branch
Constantine Linnick <theaspect@gmail.com>
parents: 15623
diff changeset
780 <td class="link" nowrap>
5e50982c633c graph: in hgrc specify line width for main branch
Constantine Linnick <theaspect@gmail.com>
parents: 15623
diff changeset
781 <a href="/rev/ba87b23d29ca?style=gitweb">changeset</a> |
5e50982c633c graph: in hgrc specify line width for main branch
Constantine Linnick <theaspect@gmail.com>
parents: 15623
diff changeset
782 <a href="/file/ba87b23d29ca?style=gitweb">files</a>
5e50982c633c graph: in hgrc specify line width for main branch
Constantine Linnick <theaspect@gmail.com>
parents: 15623
diff changeset
783 </td>
5e50982c633c graph: in hgrc specify line width for main branch
Constantine Linnick <theaspect@gmail.com>
parents: 15623
diff changeset
784 </tr>
5e50982c633c graph: in hgrc specify line width for main branch
Constantine Linnick <theaspect@gmail.com>
parents: 15623
diff changeset
785 <tr class="parity1">
5e50982c633c graph: in hgrc specify line width for main branch
Constantine Linnick <theaspect@gmail.com>
parents: 15623
diff changeset
786 <td class="age"><i class="age">Thu, 01 Jan 1970 00:00:00 +0000</i></td>
5e50982c633c graph: in hgrc specify line width for main branch
Constantine Linnick <theaspect@gmail.com>
parents: 15623
diff changeset
787 <td><i>test</i></td>
5e50982c633c graph: in hgrc specify line width for main branch
Constantine Linnick <theaspect@gmail.com>
parents: 15623
diff changeset
788 <td>
12433
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
789 <a class="list" href="/rev/1d22e65f027e?style=gitweb">
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
790 <b>branch</b>
16129
5e50982c633c graph: in hgrc specify line width for main branch
Constantine Linnick <theaspect@gmail.com>
parents: 15623
diff changeset
791 <span class="logtags"><span class="branchtag" title="stable">stable</span> </span>
12433
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
792 </a>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
793 </td>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
794 <td class="link" nowrap>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
795 <a href="/rev/1d22e65f027e?style=gitweb">changeset</a> |
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
796 <a href="/file/1d22e65f027e?style=gitweb">files</a>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
797 </td>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
798 </tr>
16129
5e50982c633c graph: in hgrc specify line width for main branch
Constantine Linnick <theaspect@gmail.com>
parents: 15623
diff changeset
799 <tr class="parity0">
15375
fe9d36a6853e hgweb: fix dynamic date calculation not working under Safari
Brodie Rao <brodie@bitheap.org>
parents: 14622
diff changeset
800 <td class="age"><i class="age">Thu, 01 Jan 1970 00:00:00 +0000</i></td>
12433
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
801 <td><i>test</i></td>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
802 <td>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
803 <a class="list" href="/rev/a4f92ed23982?style=gitweb">
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
804 <b>Added tag 1.0 for changeset 2ef0ac749a14</b>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
805 <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
806 </a>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
807 </td>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
808 <td class="link" nowrap>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
809 <a href="/rev/a4f92ed23982?style=gitweb">changeset</a> |
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
810 <a href="/file/a4f92ed23982?style=gitweb">files</a>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
811 </td>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
812 </tr>
16129
5e50982c633c graph: in hgrc specify line width for main branch
Constantine Linnick <theaspect@gmail.com>
parents: 15623
diff changeset
813 <tr class="parity1">
15375
fe9d36a6853e hgweb: fix dynamic date calculation not working under Safari
Brodie Rao <brodie@bitheap.org>
parents: 14622
diff changeset
814 <td class="age"><i class="age">Thu, 01 Jan 1970 00:00:00 +0000</i></td>
12433
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
815 <td><i>test</i></td>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
816 <td>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
817 <a class="list" href="/rev/2ef0ac749a14?style=gitweb">
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
818 <b>base</b>
13922
b8dd2e95b0ca hgweb: sort bookmarks in the same manner as console command
Yuya Nishihara <yuya@tcha.org>
parents: 13921
diff changeset
819 <span class="logtags"><span class="tagtag" title="1.0">1.0</span> <span class="bookmarktag" title="anotherthing">anotherthing</span> </span>
12433
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
820 </a>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
821 </td>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
822 <td class="link" nowrap>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
823 <a href="/rev/2ef0ac749a14?style=gitweb">changeset</a> |
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
824 <a href="/file/2ef0ac749a14?style=gitweb">files</a>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
825 </td>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
826 </tr>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
827 <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
828 </table>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
829
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
830 <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
831 <table cellspacing="0">
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 <tr class="parity0">
15375
fe9d36a6853e hgweb: fix dynamic date calculation not working under Safari
Brodie Rao <brodie@bitheap.org>
parents: 14622
diff changeset
834 <td class="age"><i class="age">Thu, 01 Jan 1970 00:00:00 +0000</i></td>
12433
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
835 <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
836 <td class="link">
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
837 <a href="/rev/2ef0ac749a14?style=gitweb">changeset</a> |
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
838 <a href="/log/2ef0ac749a14?style=gitweb">changelog</a> |
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
839 <a href="/file/2ef0ac749a14?style=gitweb">files</a>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
840 </td>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
841 </tr>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
842 <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
843 </table>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
844
13924
ea726c97c1b6 hgweb: add bookmarks listing to summary page of gitweb/monoblue styles
Yuya Nishihara <yuya@tcha.org>
parents: 13922
diff changeset
845 <div><a class="title" href="/bookmarks?style=gitweb">bookmarks</a></div>
ea726c97c1b6 hgweb: add bookmarks listing to summary page of gitweb/monoblue styles
Yuya Nishihara <yuya@tcha.org>
parents: 13922
diff changeset
846 <table cellspacing="0">
ea726c97c1b6 hgweb: add bookmarks listing to summary page of gitweb/monoblue styles
Yuya Nishihara <yuya@tcha.org>
parents: 13922
diff changeset
847
ea726c97c1b6 hgweb: add bookmarks listing to summary page of gitweb/monoblue styles
Yuya Nishihara <yuya@tcha.org>
parents: 13922
diff changeset
848 <tr class="parity0">
15375
fe9d36a6853e hgweb: fix dynamic date calculation not working under Safari
Brodie Rao <brodie@bitheap.org>
parents: 14622
diff changeset
849 <td class="age"><i class="age">Thu, 01 Jan 1970 00:00:00 +0000</i></td>
13924
ea726c97c1b6 hgweb: add bookmarks listing to summary page of gitweb/monoblue styles
Yuya Nishihara <yuya@tcha.org>
parents: 13922
diff changeset
850 <td><a class="list" href="/rev/2ef0ac749a14?style=gitweb"><b>anotherthing</b></a></td>
ea726c97c1b6 hgweb: add bookmarks listing to summary page of gitweb/monoblue styles
Yuya Nishihara <yuya@tcha.org>
parents: 13922
diff changeset
851 <td class="link">
ea726c97c1b6 hgweb: add bookmarks listing to summary page of gitweb/monoblue styles
Yuya Nishihara <yuya@tcha.org>
parents: 13922
diff changeset
852 <a href="/rev/2ef0ac749a14?style=gitweb">changeset</a> |
ea726c97c1b6 hgweb: add bookmarks listing to summary page of gitweb/monoblue styles
Yuya Nishihara <yuya@tcha.org>
parents: 13922
diff changeset
853 <a href="/log/2ef0ac749a14?style=gitweb">changelog</a> |
ea726c97c1b6 hgweb: add bookmarks listing to summary page of gitweb/monoblue styles
Yuya Nishihara <yuya@tcha.org>
parents: 13922
diff changeset
854 <a href="/file/2ef0ac749a14?style=gitweb">files</a>
ea726c97c1b6 hgweb: add bookmarks listing to summary page of gitweb/monoblue styles
Yuya Nishihara <yuya@tcha.org>
parents: 13922
diff changeset
855 </td>
ea726c97c1b6 hgweb: add bookmarks listing to summary page of gitweb/monoblue styles
Yuya Nishihara <yuya@tcha.org>
parents: 13922
diff changeset
856 </tr>
ea726c97c1b6 hgweb: add bookmarks listing to summary page of gitweb/monoblue styles
Yuya Nishihara <yuya@tcha.org>
parents: 13922
diff changeset
857 <tr class="parity1">
15375
fe9d36a6853e hgweb: fix dynamic date calculation not working under Safari
Brodie Rao <brodie@bitheap.org>
parents: 14622
diff changeset
858 <td class="age"><i class="age">Thu, 01 Jan 1970 00:00:00 +0000</i></td>
16129
5e50982c633c graph: in hgrc specify line width for main branch
Constantine Linnick <theaspect@gmail.com>
parents: 15623
diff changeset
859 <td><a class="list" href="/rev/ba87b23d29ca?style=gitweb"><b>something</b></a></td>
13924
ea726c97c1b6 hgweb: add bookmarks listing to summary page of gitweb/monoblue styles
Yuya Nishihara <yuya@tcha.org>
parents: 13922
diff changeset
860 <td class="link">
16129
5e50982c633c graph: in hgrc specify line width for main branch
Constantine Linnick <theaspect@gmail.com>
parents: 15623
diff changeset
861 <a href="/rev/ba87b23d29ca?style=gitweb">changeset</a> |
5e50982c633c graph: in hgrc specify line width for main branch
Constantine Linnick <theaspect@gmail.com>
parents: 15623
diff changeset
862 <a href="/log/ba87b23d29ca?style=gitweb">changelog</a> |
5e50982c633c graph: in hgrc specify line width for main branch
Constantine Linnick <theaspect@gmail.com>
parents: 15623
diff changeset
863 <a href="/file/ba87b23d29ca?style=gitweb">files</a>
13924
ea726c97c1b6 hgweb: add bookmarks listing to summary page of gitweb/monoblue styles
Yuya Nishihara <yuya@tcha.org>
parents: 13922
diff changeset
864 </td>
ea726c97c1b6 hgweb: add bookmarks listing to summary page of gitweb/monoblue styles
Yuya Nishihara <yuya@tcha.org>
parents: 13922
diff changeset
865 </tr>
ea726c97c1b6 hgweb: add bookmarks listing to summary page of gitweb/monoblue styles
Yuya Nishihara <yuya@tcha.org>
parents: 13922
diff changeset
866 <tr class="light"><td colspan="3"><a class="list" href="/bookmarks?style=gitweb">...</a></td></tr>
ea726c97c1b6 hgweb: add bookmarks listing to summary page of gitweb/monoblue styles
Yuya Nishihara <yuya@tcha.org>
parents: 13922
diff changeset
867 </table>
ea726c97c1b6 hgweb: add bookmarks listing to summary page of gitweb/monoblue styles
Yuya Nishihara <yuya@tcha.org>
parents: 13922
diff changeset
868
17288
fa223eecc6d7 hgweb: fix "branches" links in gitweb template
Ross Lagerwall <rosslagerwall@gmail.com>
parents: 17202
diff changeset
869 <div><a class="title" href="/branches?style=gitweb">branches</a></div>
12433
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
870 <table cellspacing="0">
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
871
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
872 <tr class="parity0">
15375
fe9d36a6853e hgweb: fix dynamic date calculation not working under Safari
Brodie Rao <brodie@bitheap.org>
parents: 14622
diff changeset
873 <td class="age"><i class="age">Thu, 01 Jan 1970 00:00:00 +0000</i></td>
16129
5e50982c633c graph: in hgrc specify line width for main branch
Constantine Linnick <theaspect@gmail.com>
parents: 15623
diff changeset
874 <td><a class="list" href="/shortlog/ba87b23d29ca?style=gitweb"><b>ba87b23d29ca</b></a></td>
5e50982c633c graph: in hgrc specify line width for main branch
Constantine Linnick <theaspect@gmail.com>
parents: 15623
diff changeset
875 <td class="">unstable</td>
5e50982c633c graph: in hgrc specify line width for main branch
Constantine Linnick <theaspect@gmail.com>
parents: 15623
diff changeset
876 <td class="link">
5e50982c633c graph: in hgrc specify line width for main branch
Constantine Linnick <theaspect@gmail.com>
parents: 15623
diff changeset
877 <a href="/changeset/ba87b23d29ca?style=gitweb">changeset</a> |
5e50982c633c graph: in hgrc specify line width for main branch
Constantine Linnick <theaspect@gmail.com>
parents: 15623
diff changeset
878 <a href="/log/ba87b23d29ca?style=gitweb">changelog</a> |
5e50982c633c graph: in hgrc specify line width for main branch
Constantine Linnick <theaspect@gmail.com>
parents: 15623
diff changeset
879 <a href="/file/ba87b23d29ca?style=gitweb">files</a>
5e50982c633c graph: in hgrc specify line width for main branch
Constantine Linnick <theaspect@gmail.com>
parents: 15623
diff changeset
880 </td>
5e50982c633c graph: in hgrc specify line width for main branch
Constantine Linnick <theaspect@gmail.com>
parents: 15623
diff changeset
881 </tr>
5e50982c633c graph: in hgrc specify line width for main branch
Constantine Linnick <theaspect@gmail.com>
parents: 15623
diff changeset
882 <tr class="parity1">
5e50982c633c graph: in hgrc specify line width for main branch
Constantine Linnick <theaspect@gmail.com>
parents: 15623
diff changeset
883 <td class="age"><i class="age">Thu, 01 Jan 1970 00:00:00 +0000</i></td>
12433
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
884 <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
885 <td class="">stable</td>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
886 <td class="link">
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
887 <a href="/changeset/1d22e65f027e?style=gitweb">changeset</a> |
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
888 <a href="/log/1d22e65f027e?style=gitweb">changelog</a> |
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
889 <a href="/file/1d22e65f027e?style=gitweb">files</a>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
890 </td>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
891 </tr>
16129
5e50982c633c graph: in hgrc specify line width for main branch
Constantine Linnick <theaspect@gmail.com>
parents: 15623
diff changeset
892 <tr class="parity0">
15375
fe9d36a6853e hgweb: fix dynamic date calculation not working under Safari
Brodie Rao <brodie@bitheap.org>
parents: 14622
diff changeset
893 <td class="age"><i class="age">Thu, 01 Jan 1970 00:00:00 +0000</i></td>
12433
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
894 <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
895 <td class="">default</td>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
896 <td class="link">
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
897 <a href="/changeset/a4f92ed23982?style=gitweb">changeset</a> |
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
898 <a href="/log/a4f92ed23982?style=gitweb">changelog</a> |
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
899 <a href="/file/a4f92ed23982?style=gitweb">files</a>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
900 </td>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
901 </tr>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
902 <tr class="light">
17288
fa223eecc6d7 hgweb: fix "branches" links in gitweb template
Ross Lagerwall <rosslagerwall@gmail.com>
parents: 17202
diff changeset
903 <td colspan="4"><a class="list" href="/branches?style=gitweb">...</a></td>
12433
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
904 </tr>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
905 </table>
14046
b24e5a708fad web: Made elapsed time calculation dynamic (javascript).
Benoit Allard <benoit@aeteurope.nl>
parents: 13942
diff changeset
906 <script type="text/javascript">process_dates()</script>
12433
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
907 <div class="page_footer">
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
908 <div class="page_footer_text">test</div>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
909 <div class="rss_logo">
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
910 <a href="/rss-log">RSS</a>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
911 <a href="/atom-log">Atom</a>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
912 </div>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
913 <br />
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 </div>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
916 </body>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
917 </html>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
918
17017
953faba28e91 tests: prepare get-with-headers.py for MSYS
Mads Kiilerich <mads@kiilerich.com>
parents: 16913
diff changeset
919 $ "$TESTDIR/get-with-headers.py" 127.0.0.1:$HGPORT 'graph/?style=gitweb'
12433
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
920 200 Script output follows
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
921
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
922 <?xml version="1.0" encoding="ascii"?>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
923 <!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
924 <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
925 <head>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
926 <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
927 <meta name="robots" content="index, nofollow"/>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
928 <link rel="stylesheet" href="/static/style-gitweb.css" type="text/css" />
14046
b24e5a708fad web: Made elapsed time calculation dynamic (javascript).
Benoit Allard <benoit@aeteurope.nl>
parents: 13942
diff changeset
929 <script type="text/javascript" src="/static/mercurial.js"></script>
12433
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
930
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
931 <title>test: Graph</title>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
932 <link rel="alternate" type="application/atom+xml"
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
933 href="/atom-log" title="Atom feed for test"/>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
934 <link rel="alternate" type="application/rss+xml"
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
935 href="/rss-log" title="RSS feed for test"/>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
936 <!--[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
937 </head>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
938 <body>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
939
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
940 <div class="page_header">
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
941 <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
942 </div>
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 <form action="/log">
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
945 <input type="hidden" name="style" value="gitweb" />
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
946 <div class="search">
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
947 <input type="text" name="rev" />
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
948 </div>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
949 </form>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
950 <div class="page_nav">
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
951 <a href="/summary?style=gitweb">summary</a> |
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
952 <a href="/shortlog?style=gitweb">shortlog</a> |
16129
5e50982c633c graph: in hgrc specify line width for main branch
Constantine Linnick <theaspect@gmail.com>
parents: 15623
diff changeset
953 <a href="/log/3?style=gitweb">changelog</a> |
12433
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
954 graph |
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
955 <a href="/tags?style=gitweb">tags</a> |
13864
fd8a6ca3a750 hgweb: add separate bookmarks listing to gitweb theme (based on 38c9837b1f75)
Yuya Nishihara <yuya@tcha.org>
parents: 13863
diff changeset
956 <a href="/bookmarks?style=gitweb">bookmarks</a> |
12433
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
957 <a href="/branches?style=gitweb">branches</a> |
16129
5e50982c633c graph: in hgrc specify line width for main branch
Constantine Linnick <theaspect@gmail.com>
parents: 15623
diff changeset
958 <a href="/file/ba87b23d29ca?style=gitweb">files</a> |
12666
ead4e21f49f1 web: add a help view for getting hg help output
Augie Fackler <durin42@gmail.com>
parents: 12643
diff changeset
959 <a href="/help?style=gitweb">help</a>
12433
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
960 <br/>
16129
5e50982c633c graph: in hgrc specify line width for main branch
Constantine Linnick <theaspect@gmail.com>
parents: 15623
diff changeset
961 <a href="/graph/3?style=gitweb&revcount=30">less</a>
5e50982c633c graph: in hgrc specify line width for main branch
Constantine Linnick <theaspect@gmail.com>
parents: 15623
diff changeset
962 <a href="/graph/3?style=gitweb&revcount=120">more</a>
17318
7ac5800dbc8f hgweb: fix graph view paging
Patrick Mezard <patrick@mezard.eu>
parents: 17288
diff changeset
963 | <a href="/graph/2ef0ac749a14?style=gitweb">(0)</a> <a href="/graph/tip?style=gitweb">tip</a> <br/>
12433
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
964 </div>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
965
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
966 <div class="title">&nbsp;</div>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
967
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
968 <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
969
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
970 <div id="wrapper">
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
971 <ul id="nodebgs"></ul>
16129
5e50982c633c graph: in hgrc specify line width for main branch
Constantine Linnick <theaspect@gmail.com>
parents: 15623
diff changeset
972 <canvas id="graph" width="480" height="168"></canvas>
12433
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
973 <ul id="graphnodes"></ul>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
974 </div>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
975
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
976 <script>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
977 <!-- hide script content
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
978
16138
6e4de55a41a4 hgweb: refactor graph customization javascript
Patrick Mezard <patrick@mezard.eu>
parents: 16137
diff changeset
979 var data = [["ba87b23d29ca", [0, 1], [[0, 0, 1, 3, "FF0000"]], "branch", "test", "1970-01-01", ["unstable", true], ["tip"], ["something"]], ["1d22e65f027e", [0, 1], [[0, 0, 1, 3, ""]], "branch", "test", "1970-01-01", ["stable", true], [], []], ["a4f92ed23982", [0, 1], [[0, 0, 1, 3, ""]], "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"], ["anotherthing"]]];
12433
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
980 var graph = new Graph();
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
981 graph.scale(39);
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
982
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
983 graph.vertex = function(x, y, color, parity, cur) {
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 this.ctx.beginPath();
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
986 color = this.setColor(color, 0.25, 0.75);
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
987 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
988 this.ctx.fill();
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
989
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
990 var bg = '<li class="bg parity' + parity + '"></li>';
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
991 var left = (this.columns + 1) * this.bg_height;
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
992 var nstyle = 'padding-left: ' + left + 'px;';
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
993
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
994 var tagspan = '';
13863
b602ac02f1ba hgweb: add bookmark labels to gitweb theme (based on 270f57d35525)
Yuya Nishihara <yuya@tcha.org>
parents: 13622
diff changeset
995 if (cur[7].length || cur[8].length || (cur[6][0] != 'default' || cur[6][1])) {
12433
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
996 tagspan = '<span class="logtags">';
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
997 if (cur[6][1]) {
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
998 tagspan += '<span class="branchtag" title="' + cur[6][0] + '">';
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
999 tagspan += cur[6][0] + '</span> ';
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1000 } else if (!cur[6][1] && cur[6][0] != 'default') {
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1001 tagspan += '<span class="inbranchtag" title="' + cur[6][0] + '">';
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1002 tagspan += cur[6][0] + '</span> ';
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1003 }
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1004 if (cur[7].length) {
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1005 for (var t in cur[7]) {
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1006 var tag = cur[7][t];
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1007 tagspan += '<span class="tagtag">' + tag + '</span> ';
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1008 }
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1009 }
13863
b602ac02f1ba hgweb: add bookmark labels to gitweb theme (based on 270f57d35525)
Yuya Nishihara <yuya@tcha.org>
parents: 13622
diff changeset
1010 if (cur[8].length) {
b602ac02f1ba hgweb: add bookmark labels to gitweb theme (based on 270f57d35525)
Yuya Nishihara <yuya@tcha.org>
parents: 13622
diff changeset
1011 for (var t in cur[8]) {
b602ac02f1ba hgweb: add bookmark labels to gitweb theme (based on 270f57d35525)
Yuya Nishihara <yuya@tcha.org>
parents: 13622
diff changeset
1012 var bookmark = cur[8][t];
b602ac02f1ba hgweb: add bookmark labels to gitweb theme (based on 270f57d35525)
Yuya Nishihara <yuya@tcha.org>
parents: 13622
diff changeset
1013 tagspan += '<span class="bookmarktag">' + bookmark + '</span> ';
b602ac02f1ba hgweb: add bookmark labels to gitweb theme (based on 270f57d35525)
Yuya Nishihara <yuya@tcha.org>
parents: 13622
diff changeset
1014 }
b602ac02f1ba hgweb: add bookmark labels to gitweb theme (based on 270f57d35525)
Yuya Nishihara <yuya@tcha.org>
parents: 13622
diff changeset
1015 }
12433
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1016 tagspan += '</span>';
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1017 }
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1018
17421
3eb85477c0d9 hgweb: avoid bad $$ processing in graph (issue3601)
Mads Kiilerich <mads@kiilerich.com>
parents: 17318
diff changeset
1019 var item = '<li style="' + nstyle + '"><span class="desc">';
3eb85477c0d9 hgweb: avoid bad $$ processing in graph (issue3601)
Mads Kiilerich <mads@kiilerich.com>
parents: 17318
diff changeset
1020 item += '<a class="list" href="/rev/' + cur[0] + '?style=gitweb" title="' + cur[0] + '"><b>' + cur[3] + '</b></a>';
3eb85477c0d9 hgweb: avoid bad $$ processing in graph (issue3601)
Mads Kiilerich <mads@kiilerich.com>
parents: 17318
diff changeset
1021 item += '</span> ' + tagspan + '';
3eb85477c0d9 hgweb: avoid bad $$ processing in graph (issue3601)
Mads Kiilerich <mads@kiilerich.com>
parents: 17318
diff changeset
1022 item += '<span class="info">' + cur[5] + ', by ' + cur[4] + '</span></li>';
3eb85477c0d9 hgweb: avoid bad $$ processing in graph (issue3601)
Mads Kiilerich <mads@kiilerich.com>
parents: 17318
diff changeset
1023
12433
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1024 return [bg, item];
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 }
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1027
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1028 graph.render(data);
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1029
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1030 // stop hiding script -->
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1031 </script>
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 <div class="page_nav">
16129
5e50982c633c graph: in hgrc specify line width for main branch
Constantine Linnick <theaspect@gmail.com>
parents: 15623
diff changeset
1034 <a href="/graph/3?style=gitweb&revcount=30">less</a>
5e50982c633c graph: in hgrc specify line width for main branch
Constantine Linnick <theaspect@gmail.com>
parents: 15623
diff changeset
1035 <a href="/graph/3?style=gitweb&revcount=120">more</a>
17318
7ac5800dbc8f hgweb: fix graph view paging
Patrick Mezard <patrick@mezard.eu>
parents: 17288
diff changeset
1036 | <a href="/graph/2ef0ac749a14?style=gitweb">(0)</a> <a href="/graph/tip?style=gitweb">tip</a>
12433
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1037 </div>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1038
14046
b24e5a708fad web: Made elapsed time calculation dynamic (javascript).
Benoit Allard <benoit@aeteurope.nl>
parents: 13942
diff changeset
1039 <script type="text/javascript">process_dates()</script>
12433
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1040 <div class="page_footer">
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1041 <div class="page_footer_text">test</div>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1042 <div class="rss_logo">
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1043 <a href="/rss-log">RSS</a>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1044 <a href="/atom-log">Atom</a>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1045 </div>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1046 <br />
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1047
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1048 </div>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1049 </body>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1050 </html>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1051
16773
d490edc71146 hgweb: make graph data suitable for template usage
Paul Boddie <paul@boddie.org.uk>
parents: 16722
diff changeset
1052 raw graph
d490edc71146 hgweb: make graph data suitable for template usage
Paul Boddie <paul@boddie.org.uk>
parents: 16722
diff changeset
1053
17017
953faba28e91 tests: prepare get-with-headers.py for MSYS
Mads Kiilerich <mads@kiilerich.com>
parents: 16913
diff changeset
1054 $ "$TESTDIR/get-with-headers.py" 127.0.0.1:$HGPORT 'graph/?style=raw'
16773
d490edc71146 hgweb: make graph data suitable for template usage
Paul Boddie <paul@boddie.org.uk>
parents: 16722
diff changeset
1055 200 Script output follows
d490edc71146 hgweb: make graph data suitable for template usage
Paul Boddie <paul@boddie.org.uk>
parents: 16722
diff changeset
1056
d490edc71146 hgweb: make graph data suitable for template usage
Paul Boddie <paul@boddie.org.uk>
parents: 16722
diff changeset
1057
d490edc71146 hgweb: make graph data suitable for template usage
Paul Boddie <paul@boddie.org.uk>
parents: 16722
diff changeset
1058 # HG graph
d490edc71146 hgweb: make graph data suitable for template usage
Paul Boddie <paul@boddie.org.uk>
parents: 16722
diff changeset
1059 # Node ID ba87b23d29ca67a305625d81a20ac279c1e3f444
d490edc71146 hgweb: make graph data suitable for template usage
Paul Boddie <paul@boddie.org.uk>
parents: 16722
diff changeset
1060 # Rows shown 4
d490edc71146 hgweb: make graph data suitable for template usage
Paul Boddie <paul@boddie.org.uk>
parents: 16722
diff changeset
1061
d490edc71146 hgweb: make graph data suitable for template usage
Paul Boddie <paul@boddie.org.uk>
parents: 16722
diff changeset
1062 changeset: ba87b23d29ca
d490edc71146 hgweb: make graph data suitable for template usage
Paul Boddie <paul@boddie.org.uk>
parents: 16722
diff changeset
1063 user: test
d490edc71146 hgweb: make graph data suitable for template usage
Paul Boddie <paul@boddie.org.uk>
parents: 16722
diff changeset
1064 date: 1970-01-01
d490edc71146 hgweb: make graph data suitable for template usage
Paul Boddie <paul@boddie.org.uk>
parents: 16722
diff changeset
1065 summary: branch
d490edc71146 hgweb: make graph data suitable for template usage
Paul Boddie <paul@boddie.org.uk>
parents: 16722
diff changeset
1066 branch: unstable
d490edc71146 hgweb: make graph data suitable for template usage
Paul Boddie <paul@boddie.org.uk>
parents: 16722
diff changeset
1067 tag: tip
d490edc71146 hgweb: make graph data suitable for template usage
Paul Boddie <paul@boddie.org.uk>
parents: 16722
diff changeset
1068 bookmark: something
d490edc71146 hgweb: make graph data suitable for template usage
Paul Boddie <paul@boddie.org.uk>
parents: 16722
diff changeset
1069
d490edc71146 hgweb: make graph data suitable for template usage
Paul Boddie <paul@boddie.org.uk>
parents: 16722
diff changeset
1070 node: (0, 0) (color 1)
d490edc71146 hgweb: make graph data suitable for template usage
Paul Boddie <paul@boddie.org.uk>
parents: 16722
diff changeset
1071 edge: (0, 0) -> (0, 1) (color 1)
d490edc71146 hgweb: make graph data suitable for template usage
Paul Boddie <paul@boddie.org.uk>
parents: 16722
diff changeset
1072
d490edc71146 hgweb: make graph data suitable for template usage
Paul Boddie <paul@boddie.org.uk>
parents: 16722
diff changeset
1073 changeset: 1d22e65f027e
d490edc71146 hgweb: make graph data suitable for template usage
Paul Boddie <paul@boddie.org.uk>
parents: 16722
diff changeset
1074 user: test
d490edc71146 hgweb: make graph data suitable for template usage
Paul Boddie <paul@boddie.org.uk>
parents: 16722
diff changeset
1075 date: 1970-01-01
d490edc71146 hgweb: make graph data suitable for template usage
Paul Boddie <paul@boddie.org.uk>
parents: 16722
diff changeset
1076 summary: branch
d490edc71146 hgweb: make graph data suitable for template usage
Paul Boddie <paul@boddie.org.uk>
parents: 16722
diff changeset
1077 branch: stable
d490edc71146 hgweb: make graph data suitable for template usage
Paul Boddie <paul@boddie.org.uk>
parents: 16722
diff changeset
1078
d490edc71146 hgweb: make graph data suitable for template usage
Paul Boddie <paul@boddie.org.uk>
parents: 16722
diff changeset
1079 node: (0, 1) (color 1)
d490edc71146 hgweb: make graph data suitable for template usage
Paul Boddie <paul@boddie.org.uk>
parents: 16722
diff changeset
1080 edge: (0, 1) -> (0, 2) (color 1)
d490edc71146 hgweb: make graph data suitable for template usage
Paul Boddie <paul@boddie.org.uk>
parents: 16722
diff changeset
1081
d490edc71146 hgweb: make graph data suitable for template usage
Paul Boddie <paul@boddie.org.uk>
parents: 16722
diff changeset
1082 changeset: a4f92ed23982
d490edc71146 hgweb: make graph data suitable for template usage
Paul Boddie <paul@boddie.org.uk>
parents: 16722
diff changeset
1083 user: test
d490edc71146 hgweb: make graph data suitable for template usage
Paul Boddie <paul@boddie.org.uk>
parents: 16722
diff changeset
1084 date: 1970-01-01
d490edc71146 hgweb: make graph data suitable for template usage
Paul Boddie <paul@boddie.org.uk>
parents: 16722
diff changeset
1085 summary: Added tag 1.0 for changeset 2ef0ac749a14
d490edc71146 hgweb: make graph data suitable for template usage
Paul Boddie <paul@boddie.org.uk>
parents: 16722
diff changeset
1086 branch: default
d490edc71146 hgweb: make graph data suitable for template usage
Paul Boddie <paul@boddie.org.uk>
parents: 16722
diff changeset
1087
d490edc71146 hgweb: make graph data suitable for template usage
Paul Boddie <paul@boddie.org.uk>
parents: 16722
diff changeset
1088 node: (0, 2) (color 1)
d490edc71146 hgweb: make graph data suitable for template usage
Paul Boddie <paul@boddie.org.uk>
parents: 16722
diff changeset
1089 edge: (0, 2) -> (0, 3) (color 1)
d490edc71146 hgweb: make graph data suitable for template usage
Paul Boddie <paul@boddie.org.uk>
parents: 16722
diff changeset
1090
d490edc71146 hgweb: make graph data suitable for template usage
Paul Boddie <paul@boddie.org.uk>
parents: 16722
diff changeset
1091 changeset: 2ef0ac749a14
d490edc71146 hgweb: make graph data suitable for template usage
Paul Boddie <paul@boddie.org.uk>
parents: 16722
diff changeset
1092 user: test
d490edc71146 hgweb: make graph data suitable for template usage
Paul Boddie <paul@boddie.org.uk>
parents: 16722
diff changeset
1093 date: 1970-01-01
d490edc71146 hgweb: make graph data suitable for template usage
Paul Boddie <paul@boddie.org.uk>
parents: 16722
diff changeset
1094 summary: base
d490edc71146 hgweb: make graph data suitable for template usage
Paul Boddie <paul@boddie.org.uk>
parents: 16722
diff changeset
1095 tag: 1.0
d490edc71146 hgweb: make graph data suitable for template usage
Paul Boddie <paul@boddie.org.uk>
parents: 16722
diff changeset
1096 bookmark: anotherthing
d490edc71146 hgweb: make graph data suitable for template usage
Paul Boddie <paul@boddie.org.uk>
parents: 16722
diff changeset
1097
d490edc71146 hgweb: make graph data suitable for template usage
Paul Boddie <paul@boddie.org.uk>
parents: 16722
diff changeset
1098 node: (0, 3) (color 1)
d490edc71146 hgweb: make graph data suitable for template usage
Paul Boddie <paul@boddie.org.uk>
parents: 16722
diff changeset
1099
d490edc71146 hgweb: make graph data suitable for template usage
Paul Boddie <paul@boddie.org.uk>
parents: 16722
diff changeset
1100
5590
05451f6b5f07 add more tests for hgweb commands
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents:
diff changeset
1101
12433
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1102 capabilities
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1103
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1104 $ "$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
1105 200 Script output follows
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1106
14622
bd88561afb4b wireproto: add batching support to wirerepository
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents: 14608
diff changeset
1107 lookup changegroupsubset branchmap pushkey known getbundle unbundlehash batch unbundle=HG10GZ,HG10BZ,HG10UN httpheader=1024
12433
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1108
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1109 heads
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1110
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1111 $ "$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
1112 200 Script output follows
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1113
16129
5e50982c633c graph: in hgrc specify line width for main branch
Constantine Linnick <theaspect@gmail.com>
parents: 15623
diff changeset
1114 ba87b23d29ca67a305625d81a20ac279c1e3f444
12433
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1115
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1116 branches
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1117
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1118 $ "$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
1119 200 Script output follows
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1120
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1121 0000000000000000000000000000000000000000 0000000000000000000000000000000000000000 0000000000000000000000000000000000000000 0000000000000000000000000000000000000000
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1122
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1123 changegroup
5590
05451f6b5f07 add more tests for hgweb commands
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents:
diff changeset
1124
12943
7439ea4146f8 tests: use (esc) instead of other kinds of string escaping
Mads Kiilerich <mads@kiilerich.com>
parents: 12680
diff changeset
1125 $ "$TESTDIR/get-with-headers.py" 127.0.0.1:$HGPORT '?cmd=changegroup&roots=0000000000000000000000000000000000000000'
12433
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1126 200 Script output follows
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1127
16129
5e50982c633c graph: in hgrc specify line width for main branch
Constantine Linnick <theaspect@gmail.com>
parents: 15623
diff changeset
1128 x\x9c\xbdTMHTQ\x14\x1e\xfc\xef\xd9&\x10\x11*x\x88\x81\x9aN\xf7\xddw\xdf{\xf7Y\x0efR\xb4\x11\xb1U\x82\xc5\xfd\x9d!c\x06\x9c'd\xa0\x99X\x82\x92i\xablUZ-*\x08\x84\x82\x02KkQ\xf8\x13\xe4\xaa\x8dn\x94\x906)\xd5B\x02\xeb\xbe\x9c\x01\x85\xc9\x996\x1d\xf8x\x97{\xefy\xe7;\xe7|\xe7\x06\x02\x81\xb1\xe0\xda\x13\xefN\xd1\xca\x8f\xcb-\xbde\xfc\xeepU\xecJ\xc3\xcd@\x86\x96\xc6\xb7^`\xe9"[H\xe4\x18T\x1a\x16p]\xc3\x96\x14\x13\xcbt\xa1tM\x0c\x1c\x0b2,M\xcd\x13qO\x03:\xd089"c1\xcd\x87FI\\\xa8\xbf|\xbc\xbf\x11\\p{_\xe5\xb6\xddn^j\xdd\xec\x0f=z\xb7\xb6\x94)\xebT\xbe\x89\xa3 (esc)
5e50982c633c graph: in hgrc specify line width for main branch
Constantine Linnick <theaspect@gmail.com>
parents: 15623
diff changeset
1129 \x1f6!6p\x00\xc4H`L\x18\x83\xdc\xa6\x8c\x0b\x84\x01\x06\x06s\xb84\x1cn2F4u\x19*\xd4*\x14\x04#a\x8f\x84\xe3\xfe^\xc8OS\xa1\xfc8\xe7\x82\xebj[7\x82@\x97\xb1v\x9dEH4,\xe2\xc2\xd3\xa1\x90\x800\x07\xb9\xc4@\xea\xee\xe4\xc1\xd2\xcf\xe7\xb3\xba[\xf2\xf6X\xdd]C\x1d\x05\xf3\x87\x1f,l\xeeBt\x87\xa5\xf2\xdd\x9e\x90*\xa9kC\xac"!\x17\x12)!c\x000\xd7\x05&\xb5\xa9\xc5\xa8-Ln (esc)
5e50982c633c graph: in hgrc specify line width for main branch
Constantine Linnick <theaspect@gmail.com>
parents: 15623
diff changeset
1130 \x0c|\xf2A\x85\x1a\x85bUy\x9d\xb6\x93(\x8b\xd4\xc4=B/\x8a?\rP'G\x15\x98B\xde\xd6\xa9Zy/\xfb'j+f\xc2\xe3\xb9\xb4\xf5\xea\x98\xf6\xa6sz\xf9{\xc3.\xa4vX*\xdf\x04\x0f\xff[\xb4\x8dGG4\xc1$\xe1:\xb9\xbaq\xf2\xeb\xa9\xfd\xebM\xa3\xc5?\x07\xce\xdc\xda\xc0\xf9\xcd\xef\xbf\xa5\xd3g\xd2\xd2\xa8\xa5uKu\x01(8$\xa6k@\x02(D\x16\x80\x00\x99\x82\x08\xa5\r\x81(t\\f`\xea\x02\xce\xb5\x7f\xba\xac\x02\x8c\\x\x98\x9f\xd5\xb7:0W\xdd6\xbf\xd2\xd3s\xa0k\xbd\xeb\xd8L\xa6 \xa5Q\x86\x91Pc\x80\x98\x8cB,L\x07#\x80\x04\x82\xb6\x8d)\xa3\x08X\x02\x00\xear\x0c-`b\x9b\x18>\xa1\x1b\xf9g\xe9@\xd1\xe9\xca_US{G\xb3\x9f?\x9b\x8d\xd6\x86zR\x91LE\xe8/\xdd& (esc)
5e50982c633c graph: in hgrc specify line width for main branch
Constantine Linnick <theaspect@gmail.com>
parents: 15623
diff changeset
1131 C
5e50982c633c graph: in hgrc specify line width for main branch
Constantine Linnick <theaspect@gmail.com>
parents: 15623
diff changeset
1132 \xd5~u\xb0e#\x08\r\x8c\xd5\xf83\x93\x01B\x95\xe8\x1c\x03\xdb\x92s*\x99`\xcc0\x88\xb4d\xb2\xbd\x85\xc9,\x14\xb7\xf1\xd9\xf2\xe5Ku\x8d\xf5rp\xb6\xee\\\xe0\xc5\xa7C\xd9\xd7\xefe\xda\xe94\xc5\xaa\xde>\x8a\x02I\xcb!\x16\xc1\x10"\x1b\x11\xe0\x02\xc8l\xe9H\x84\xb0\xf4\xa78\xc9-\xf1(\xa9\x15\x0f.\x8c\x8fT\x16\x965\xe9'\xbe\xac6\xaeLtN\x0f\x0e/fJ-\x8d\x08s\x12#\xe7[\xfe\xff\x0b\x17\xb9\xc6KK\xfa\xa2o\xa7\x1e\x87\xfaKb\x8b\xaf?\xcc\xed{z>\xd3\xb8\xbb\xcc}\x8eB\x01\x89\xc6\xbc\x88hO\xa6\x15\xf8\rr4\xb3\xe5 (no-eol) (esc)
12433
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1133
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1134 stream_out
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1135
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1136 $ "$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
1137 200 Script output follows
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1138
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1139 1
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1140
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1141 failing unbundle, requires POST request
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1142
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1143 $ "$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
1144 405 push requires POST request
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1145
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1146 0
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1147 push requires POST request
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1148 [1]
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1149
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1150 Static files
11765
aff419e260f9 templatefilters: make json filter handle multibyte characters correctly
Yuya Nishihara <yuya@tcha.org>
parents: 10414
diff changeset
1151
17017
953faba28e91 tests: prepare get-with-headers.py for MSYS
Mads Kiilerich <mads@kiilerich.com>
parents: 16913
diff changeset
1152 $ "$TESTDIR/get-with-headers.py" 127.0.0.1:$HGPORT 'static/style.css'
12433
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1153 200 Script output follows
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1154
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1155 a { text-decoration:none; }
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1156 .age { white-space:nowrap; }
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1157 .date { white-space:nowrap; }
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1158 .indexlinks { white-space:nowrap; }
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1159 .parity0 { background-color: #ddd; }
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1160 .parity1 { background-color: #eee; }
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1161 .lineno { width: 60px; color: #aaa; font-size: smaller;
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1162 text-align: right; }
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1163 .plusline { color: green; }
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1164 .minusline { color: red; }
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1165 .atline { color: purple; }
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1166 .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
1167 .buttons a {
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1168 background-color: #666;
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1169 padding: 2pt;
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1170 color: white;
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1171 font-family: sans;
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1172 font-weight: bold;
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1173 }
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1174 .navigate a {
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1175 background-color: #ccc;
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1176 padding: 2pt;
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1177 font-family: sans;
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1178 color: black;
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1179 }
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1180
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1181 .metatag {
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1182 background-color: #888;
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1183 color: white;
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1184 text-align: right;
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1185 }
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1186
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1187 /* Common */
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1188 pre { margin: 0; }
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1189
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1190 .logo {
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1191 float: right;
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1192 clear: right;
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1193 }
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1194
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1195 /* Changelog/Filelog entries */
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1196 .logEntry { width: 100%; }
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1197 .logEntry .age { width: 15%; }
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1198 .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
1199 .logEntry th.age, .logEntry th.firstline { font-weight: bold; }
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1200 .logEntry th.firstline { text-align: left; width: inherit; }
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1201
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1202 /* Shortlog entries */
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1203 .slogEntry { width: 100%; }
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1204 .slogEntry .age { width: 8em; }
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1205 .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
1206 .slogEntry td.author { width: 15em; }
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1207
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1208 /* Tag entries */
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1209 #tagEntries { list-style: none; margin: 0; padding: 0; }
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1210 #tagEntries .tagEntry { list-style: none; margin: 0; padding: 0; }
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1211
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1212 /* Changeset entry */
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1213 #changesetEntry { }
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1214 #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
1215 #changesetEntry th.files, #changesetEntry th.description { vertical-align: top; }
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1216
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1217 /* File diff view */
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1218 #filediffEntry { }
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1219 #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
1220
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1221 /* Graph */
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1222 div#wrapper {
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1223 position: relative;
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1224 margin: 0;
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1225 padding: 0;
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1226 }
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1227
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1228 canvas {
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1229 position: absolute;
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1230 z-index: 5;
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1231 top: -0.6em;
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1232 margin: 0;
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1233 }
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1234
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1235 ul#nodebgs {
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1236 list-style: none inside none;
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1237 padding: 0;
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1238 margin: 0;
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1239 top: -0.7em;
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1240 }
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1241
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1242 ul#graphnodes li, ul#nodebgs li {
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1243 height: 39px;
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1244 }
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1245
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1246 ul#graphnodes {
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1247 position: absolute;
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1248 z-index: 10;
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1249 top: -0.85em;
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1250 list-style: none inside none;
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1251 padding: 0;
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1252 }
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1253
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1254 ul#graphnodes li .info {
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1255 display: block;
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1256 font-size: 70%;
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1257 position: relative;
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1258 top: -1px;
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1259 }
11765
aff419e260f9 templatefilters: make json filter handle multibyte characters correctly
Yuya Nishihara <yuya@tcha.org>
parents: 10414
diff changeset
1260
16361
6097ede2be4d protocol: Add the stream-preferred capability
Benoit Allard <benoit@aeteurope.nl>
parents: 16138
diff changeset
1261 Stop and restart with HGENCODING=cp932 and preferuncompressed
12433
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1262
17466
d5a3bda6e170 killdaemons: take file argument explicitely
Patrick Mezard <patrick@mezard.eu>
parents: 17421
diff changeset
1263 $ "$TESTDIR/killdaemons.py" $DAEMON_PIDS
16361
6097ede2be4d protocol: Add the stream-preferred capability
Benoit Allard <benoit@aeteurope.nl>
parents: 16138
diff changeset
1264 $ HGENCODING=cp932 hg serve --config server.preferuncompressed=True -n test \
12433
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1265 > -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
1266 $ cat hg.pid >> $DAEMON_PIDS
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1267
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1268 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
1269
12433
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1270 $ echo foo >> foo
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1271 $ 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
1272
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1273 Graph json escape of multibyte character
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1274
17017
953faba28e91 tests: prepare get-with-headers.py for MSYS
Mads Kiilerich <mads@kiilerich.com>
parents: 16913
diff changeset
1275 $ "$TESTDIR/get-with-headers.py" 127.0.0.1:$HGPORT 'graph/' \
12433
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1276 > | grep '^var data ='
16138
6e4de55a41a4 hgweb: refactor graph customization javascript
Patrick Mezard <patrick@mezard.eu>
parents: 16137
diff changeset
1277 var data = [["548001d11f45", [0, 1], [[0, 0, 1, -1, ""]], "\u80fd", "test", "1970-01-01", ["unstable", true], ["tip"], ["something"]], ["ba87b23d29ca", [0, 1], [[0, 0, 1, 3, "FF0000"]], "branch", "test", "1970-01-01", ["unstable", false], [], []], ["1d22e65f027e", [0, 1], [[0, 0, 1, 3, ""]], "branch", "test", "1970-01-01", ["stable", true], [], []], ["a4f92ed23982", [0, 1], [[0, 0, 1, 3, ""]], "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"], ["anotherthing"]]];
12433
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1278
16361
6097ede2be4d protocol: Add the stream-preferred capability
Benoit Allard <benoit@aeteurope.nl>
parents: 16138
diff changeset
1279 capabilities
6097ede2be4d protocol: Add the stream-preferred capability
Benoit Allard <benoit@aeteurope.nl>
parents: 16138
diff changeset
1280
6097ede2be4d protocol: Add the stream-preferred capability
Benoit Allard <benoit@aeteurope.nl>
parents: 16138
diff changeset
1281 $ "$TESTDIR/get-with-headers.py" 127.0.0.1:$HGPORT '?cmd=capabilities'; echo
6097ede2be4d protocol: Add the stream-preferred capability
Benoit Allard <benoit@aeteurope.nl>
parents: 16138
diff changeset
1282 200 Script output follows
6097ede2be4d protocol: Add the stream-preferred capability
Benoit Allard <benoit@aeteurope.nl>
parents: 16138
diff changeset
1283
6097ede2be4d protocol: Add the stream-preferred capability
Benoit Allard <benoit@aeteurope.nl>
parents: 16138
diff changeset
1284 lookup changegroupsubset branchmap pushkey known getbundle unbundlehash batch stream-preferred stream unbundle=HG10GZ,HG10BZ,HG10UN httpheader=1024
6097ede2be4d protocol: Add the stream-preferred capability
Benoit Allard <benoit@aeteurope.nl>
parents: 16138
diff changeset
1285
6097ede2be4d protocol: Add the stream-preferred capability
Benoit Allard <benoit@aeteurope.nl>
parents: 16138
diff changeset
1286 heads
6097ede2be4d protocol: Add the stream-preferred capability
Benoit Allard <benoit@aeteurope.nl>
parents: 16138
diff changeset
1287
12433
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1288 ERRORS ENCOUNTERED
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1289
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1290 $ cat errors.log
17466
d5a3bda6e170 killdaemons: take file argument explicitely
Patrick Mezard <patrick@mezard.eu>
parents: 17421
diff changeset
1291 $ "$TESTDIR/killdaemons.py" $DAEMON_PIDS
16913
f2719b387380 tests: add missing trailing 'cd ..'
Mads Kiilerich <mads@kiilerich.com>
parents: 16773
diff changeset
1292
f2719b387380 tests: add missing trailing 'cd ..'
Mads Kiilerich <mads@kiilerich.com>
parents: 16773
diff changeset
1293 $ cd ..
17318
7ac5800dbc8f hgweb: fix graph view paging
Patrick Mezard <patrick@mezard.eu>
parents: 17288
diff changeset
1294
7ac5800dbc8f hgweb: fix graph view paging
Patrick Mezard <patrick@mezard.eu>
parents: 17288
diff changeset
1295 Test graph paging
7ac5800dbc8f hgweb: fix graph view paging
Patrick Mezard <patrick@mezard.eu>
parents: 17288
diff changeset
1296
7ac5800dbc8f hgweb: fix graph view paging
Patrick Mezard <patrick@mezard.eu>
parents: 17288
diff changeset
1297 $ mkcommit() {
7ac5800dbc8f hgweb: fix graph view paging
Patrick Mezard <patrick@mezard.eu>
parents: 17288
diff changeset
1298 > echo $1 >> a
7ac5800dbc8f hgweb: fix graph view paging
Patrick Mezard <patrick@mezard.eu>
parents: 17288
diff changeset
1299 > hg ci -Am $1 a
7ac5800dbc8f hgweb: fix graph view paging
Patrick Mezard <patrick@mezard.eu>
parents: 17288
diff changeset
1300 > }
7ac5800dbc8f hgweb: fix graph view paging
Patrick Mezard <patrick@mezard.eu>
parents: 17288
diff changeset
1301
7ac5800dbc8f hgweb: fix graph view paging
Patrick Mezard <patrick@mezard.eu>
parents: 17288
diff changeset
1302 $ hg init graph
7ac5800dbc8f hgweb: fix graph view paging
Patrick Mezard <patrick@mezard.eu>
parents: 17288
diff changeset
1303 $ cd graph
7ac5800dbc8f hgweb: fix graph view paging
Patrick Mezard <patrick@mezard.eu>
parents: 17288
diff changeset
1304 $ mkcommit 0
7ac5800dbc8f hgweb: fix graph view paging
Patrick Mezard <patrick@mezard.eu>
parents: 17288
diff changeset
1305 $ mkcommit 1
7ac5800dbc8f hgweb: fix graph view paging
Patrick Mezard <patrick@mezard.eu>
parents: 17288
diff changeset
1306 $ mkcommit 2
7ac5800dbc8f hgweb: fix graph view paging
Patrick Mezard <patrick@mezard.eu>
parents: 17288
diff changeset
1307 $ mkcommit 3
7ac5800dbc8f hgweb: fix graph view paging
Patrick Mezard <patrick@mezard.eu>
parents: 17288
diff changeset
1308 $ mkcommit 4
7ac5800dbc8f hgweb: fix graph view paging
Patrick Mezard <patrick@mezard.eu>
parents: 17288
diff changeset
1309 $ mkcommit 5
7ac5800dbc8f hgweb: fix graph view paging
Patrick Mezard <patrick@mezard.eu>
parents: 17288
diff changeset
1310 $ hg serve --config server.uncompressed=False \
7ac5800dbc8f hgweb: fix graph view paging
Patrick Mezard <patrick@mezard.eu>
parents: 17288
diff changeset
1311 > --config web.maxshortchanges=2 \
7ac5800dbc8f hgweb: fix graph view paging
Patrick Mezard <patrick@mezard.eu>
parents: 17288
diff changeset
1312 > -n test -p $HGPORT -d --pid-file=hg.pid -E errors.log
7ac5800dbc8f hgweb: fix graph view paging
Patrick Mezard <patrick@mezard.eu>
parents: 17288
diff changeset
1313 $ cat hg.pid >> $DAEMON_PIDS
7ac5800dbc8f hgweb: fix graph view paging
Patrick Mezard <patrick@mezard.eu>
parents: 17288
diff changeset
1314 $ hg log -G --template '{rev}:{node|short} {desc}\n'
7ac5800dbc8f hgweb: fix graph view paging
Patrick Mezard <patrick@mezard.eu>
parents: 17288
diff changeset
1315 @ 5:aed2d9c1d0e7 5
7ac5800dbc8f hgweb: fix graph view paging
Patrick Mezard <patrick@mezard.eu>
parents: 17288
diff changeset
1316 |
7ac5800dbc8f hgweb: fix graph view paging
Patrick Mezard <patrick@mezard.eu>
parents: 17288
diff changeset
1317 o 4:b60a39a85a01 4
7ac5800dbc8f hgweb: fix graph view paging
Patrick Mezard <patrick@mezard.eu>
parents: 17288
diff changeset
1318 |
7ac5800dbc8f hgweb: fix graph view paging
Patrick Mezard <patrick@mezard.eu>
parents: 17288
diff changeset
1319 o 3:ada793dcc118 3
7ac5800dbc8f hgweb: fix graph view paging
Patrick Mezard <patrick@mezard.eu>
parents: 17288
diff changeset
1320 |
7ac5800dbc8f hgweb: fix graph view paging
Patrick Mezard <patrick@mezard.eu>
parents: 17288
diff changeset
1321 o 2:ab4f1438558b 2
7ac5800dbc8f hgweb: fix graph view paging
Patrick Mezard <patrick@mezard.eu>
parents: 17288
diff changeset
1322 |
7ac5800dbc8f hgweb: fix graph view paging
Patrick Mezard <patrick@mezard.eu>
parents: 17288
diff changeset
1323 o 1:e06180cbfb0c 1
7ac5800dbc8f hgweb: fix graph view paging
Patrick Mezard <patrick@mezard.eu>
parents: 17288
diff changeset
1324 |
7ac5800dbc8f hgweb: fix graph view paging
Patrick Mezard <patrick@mezard.eu>
parents: 17288
diff changeset
1325 o 0:b4e73ffab476 0
7ac5800dbc8f hgweb: fix graph view paging
Patrick Mezard <patrick@mezard.eu>
parents: 17288
diff changeset
1326
7ac5800dbc8f hgweb: fix graph view paging
Patrick Mezard <patrick@mezard.eu>
parents: 17288
diff changeset
1327
7ac5800dbc8f hgweb: fix graph view paging
Patrick Mezard <patrick@mezard.eu>
parents: 17288
diff changeset
1328 Test paging
7ac5800dbc8f hgweb: fix graph view paging
Patrick Mezard <patrick@mezard.eu>
parents: 17288
diff changeset
1329
7ac5800dbc8f hgweb: fix graph view paging
Patrick Mezard <patrick@mezard.eu>
parents: 17288
diff changeset
1330 $ "$TESTDIR/get-with-headers.py" 127.0.0.1:$HGPORT \
7ac5800dbc8f hgweb: fix graph view paging
Patrick Mezard <patrick@mezard.eu>
parents: 17288
diff changeset
1331 > 'graph/?style=raw' | grep changeset
7ac5800dbc8f hgweb: fix graph view paging
Patrick Mezard <patrick@mezard.eu>
parents: 17288
diff changeset
1332 changeset: aed2d9c1d0e7
7ac5800dbc8f hgweb: fix graph view paging
Patrick Mezard <patrick@mezard.eu>
parents: 17288
diff changeset
1333 changeset: b60a39a85a01
7ac5800dbc8f hgweb: fix graph view paging
Patrick Mezard <patrick@mezard.eu>
parents: 17288
diff changeset
1334
7ac5800dbc8f hgweb: fix graph view paging
Patrick Mezard <patrick@mezard.eu>
parents: 17288
diff changeset
1335 $ "$TESTDIR/get-with-headers.py" 127.0.0.1:$HGPORT \
7ac5800dbc8f hgweb: fix graph view paging
Patrick Mezard <patrick@mezard.eu>
parents: 17288
diff changeset
1336 > 'graph/?style=raw&revcount=3' | grep changeset
7ac5800dbc8f hgweb: fix graph view paging
Patrick Mezard <patrick@mezard.eu>
parents: 17288
diff changeset
1337 changeset: aed2d9c1d0e7
7ac5800dbc8f hgweb: fix graph view paging
Patrick Mezard <patrick@mezard.eu>
parents: 17288
diff changeset
1338 changeset: b60a39a85a01
7ac5800dbc8f hgweb: fix graph view paging
Patrick Mezard <patrick@mezard.eu>
parents: 17288
diff changeset
1339 changeset: ada793dcc118
7ac5800dbc8f hgweb: fix graph view paging
Patrick Mezard <patrick@mezard.eu>
parents: 17288
diff changeset
1340
7ac5800dbc8f hgweb: fix graph view paging
Patrick Mezard <patrick@mezard.eu>
parents: 17288
diff changeset
1341 $ "$TESTDIR/get-with-headers.py" 127.0.0.1:$HGPORT \
7ac5800dbc8f hgweb: fix graph view paging
Patrick Mezard <patrick@mezard.eu>
parents: 17288
diff changeset
1342 > 'graph/e06180cbfb0?style=raw&revcount=3' | grep changeset
7ac5800dbc8f hgweb: fix graph view paging
Patrick Mezard <patrick@mezard.eu>
parents: 17288
diff changeset
1343 changeset: ab4f1438558b
7ac5800dbc8f hgweb: fix graph view paging
Patrick Mezard <patrick@mezard.eu>
parents: 17288
diff changeset
1344 changeset: e06180cbfb0c
7ac5800dbc8f hgweb: fix graph view paging
Patrick Mezard <patrick@mezard.eu>
parents: 17288
diff changeset
1345 changeset: b4e73ffab476
7ac5800dbc8f hgweb: fix graph view paging
Patrick Mezard <patrick@mezard.eu>
parents: 17288
diff changeset
1346
7ac5800dbc8f hgweb: fix graph view paging
Patrick Mezard <patrick@mezard.eu>
parents: 17288
diff changeset
1347 $ "$TESTDIR/get-with-headers.py" 127.0.0.1:$HGPORT \
7ac5800dbc8f hgweb: fix graph view paging
Patrick Mezard <patrick@mezard.eu>
parents: 17288
diff changeset
1348 > 'graph/b4e73ffab47?style=raw&revcount=3' | grep changeset
7ac5800dbc8f hgweb: fix graph view paging
Patrick Mezard <patrick@mezard.eu>
parents: 17288
diff changeset
1349 changeset: ab4f1438558b
7ac5800dbc8f hgweb: fix graph view paging
Patrick Mezard <patrick@mezard.eu>
parents: 17288
diff changeset
1350 changeset: e06180cbfb0c
7ac5800dbc8f hgweb: fix graph view paging
Patrick Mezard <patrick@mezard.eu>
parents: 17288
diff changeset
1351 changeset: b4e73ffab476
7ac5800dbc8f hgweb: fix graph view paging
Patrick Mezard <patrick@mezard.eu>
parents: 17288
diff changeset
1352
7ac5800dbc8f hgweb: fix graph view paging
Patrick Mezard <patrick@mezard.eu>
parents: 17288
diff changeset
1353 $ cat errors.log
7ac5800dbc8f hgweb: fix graph view paging
Patrick Mezard <patrick@mezard.eu>
parents: 17288
diff changeset
1354
7ac5800dbc8f hgweb: fix graph view paging
Patrick Mezard <patrick@mezard.eu>
parents: 17288
diff changeset
1355 $ cd ..