annotate tests/test-hgweb-commands.t @ 23830:c4f6fc4eb01e

hgweb: close <img> elements Templates declare xhtml doctype, which means, in particular, that the document must also be valid xml. So <img> elements must be closed.
author Anton Shestakov <engored@ya.ru>
date Sat, 10 Jan 2015 17:54:24 +0800
parents 70cfa7e1611b
children 0ab23a48b9a7
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
22046
7a9cbb315d84 tests: replace exit 80 with #require
Matt Mackall <mpm@selenic.com>
parents: 21873
diff changeset
1 #require serve
15446
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?)
17772
823a7d79ef82 hgweb: make the escape filter remove null characters (issue2567)
Siddharth Agarwal <sid0@fb.com>
parents: 17742
diff changeset
30 >>> open('msg', 'wb').write('branch commit with null character: \0\n')
823a7d79ef82 hgweb: make the escape filter remove null characters (issue2567)
Siddharth Agarwal <sid0@fb.com>
parents: 17742
diff changeset
31 $ hg ci -l msg
823a7d79ef82 hgweb: make the escape filter remove null characters (issue2567)
Siddharth Agarwal <sid0@fb.com>
parents: 17742
diff changeset
32 $ rm msg
823a7d79ef82 hgweb: make the escape filter remove null characters (issue2567)
Siddharth Agarwal <sid0@fb.com>
parents: 17742
diff changeset
33
21485
ec273709c49e tests: write the hgrc file for test-hgweb-commands.t with cat instead of echo
Steven Brown <StevenGBrown@gmail.com>
parents: 21484
diff changeset
34 $ cat > .hg/hgrc <<EOF
ec273709c49e tests: write the hgrc file for test-hgweb-commands.t with cat instead of echo
Steven Brown <StevenGBrown@gmail.com>
parents: 21484
diff changeset
35 > [graph]
ec273709c49e tests: write the hgrc file for test-hgweb-commands.t with cat instead of echo
Steven Brown <StevenGBrown@gmail.com>
parents: 21484
diff changeset
36 > default.width = 3
ec273709c49e tests: write the hgrc file for test-hgweb-commands.t with cat instead of echo
Steven Brown <StevenGBrown@gmail.com>
parents: 21484
diff changeset
37 > stable.width = 3
ec273709c49e tests: write the hgrc file for test-hgweb-commands.t with cat instead of echo
Steven Brown <StevenGBrown@gmail.com>
parents: 21484
diff changeset
38 > stable.color = FF0000
21486
16352b34e32e hgweb: apply websub filter to the changeset description in rss and atom feeds
Steven Brown <StevenGBrown@gmail.com>
parents: 21485
diff changeset
39 > [websub]
16352b34e32e hgweb: apply websub filter to the changeset description in rss and atom feeds
Steven Brown <StevenGBrown@gmail.com>
parents: 21485
diff changeset
40 > append = s|(.*)|\1(websub)|
21485
ec273709c49e tests: write the hgrc file for test-hgweb-commands.t with cat instead of echo
Steven Brown <StevenGBrown@gmail.com>
parents: 21484
diff changeset
41 > EOF
ec273709c49e tests: write the hgrc file for test-hgweb-commands.t with cat instead of echo
Steven Brown <StevenGBrown@gmail.com>
parents: 21484
diff changeset
42
12433
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
43 $ 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
44 $ cat hg.pid >> $DAEMON_PIDS
17318
7ac5800dbc8f hgweb: fix graph view paging
Patrick Mezard <patrick@mezard.eu>
parents: 17288
diff changeset
45 $ hg log -G --template '{rev}:{node|short} {desc}\n'
17772
823a7d79ef82 hgweb: make the escape filter remove null characters (issue2567)
Siddharth Agarwal <sid0@fb.com>
parents: 17742
diff changeset
46 @ 3:cad8025a2e87 branch commit with null character: \x00 (esc)
17318
7ac5800dbc8f hgweb: fix graph view paging
Patrick Mezard <patrick@mezard.eu>
parents: 17288
diff changeset
47 |
7ac5800dbc8f hgweb: fix graph view paging
Patrick Mezard <patrick@mezard.eu>
parents: 17288
diff changeset
48 o 2:1d22e65f027e branch
7ac5800dbc8f hgweb: fix graph view paging
Patrick Mezard <patrick@mezard.eu>
parents: 17288
diff changeset
49 |
7ac5800dbc8f hgweb: fix graph view paging
Patrick Mezard <patrick@mezard.eu>
parents: 17288
diff changeset
50 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
51 |
7ac5800dbc8f hgweb: fix graph view paging
Patrick Mezard <patrick@mezard.eu>
parents: 17288
diff changeset
52 o 0:2ef0ac749a14 base
7ac5800dbc8f hgweb: fix graph view paging
Patrick Mezard <patrick@mezard.eu>
parents: 17288
diff changeset
53
12433
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
54
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
55 Logs and changes
5590
05451f6b5f07 add more tests for hgweb commands
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents:
diff changeset
56
17017
953faba28e91 tests: prepare get-with-headers.py for MSYS
Mads Kiilerich <mads@kiilerich.com>
parents: 16913
diff changeset
57 $ "$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
58 200 Script output follows
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
59
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
60 <?xml version="1.0" encoding="ascii"?>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
61 <feed xmlns="http://www.w3.org/2005/Atom">
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
62 <!-- Changelog -->
12643
d08bb64888bc tests: reintroduce ":$HGPORT" in test output
Mads Kiilerich <mads@kiilerich.com>
parents: 12433
diff changeset
63 <id>http://*:$HGPORT/</id> (glob)
d08bb64888bc tests: reintroduce ":$HGPORT" in test output
Mads Kiilerich <mads@kiilerich.com>
parents: 12433
diff changeset
64 <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
65 <link rel="alternate" href="http://*:$HGPORT/"/> (glob)
12433
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
66 <title>test Changelog</title>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
67 <updated>1970-01-01T00:00:00+00:00</updated>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
68
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
69 <entry>
21056
d70703954a2a hgweb: adding branch, tags, bookmarks, user, and file list to atom feed entries
Aaron Jensen <ajensen@webmd.net>
parents: 20256
diff changeset
70 <title>[unstable] branch commit with null character: </title>
17772
823a7d79ef82 hgweb: make the escape filter remove null characters (issue2567)
Siddharth Agarwal <sid0@fb.com>
parents: 17742
diff changeset
71 <id>http://*:$HGPORT/#changeset-cad8025a2e87f88c06259790adfa15acb4080123</id> (glob)
823a7d79ef82 hgweb: make the escape filter remove null characters (issue2567)
Siddharth Agarwal <sid0@fb.com>
parents: 17742
diff changeset
72 <link href="http://*:$HGPORT/rev/cad8025a2e87"/> (glob)
16129
5e50982c633c graph: in hgrc specify line width for main branch
Constantine Linnick <theaspect@gmail.com>
parents: 15623
diff changeset
73 <author>
5e50982c633c graph: in hgrc specify line width for main branch
Constantine Linnick <theaspect@gmail.com>
parents: 15623
diff changeset
74 <name>test</name>
5e50982c633c graph: in hgrc specify line width for main branch
Constantine Linnick <theaspect@gmail.com>
parents: 15623
diff changeset
75 <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
76 </author>
5e50982c633c graph: in hgrc specify line width for main branch
Constantine Linnick <theaspect@gmail.com>
parents: 15623
diff changeset
77 <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
78 <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
79 <content type="xhtml">
21056
d70703954a2a hgweb: adding branch, tags, bookmarks, user, and file list to atom feed entries
Aaron Jensen <ajensen@webmd.net>
parents: 20256
diff changeset
80 <table xmlns="http://www.w3.org/1999/xhtml">
d70703954a2a hgweb: adding branch, tags, bookmarks, user, and file list to atom feed entries
Aaron Jensen <ajensen@webmd.net>
parents: 20256
diff changeset
81 <tr>
d70703954a2a hgweb: adding branch, tags, bookmarks, user, and file list to atom feed entries
Aaron Jensen <ajensen@webmd.net>
parents: 20256
diff changeset
82 <th style="text-align:left;">changeset</th>
d70703954a2a hgweb: adding branch, tags, bookmarks, user, and file list to atom feed entries
Aaron Jensen <ajensen@webmd.net>
parents: 20256
diff changeset
83 <td>cad8025a2e87</td>
21117
91eb605022f5 hgweb: adding branch names from inbranch template to atom feed
Aaron Jensen <ajensen@webmd.net>
parents: 21056
diff changeset
84 </tr>
91eb605022f5 hgweb: adding branch names from inbranch template to atom feed
Aaron Jensen <ajensen@webmd.net>
parents: 21056
diff changeset
85 <tr>
91eb605022f5 hgweb: adding branch names from inbranch template to atom feed
Aaron Jensen <ajensen@webmd.net>
parents: 21056
diff changeset
86 <th style="text-align:left;">branch</th>
91eb605022f5 hgweb: adding branch names from inbranch template to atom feed
Aaron Jensen <ajensen@webmd.net>
parents: 21056
diff changeset
87 <td>unstable</td>
91eb605022f5 hgweb: adding branch names from inbranch template to atom feed
Aaron Jensen <ajensen@webmd.net>
parents: 21056
diff changeset
88 </tr>
91eb605022f5 hgweb: adding branch names from inbranch template to atom feed
Aaron Jensen <ajensen@webmd.net>
parents: 21056
diff changeset
89 <tr>
91eb605022f5 hgweb: adding branch names from inbranch template to atom feed
Aaron Jensen <ajensen@webmd.net>
parents: 21056
diff changeset
90 <th style="text-align:left;">bookmark</th>
21056
d70703954a2a hgweb: adding branch, tags, bookmarks, user, and file list to atom feed entries
Aaron Jensen <ajensen@webmd.net>
parents: 20256
diff changeset
91 <td>something</td>
d70703954a2a hgweb: adding branch, tags, bookmarks, user, and file list to atom feed entries
Aaron Jensen <ajensen@webmd.net>
parents: 20256
diff changeset
92 </tr>
d70703954a2a hgweb: adding branch, tags, bookmarks, user, and file list to atom feed entries
Aaron Jensen <ajensen@webmd.net>
parents: 20256
diff changeset
93 <tr>
d70703954a2a hgweb: adding branch, tags, bookmarks, user, and file list to atom feed entries
Aaron Jensen <ajensen@webmd.net>
parents: 20256
diff changeset
94 <th style="text-align:left;">tag</th>
d70703954a2a hgweb: adding branch, tags, bookmarks, user, and file list to atom feed entries
Aaron Jensen <ajensen@webmd.net>
parents: 20256
diff changeset
95 <td>tip</td>
d70703954a2a hgweb: adding branch, tags, bookmarks, user, and file list to atom feed entries
Aaron Jensen <ajensen@webmd.net>
parents: 20256
diff changeset
96 </tr>
d70703954a2a hgweb: adding branch, tags, bookmarks, user, and file list to atom feed entries
Aaron Jensen <ajensen@webmd.net>
parents: 20256
diff changeset
97 <tr>
d70703954a2a hgweb: adding branch, tags, bookmarks, user, and file list to atom feed entries
Aaron Jensen <ajensen@webmd.net>
parents: 20256
diff changeset
98 <th style="text-align:left;">user</th>
d70703954a2a hgweb: adding branch, tags, bookmarks, user, and file list to atom feed entries
Aaron Jensen <ajensen@webmd.net>
parents: 20256
diff changeset
99 <td>&#116;&#101;&#115;&#116;</td>
d70703954a2a hgweb: adding branch, tags, bookmarks, user, and file list to atom feed entries
Aaron Jensen <ajensen@webmd.net>
parents: 20256
diff changeset
100 </tr>
d70703954a2a hgweb: adding branch, tags, bookmarks, user, and file list to atom feed entries
Aaron Jensen <ajensen@webmd.net>
parents: 20256
diff changeset
101 <tr>
d70703954a2a hgweb: adding branch, tags, bookmarks, user, and file list to atom feed entries
Aaron Jensen <ajensen@webmd.net>
parents: 20256
diff changeset
102 <th style="text-align:left;vertical-align:top;">description</th>
21486
16352b34e32e hgweb: apply websub filter to the changeset description in rss and atom feeds
Steven Brown <StevenGBrown@gmail.com>
parents: 21485
diff changeset
103 <td>branch commit with null character: (websub)</td>
21056
d70703954a2a hgweb: adding branch, tags, bookmarks, user, and file list to atom feed entries
Aaron Jensen <ajensen@webmd.net>
parents: 20256
diff changeset
104 </tr>
d70703954a2a hgweb: adding branch, tags, bookmarks, user, and file list to atom feed entries
Aaron Jensen <ajensen@webmd.net>
parents: 20256
diff changeset
105 <tr>
d70703954a2a hgweb: adding branch, tags, bookmarks, user, and file list to atom feed entries
Aaron Jensen <ajensen@webmd.net>
parents: 20256
diff changeset
106 <th style="text-align:left;vertical-align:top;">files</th>
d70703954a2a hgweb: adding branch, tags, bookmarks, user, and file list to atom feed entries
Aaron Jensen <ajensen@webmd.net>
parents: 20256
diff changeset
107 <td></td>
d70703954a2a hgweb: adding branch, tags, bookmarks, user, and file list to atom feed entries
Aaron Jensen <ajensen@webmd.net>
parents: 20256
diff changeset
108 </tr>
d70703954a2a hgweb: adding branch, tags, bookmarks, user, and file list to atom feed entries
Aaron Jensen <ajensen@webmd.net>
parents: 20256
diff changeset
109 </table>
16129
5e50982c633c graph: in hgrc specify line width for main branch
Constantine Linnick <theaspect@gmail.com>
parents: 15623
diff changeset
110 </content>
5e50982c633c graph: in hgrc specify line width for main branch
Constantine Linnick <theaspect@gmail.com>
parents: 15623
diff changeset
111 </entry>
5e50982c633c graph: in hgrc specify line width for main branch
Constantine Linnick <theaspect@gmail.com>
parents: 15623
diff changeset
112 <entry>
21056
d70703954a2a hgweb: adding branch, tags, bookmarks, user, and file list to atom feed entries
Aaron Jensen <ajensen@webmd.net>
parents: 20256
diff changeset
113 <title>[stable] branch</title>
12643
d08bb64888bc tests: reintroduce ":$HGPORT" in test output
Mads Kiilerich <mads@kiilerich.com>
parents: 12433
diff changeset
114 <id>http://*:$HGPORT/#changeset-1d22e65f027e5a0609357e7d8e7508cd2ba5d2fe</id> (glob)
d08bb64888bc tests: reintroduce ":$HGPORT" in test output
Mads Kiilerich <mads@kiilerich.com>
parents: 12433
diff changeset
115 <link href="http://*:$HGPORT/rev/1d22e65f027e"/> (glob)
12433
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 <name>test</name>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
118 <email>&#116;&#101;&#115;&#116;</email>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
119 </author>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
120 <updated>1970-01-01T00:00:00+00:00</updated>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
121 <published>1970-01-01T00:00:00+00:00</published>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
122 <content type="xhtml">
21056
d70703954a2a hgweb: adding branch, tags, bookmarks, user, and file list to atom feed entries
Aaron Jensen <ajensen@webmd.net>
parents: 20256
diff changeset
123 <table xmlns="http://www.w3.org/1999/xhtml">
d70703954a2a hgweb: adding branch, tags, bookmarks, user, and file list to atom feed entries
Aaron Jensen <ajensen@webmd.net>
parents: 20256
diff changeset
124 <tr>
d70703954a2a hgweb: adding branch, tags, bookmarks, user, and file list to atom feed entries
Aaron Jensen <ajensen@webmd.net>
parents: 20256
diff changeset
125 <th style="text-align:left;">changeset</th>
d70703954a2a hgweb: adding branch, tags, bookmarks, user, and file list to atom feed entries
Aaron Jensen <ajensen@webmd.net>
parents: 20256
diff changeset
126 <td>1d22e65f027e</td>
21117
91eb605022f5 hgweb: adding branch names from inbranch template to atom feed
Aaron Jensen <ajensen@webmd.net>
parents: 21056
diff changeset
127 </tr>
91eb605022f5 hgweb: adding branch names from inbranch template to atom feed
Aaron Jensen <ajensen@webmd.net>
parents: 21056
diff changeset
128 <tr>
91eb605022f5 hgweb: adding branch names from inbranch template to atom feed
Aaron Jensen <ajensen@webmd.net>
parents: 21056
diff changeset
129 <th style="text-align:left;">branch</th>
91eb605022f5 hgweb: adding branch names from inbranch template to atom feed
Aaron Jensen <ajensen@webmd.net>
parents: 21056
diff changeset
130 <td>stable</td>
91eb605022f5 hgweb: adding branch names from inbranch template to atom feed
Aaron Jensen <ajensen@webmd.net>
parents: 21056
diff changeset
131 </tr>
91eb605022f5 hgweb: adding branch names from inbranch template to atom feed
Aaron Jensen <ajensen@webmd.net>
parents: 21056
diff changeset
132 <tr>
91eb605022f5 hgweb: adding branch names from inbranch template to atom feed
Aaron Jensen <ajensen@webmd.net>
parents: 21056
diff changeset
133 <th style="text-align:left;">bookmark</th>
21056
d70703954a2a hgweb: adding branch, tags, bookmarks, user, and file list to atom feed entries
Aaron Jensen <ajensen@webmd.net>
parents: 20256
diff changeset
134 <td></td>
d70703954a2a hgweb: adding branch, tags, bookmarks, user, and file list to atom feed entries
Aaron Jensen <ajensen@webmd.net>
parents: 20256
diff changeset
135 </tr>
d70703954a2a hgweb: adding branch, tags, bookmarks, user, and file list to atom feed entries
Aaron Jensen <ajensen@webmd.net>
parents: 20256
diff changeset
136 <tr>
d70703954a2a hgweb: adding branch, tags, bookmarks, user, and file list to atom feed entries
Aaron Jensen <ajensen@webmd.net>
parents: 20256
diff changeset
137 <th style="text-align:left;">tag</th>
d70703954a2a hgweb: adding branch, tags, bookmarks, user, and file list to atom feed entries
Aaron Jensen <ajensen@webmd.net>
parents: 20256
diff changeset
138 <td></td>
d70703954a2a hgweb: adding branch, tags, bookmarks, user, and file list to atom feed entries
Aaron Jensen <ajensen@webmd.net>
parents: 20256
diff changeset
139 </tr>
d70703954a2a hgweb: adding branch, tags, bookmarks, user, and file list to atom feed entries
Aaron Jensen <ajensen@webmd.net>
parents: 20256
diff changeset
140 <tr>
d70703954a2a hgweb: adding branch, tags, bookmarks, user, and file list to atom feed entries
Aaron Jensen <ajensen@webmd.net>
parents: 20256
diff changeset
141 <th style="text-align:left;">user</th>
d70703954a2a hgweb: adding branch, tags, bookmarks, user, and file list to atom feed entries
Aaron Jensen <ajensen@webmd.net>
parents: 20256
diff changeset
142 <td>&#116;&#101;&#115;&#116;</td>
d70703954a2a hgweb: adding branch, tags, bookmarks, user, and file list to atom feed entries
Aaron Jensen <ajensen@webmd.net>
parents: 20256
diff changeset
143 </tr>
d70703954a2a hgweb: adding branch, tags, bookmarks, user, and file list to atom feed entries
Aaron Jensen <ajensen@webmd.net>
parents: 20256
diff changeset
144 <tr>
d70703954a2a hgweb: adding branch, tags, bookmarks, user, and file list to atom feed entries
Aaron Jensen <ajensen@webmd.net>
parents: 20256
diff changeset
145 <th style="text-align:left;vertical-align:top;">description</th>
21486
16352b34e32e hgweb: apply websub filter to the changeset description in rss and atom feeds
Steven Brown <StevenGBrown@gmail.com>
parents: 21485
diff changeset
146 <td>branch(websub)</td>
21056
d70703954a2a hgweb: adding branch, tags, bookmarks, user, and file list to atom feed entries
Aaron Jensen <ajensen@webmd.net>
parents: 20256
diff changeset
147 </tr>
d70703954a2a hgweb: adding branch, tags, bookmarks, user, and file list to atom feed entries
Aaron Jensen <ajensen@webmd.net>
parents: 20256
diff changeset
148 <tr>
d70703954a2a hgweb: adding branch, tags, bookmarks, user, and file list to atom feed entries
Aaron Jensen <ajensen@webmd.net>
parents: 20256
diff changeset
149 <th style="text-align:left;vertical-align:top;">files</th>
d70703954a2a hgweb: adding branch, tags, bookmarks, user, and file list to atom feed entries
Aaron Jensen <ajensen@webmd.net>
parents: 20256
diff changeset
150 <td>foo<br /></td>
d70703954a2a hgweb: adding branch, tags, bookmarks, user, and file list to atom feed entries
Aaron Jensen <ajensen@webmd.net>
parents: 20256
diff changeset
151 </tr>
d70703954a2a hgweb: adding branch, tags, bookmarks, user, and file list to atom feed entries
Aaron Jensen <ajensen@webmd.net>
parents: 20256
diff changeset
152 </table>
12433
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
153 </content>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
154 </entry>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
155 <entry>
21056
d70703954a2a hgweb: adding branch, tags, bookmarks, user, and file list to atom feed entries
Aaron Jensen <ajensen@webmd.net>
parents: 20256
diff changeset
156 <title>[default] 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
157 <id>http://*:$HGPORT/#changeset-a4f92ed23982be056b9852de5dfe873eaac7f0de</id> (glob)
d08bb64888bc tests: reintroduce ":$HGPORT" in test output
Mads Kiilerich <mads@kiilerich.com>
parents: 12433
diff changeset
158 <link href="http://*:$HGPORT/rev/a4f92ed23982"/> (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">
21056
d70703954a2a hgweb: adding branch, tags, bookmarks, user, and file list to atom feed entries
Aaron Jensen <ajensen@webmd.net>
parents: 20256
diff changeset
166 <table xmlns="http://www.w3.org/1999/xhtml">
d70703954a2a hgweb: adding branch, tags, bookmarks, user, and file list to atom feed entries
Aaron Jensen <ajensen@webmd.net>
parents: 20256
diff changeset
167 <tr>
d70703954a2a hgweb: adding branch, tags, bookmarks, user, and file list to atom feed entries
Aaron Jensen <ajensen@webmd.net>
parents: 20256
diff changeset
168 <th style="text-align:left;">changeset</th>
d70703954a2a hgweb: adding branch, tags, bookmarks, user, and file list to atom feed entries
Aaron Jensen <ajensen@webmd.net>
parents: 20256
diff changeset
169 <td>a4f92ed23982</td>
21117
91eb605022f5 hgweb: adding branch names from inbranch template to atom feed
Aaron Jensen <ajensen@webmd.net>
parents: 21056
diff changeset
170 </tr>
91eb605022f5 hgweb: adding branch names from inbranch template to atom feed
Aaron Jensen <ajensen@webmd.net>
parents: 21056
diff changeset
171 <tr>
91eb605022f5 hgweb: adding branch names from inbranch template to atom feed
Aaron Jensen <ajensen@webmd.net>
parents: 21056
diff changeset
172 <th style="text-align:left;">branch</th>
91eb605022f5 hgweb: adding branch names from inbranch template to atom feed
Aaron Jensen <ajensen@webmd.net>
parents: 21056
diff changeset
173 <td>default</td>
91eb605022f5 hgweb: adding branch names from inbranch template to atom feed
Aaron Jensen <ajensen@webmd.net>
parents: 21056
diff changeset
174 </tr>
91eb605022f5 hgweb: adding branch names from inbranch template to atom feed
Aaron Jensen <ajensen@webmd.net>
parents: 21056
diff changeset
175 <tr>
91eb605022f5 hgweb: adding branch names from inbranch template to atom feed
Aaron Jensen <ajensen@webmd.net>
parents: 21056
diff changeset
176 <th style="text-align:left;">bookmark</th>
21056
d70703954a2a hgweb: adding branch, tags, bookmarks, user, and file list to atom feed entries
Aaron Jensen <ajensen@webmd.net>
parents: 20256
diff changeset
177 <td></td>
d70703954a2a hgweb: adding branch, tags, bookmarks, user, and file list to atom feed entries
Aaron Jensen <ajensen@webmd.net>
parents: 20256
diff changeset
178 </tr>
d70703954a2a hgweb: adding branch, tags, bookmarks, user, and file list to atom feed entries
Aaron Jensen <ajensen@webmd.net>
parents: 20256
diff changeset
179 <tr>
d70703954a2a hgweb: adding branch, tags, bookmarks, user, and file list to atom feed entries
Aaron Jensen <ajensen@webmd.net>
parents: 20256
diff changeset
180 <th style="text-align:left;">tag</th>
d70703954a2a hgweb: adding branch, tags, bookmarks, user, and file list to atom feed entries
Aaron Jensen <ajensen@webmd.net>
parents: 20256
diff changeset
181 <td></td>
d70703954a2a hgweb: adding branch, tags, bookmarks, user, and file list to atom feed entries
Aaron Jensen <ajensen@webmd.net>
parents: 20256
diff changeset
182 </tr>
d70703954a2a hgweb: adding branch, tags, bookmarks, user, and file list to atom feed entries
Aaron Jensen <ajensen@webmd.net>
parents: 20256
diff changeset
183 <tr>
d70703954a2a hgweb: adding branch, tags, bookmarks, user, and file list to atom feed entries
Aaron Jensen <ajensen@webmd.net>
parents: 20256
diff changeset
184 <th style="text-align:left;">user</th>
d70703954a2a hgweb: adding branch, tags, bookmarks, user, and file list to atom feed entries
Aaron Jensen <ajensen@webmd.net>
parents: 20256
diff changeset
185 <td>&#116;&#101;&#115;&#116;</td>
d70703954a2a hgweb: adding branch, tags, bookmarks, user, and file list to atom feed entries
Aaron Jensen <ajensen@webmd.net>
parents: 20256
diff changeset
186 </tr>
d70703954a2a hgweb: adding branch, tags, bookmarks, user, and file list to atom feed entries
Aaron Jensen <ajensen@webmd.net>
parents: 20256
diff changeset
187 <tr>
d70703954a2a hgweb: adding branch, tags, bookmarks, user, and file list to atom feed entries
Aaron Jensen <ajensen@webmd.net>
parents: 20256
diff changeset
188 <th style="text-align:left;vertical-align:top;">description</th>
21486
16352b34e32e hgweb: apply websub filter to the changeset description in rss and atom feeds
Steven Brown <StevenGBrown@gmail.com>
parents: 21485
diff changeset
189 <td>Added tag 1.0 for changeset 2ef0ac749a14(websub)</td>
21056
d70703954a2a hgweb: adding branch, tags, bookmarks, user, and file list to atom feed entries
Aaron Jensen <ajensen@webmd.net>
parents: 20256
diff changeset
190 </tr>
d70703954a2a hgweb: adding branch, tags, bookmarks, user, and file list to atom feed entries
Aaron Jensen <ajensen@webmd.net>
parents: 20256
diff changeset
191 <tr>
d70703954a2a hgweb: adding branch, tags, bookmarks, user, and file list to atom feed entries
Aaron Jensen <ajensen@webmd.net>
parents: 20256
diff changeset
192 <th style="text-align:left;vertical-align:top;">files</th>
d70703954a2a hgweb: adding branch, tags, bookmarks, user, and file list to atom feed entries
Aaron Jensen <ajensen@webmd.net>
parents: 20256
diff changeset
193 <td>.hgtags<br /></td>
d70703954a2a hgweb: adding branch, tags, bookmarks, user, and file list to atom feed entries
Aaron Jensen <ajensen@webmd.net>
parents: 20256
diff changeset
194 </tr>
d70703954a2a hgweb: adding branch, tags, bookmarks, user, and file list to atom feed entries
Aaron Jensen <ajensen@webmd.net>
parents: 20256
diff changeset
195 </table>
12433
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
196 </content>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
197 </entry>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
198 <entry>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
199 <title>base</title>
12643
d08bb64888bc tests: reintroduce ":$HGPORT" in test output
Mads Kiilerich <mads@kiilerich.com>
parents: 12433
diff changeset
200 <id>http://*:$HGPORT/#changeset-2ef0ac749a14e4f57a5a822464a0902c6f7f448f</id> (glob)
d08bb64888bc tests: reintroduce ":$HGPORT" in test output
Mads Kiilerich <mads@kiilerich.com>
parents: 12433
diff changeset
201 <link href="http://*:$HGPORT/rev/2ef0ac749a14"/> (glob)
12433
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
202 <author>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
203 <name>test</name>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
204 <email>&#116;&#101;&#115;&#116;</email>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
205 </author>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
206 <updated>1970-01-01T00:00:00+00:00</updated>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
207 <published>1970-01-01T00:00:00+00:00</published>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
208 <content type="xhtml">
21056
d70703954a2a hgweb: adding branch, tags, bookmarks, user, and file list to atom feed entries
Aaron Jensen <ajensen@webmd.net>
parents: 20256
diff changeset
209 <table xmlns="http://www.w3.org/1999/xhtml">
d70703954a2a hgweb: adding branch, tags, bookmarks, user, and file list to atom feed entries
Aaron Jensen <ajensen@webmd.net>
parents: 20256
diff changeset
210 <tr>
d70703954a2a hgweb: adding branch, tags, bookmarks, user, and file list to atom feed entries
Aaron Jensen <ajensen@webmd.net>
parents: 20256
diff changeset
211 <th style="text-align:left;">changeset</th>
d70703954a2a hgweb: adding branch, tags, bookmarks, user, and file list to atom feed entries
Aaron Jensen <ajensen@webmd.net>
parents: 20256
diff changeset
212 <td>2ef0ac749a14</td>
21117
91eb605022f5 hgweb: adding branch names from inbranch template to atom feed
Aaron Jensen <ajensen@webmd.net>
parents: 21056
diff changeset
213 </tr>
91eb605022f5 hgweb: adding branch names from inbranch template to atom feed
Aaron Jensen <ajensen@webmd.net>
parents: 21056
diff changeset
214 <tr>
91eb605022f5 hgweb: adding branch names from inbranch template to atom feed
Aaron Jensen <ajensen@webmd.net>
parents: 21056
diff changeset
215 <th style="text-align:left;">branch</th>
91eb605022f5 hgweb: adding branch names from inbranch template to atom feed
Aaron Jensen <ajensen@webmd.net>
parents: 21056
diff changeset
216 <td></td>
91eb605022f5 hgweb: adding branch names from inbranch template to atom feed
Aaron Jensen <ajensen@webmd.net>
parents: 21056
diff changeset
217 </tr>
91eb605022f5 hgweb: adding branch names from inbranch template to atom feed
Aaron Jensen <ajensen@webmd.net>
parents: 21056
diff changeset
218 <tr>
91eb605022f5 hgweb: adding branch names from inbranch template to atom feed
Aaron Jensen <ajensen@webmd.net>
parents: 21056
diff changeset
219 <th style="text-align:left;">bookmark</th>
21056
d70703954a2a hgweb: adding branch, tags, bookmarks, user, and file list to atom feed entries
Aaron Jensen <ajensen@webmd.net>
parents: 20256
diff changeset
220 <td>anotherthing</td>
d70703954a2a hgweb: adding branch, tags, bookmarks, user, and file list to atom feed entries
Aaron Jensen <ajensen@webmd.net>
parents: 20256
diff changeset
221 </tr>
d70703954a2a hgweb: adding branch, tags, bookmarks, user, and file list to atom feed entries
Aaron Jensen <ajensen@webmd.net>
parents: 20256
diff changeset
222 <tr>
d70703954a2a hgweb: adding branch, tags, bookmarks, user, and file list to atom feed entries
Aaron Jensen <ajensen@webmd.net>
parents: 20256
diff changeset
223 <th style="text-align:left;">tag</th>
d70703954a2a hgweb: adding branch, tags, bookmarks, user, and file list to atom feed entries
Aaron Jensen <ajensen@webmd.net>
parents: 20256
diff changeset
224 <td>1.0</td>
d70703954a2a hgweb: adding branch, tags, bookmarks, user, and file list to atom feed entries
Aaron Jensen <ajensen@webmd.net>
parents: 20256
diff changeset
225 </tr>
d70703954a2a hgweb: adding branch, tags, bookmarks, user, and file list to atom feed entries
Aaron Jensen <ajensen@webmd.net>
parents: 20256
diff changeset
226 <tr>
d70703954a2a hgweb: adding branch, tags, bookmarks, user, and file list to atom feed entries
Aaron Jensen <ajensen@webmd.net>
parents: 20256
diff changeset
227 <th style="text-align:left;">user</th>
d70703954a2a hgweb: adding branch, tags, bookmarks, user, and file list to atom feed entries
Aaron Jensen <ajensen@webmd.net>
parents: 20256
diff changeset
228 <td>&#116;&#101;&#115;&#116;</td>
d70703954a2a hgweb: adding branch, tags, bookmarks, user, and file list to atom feed entries
Aaron Jensen <ajensen@webmd.net>
parents: 20256
diff changeset
229 </tr>
d70703954a2a hgweb: adding branch, tags, bookmarks, user, and file list to atom feed entries
Aaron Jensen <ajensen@webmd.net>
parents: 20256
diff changeset
230 <tr>
d70703954a2a hgweb: adding branch, tags, bookmarks, user, and file list to atom feed entries
Aaron Jensen <ajensen@webmd.net>
parents: 20256
diff changeset
231 <th style="text-align:left;vertical-align:top;">description</th>
21486
16352b34e32e hgweb: apply websub filter to the changeset description in rss and atom feeds
Steven Brown <StevenGBrown@gmail.com>
parents: 21485
diff changeset
232 <td>base(websub)</td>
21056
d70703954a2a hgweb: adding branch, tags, bookmarks, user, and file list to atom feed entries
Aaron Jensen <ajensen@webmd.net>
parents: 20256
diff changeset
233 </tr>
d70703954a2a hgweb: adding branch, tags, bookmarks, user, and file list to atom feed entries
Aaron Jensen <ajensen@webmd.net>
parents: 20256
diff changeset
234 <tr>
d70703954a2a hgweb: adding branch, tags, bookmarks, user, and file list to atom feed entries
Aaron Jensen <ajensen@webmd.net>
parents: 20256
diff changeset
235 <th style="text-align:left;vertical-align:top;">files</th>
d70703954a2a hgweb: adding branch, tags, bookmarks, user, and file list to atom feed entries
Aaron Jensen <ajensen@webmd.net>
parents: 20256
diff changeset
236 <td>da/foo<br />foo<br /></td>
d70703954a2a hgweb: adding branch, tags, bookmarks, user, and file list to atom feed entries
Aaron Jensen <ajensen@webmd.net>
parents: 20256
diff changeset
237 </tr>
d70703954a2a hgweb: adding branch, tags, bookmarks, user, and file list to atom feed entries
Aaron Jensen <ajensen@webmd.net>
parents: 20256
diff changeset
238 </table>
12433
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
239 </content>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
240 </entry>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
241
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
242 </feed>
21484
96cdf2e3dbef tests: tests for the rss feeds
Steven Brown <StevenGBrown@gmail.com>
parents: 21124
diff changeset
243 $ "$TESTDIR/get-with-headers.py" 127.0.0.1:$HGPORT 'log/?style=rss'
96cdf2e3dbef tests: tests for the rss feeds
Steven Brown <StevenGBrown@gmail.com>
parents: 21124
diff changeset
244 200 Script output follows
96cdf2e3dbef tests: tests for the rss feeds
Steven Brown <StevenGBrown@gmail.com>
parents: 21124
diff changeset
245
96cdf2e3dbef tests: tests for the rss feeds
Steven Brown <StevenGBrown@gmail.com>
parents: 21124
diff changeset
246 <?xml version="1.0" encoding="ascii"?>
96cdf2e3dbef tests: tests for the rss feeds
Steven Brown <StevenGBrown@gmail.com>
parents: 21124
diff changeset
247 <rss version="2.0">
96cdf2e3dbef tests: tests for the rss feeds
Steven Brown <StevenGBrown@gmail.com>
parents: 21124
diff changeset
248 <channel>
96cdf2e3dbef tests: tests for the rss feeds
Steven Brown <StevenGBrown@gmail.com>
parents: 21124
diff changeset
249 <link>http://*:$HGPORT/</link> (glob)
96cdf2e3dbef tests: tests for the rss feeds
Steven Brown <StevenGBrown@gmail.com>
parents: 21124
diff changeset
250 <language>en-us</language>
96cdf2e3dbef tests: tests for the rss feeds
Steven Brown <StevenGBrown@gmail.com>
parents: 21124
diff changeset
251
96cdf2e3dbef tests: tests for the rss feeds
Steven Brown <StevenGBrown@gmail.com>
parents: 21124
diff changeset
252 <title>test Changelog</title>
96cdf2e3dbef tests: tests for the rss feeds
Steven Brown <StevenGBrown@gmail.com>
parents: 21124
diff changeset
253 <description>test Changelog</description>
96cdf2e3dbef tests: tests for the rss feeds
Steven Brown <StevenGBrown@gmail.com>
parents: 21124
diff changeset
254 <item>
96cdf2e3dbef tests: tests for the rss feeds
Steven Brown <StevenGBrown@gmail.com>
parents: 21124
diff changeset
255 <title>[unstable] branch commit with null character: </title>
96cdf2e3dbef tests: tests for the rss feeds
Steven Brown <StevenGBrown@gmail.com>
parents: 21124
diff changeset
256 <guid isPermaLink="true">http://*:$HGPORT/rev/cad8025a2e87</guid> (glob)
96cdf2e3dbef tests: tests for the rss feeds
Steven Brown <StevenGBrown@gmail.com>
parents: 21124
diff changeset
257 <link>http://*:$HGPORT/rev/cad8025a2e87</link> (glob)
96cdf2e3dbef tests: tests for the rss feeds
Steven Brown <StevenGBrown@gmail.com>
parents: 21124
diff changeset
258 <description>
96cdf2e3dbef tests: tests for the rss feeds
Steven Brown <StevenGBrown@gmail.com>
parents: 21124
diff changeset
259 <![CDATA[
96cdf2e3dbef tests: tests for the rss feeds
Steven Brown <StevenGBrown@gmail.com>
parents: 21124
diff changeset
260 <table>
96cdf2e3dbef tests: tests for the rss feeds
Steven Brown <StevenGBrown@gmail.com>
parents: 21124
diff changeset
261 <tr>
96cdf2e3dbef tests: tests for the rss feeds
Steven Brown <StevenGBrown@gmail.com>
parents: 21124
diff changeset
262 <th style="text-align:left;">changeset</th>
96cdf2e3dbef tests: tests for the rss feeds
Steven Brown <StevenGBrown@gmail.com>
parents: 21124
diff changeset
263 <td>cad8025a2e87</td>
96cdf2e3dbef tests: tests for the rss feeds
Steven Brown <StevenGBrown@gmail.com>
parents: 21124
diff changeset
264 </tr>
96cdf2e3dbef tests: tests for the rss feeds
Steven Brown <StevenGBrown@gmail.com>
parents: 21124
diff changeset
265 <tr>
96cdf2e3dbef tests: tests for the rss feeds
Steven Brown <StevenGBrown@gmail.com>
parents: 21124
diff changeset
266 <th style="text-align:left;">branch</th>
96cdf2e3dbef tests: tests for the rss feeds
Steven Brown <StevenGBrown@gmail.com>
parents: 21124
diff changeset
267 <td>unstable</td>
96cdf2e3dbef tests: tests for the rss feeds
Steven Brown <StevenGBrown@gmail.com>
parents: 21124
diff changeset
268 </tr>
96cdf2e3dbef tests: tests for the rss feeds
Steven Brown <StevenGBrown@gmail.com>
parents: 21124
diff changeset
269 <tr>
96cdf2e3dbef tests: tests for the rss feeds
Steven Brown <StevenGBrown@gmail.com>
parents: 21124
diff changeset
270 <th style="text-align:left;">bookmark</th>
96cdf2e3dbef tests: tests for the rss feeds
Steven Brown <StevenGBrown@gmail.com>
parents: 21124
diff changeset
271 <td>something</td>
96cdf2e3dbef tests: tests for the rss feeds
Steven Brown <StevenGBrown@gmail.com>
parents: 21124
diff changeset
272 </tr>
96cdf2e3dbef tests: tests for the rss feeds
Steven Brown <StevenGBrown@gmail.com>
parents: 21124
diff changeset
273 <tr>
96cdf2e3dbef tests: tests for the rss feeds
Steven Brown <StevenGBrown@gmail.com>
parents: 21124
diff changeset
274 <th style="text-align:left;">tag</th>
96cdf2e3dbef tests: tests for the rss feeds
Steven Brown <StevenGBrown@gmail.com>
parents: 21124
diff changeset
275 <td>tip</td>
96cdf2e3dbef tests: tests for the rss feeds
Steven Brown <StevenGBrown@gmail.com>
parents: 21124
diff changeset
276 </tr>
96cdf2e3dbef tests: tests for the rss feeds
Steven Brown <StevenGBrown@gmail.com>
parents: 21124
diff changeset
277 <tr>
96cdf2e3dbef tests: tests for the rss feeds
Steven Brown <StevenGBrown@gmail.com>
parents: 21124
diff changeset
278 <th style="text-align:left;vertical-align:top;">user</th>
96cdf2e3dbef tests: tests for the rss feeds
Steven Brown <StevenGBrown@gmail.com>
parents: 21124
diff changeset
279 <td>&#116;&#101;&#115;&#116;</td>
96cdf2e3dbef tests: tests for the rss feeds
Steven Brown <StevenGBrown@gmail.com>
parents: 21124
diff changeset
280 </tr>
96cdf2e3dbef tests: tests for the rss feeds
Steven Brown <StevenGBrown@gmail.com>
parents: 21124
diff changeset
281 <tr>
96cdf2e3dbef tests: tests for the rss feeds
Steven Brown <StevenGBrown@gmail.com>
parents: 21124
diff changeset
282 <th style="text-align:left;vertical-align:top;">description</th>
21486
16352b34e32e hgweb: apply websub filter to the changeset description in rss and atom feeds
Steven Brown <StevenGBrown@gmail.com>
parents: 21485
diff changeset
283 <td>branch commit with null character: (websub)</td>
21484
96cdf2e3dbef tests: tests for the rss feeds
Steven Brown <StevenGBrown@gmail.com>
parents: 21124
diff changeset
284 </tr>
96cdf2e3dbef tests: tests for the rss feeds
Steven Brown <StevenGBrown@gmail.com>
parents: 21124
diff changeset
285 <tr>
96cdf2e3dbef tests: tests for the rss feeds
Steven Brown <StevenGBrown@gmail.com>
parents: 21124
diff changeset
286 <th style="text-align:left;vertical-align:top;">files</th>
96cdf2e3dbef tests: tests for the rss feeds
Steven Brown <StevenGBrown@gmail.com>
parents: 21124
diff changeset
287 <td></td>
96cdf2e3dbef tests: tests for the rss feeds
Steven Brown <StevenGBrown@gmail.com>
parents: 21124
diff changeset
288 </tr>
96cdf2e3dbef tests: tests for the rss feeds
Steven Brown <StevenGBrown@gmail.com>
parents: 21124
diff changeset
289 </table>
96cdf2e3dbef tests: tests for the rss feeds
Steven Brown <StevenGBrown@gmail.com>
parents: 21124
diff changeset
290 ]]></description>
96cdf2e3dbef tests: tests for the rss feeds
Steven Brown <StevenGBrown@gmail.com>
parents: 21124
diff changeset
291 <author>&#116;&#101;&#115;&#116;</author>
96cdf2e3dbef tests: tests for the rss feeds
Steven Brown <StevenGBrown@gmail.com>
parents: 21124
diff changeset
292 <pubDate>Thu, 01 Jan 1970 00:00:00 +0000</pubDate>
96cdf2e3dbef tests: tests for the rss feeds
Steven Brown <StevenGBrown@gmail.com>
parents: 21124
diff changeset
293 </item>
96cdf2e3dbef tests: tests for the rss feeds
Steven Brown <StevenGBrown@gmail.com>
parents: 21124
diff changeset
294 <item>
96cdf2e3dbef tests: tests for the rss feeds
Steven Brown <StevenGBrown@gmail.com>
parents: 21124
diff changeset
295 <title>[stable] branch</title>
96cdf2e3dbef tests: tests for the rss feeds
Steven Brown <StevenGBrown@gmail.com>
parents: 21124
diff changeset
296 <guid isPermaLink="true">http://*:$HGPORT/rev/1d22e65f027e</guid> (glob)
96cdf2e3dbef tests: tests for the rss feeds
Steven Brown <StevenGBrown@gmail.com>
parents: 21124
diff changeset
297 <link>http://*:$HGPORT/rev/1d22e65f027e</link> (glob)
96cdf2e3dbef tests: tests for the rss feeds
Steven Brown <StevenGBrown@gmail.com>
parents: 21124
diff changeset
298 <description>
96cdf2e3dbef tests: tests for the rss feeds
Steven Brown <StevenGBrown@gmail.com>
parents: 21124
diff changeset
299 <![CDATA[
96cdf2e3dbef tests: tests for the rss feeds
Steven Brown <StevenGBrown@gmail.com>
parents: 21124
diff changeset
300 <table>
96cdf2e3dbef tests: tests for the rss feeds
Steven Brown <StevenGBrown@gmail.com>
parents: 21124
diff changeset
301 <tr>
96cdf2e3dbef tests: tests for the rss feeds
Steven Brown <StevenGBrown@gmail.com>
parents: 21124
diff changeset
302 <th style="text-align:left;">changeset</th>
96cdf2e3dbef tests: tests for the rss feeds
Steven Brown <StevenGBrown@gmail.com>
parents: 21124
diff changeset
303 <td>1d22e65f027e</td>
96cdf2e3dbef tests: tests for the rss feeds
Steven Brown <StevenGBrown@gmail.com>
parents: 21124
diff changeset
304 </tr>
96cdf2e3dbef tests: tests for the rss feeds
Steven Brown <StevenGBrown@gmail.com>
parents: 21124
diff changeset
305 <tr>
96cdf2e3dbef tests: tests for the rss feeds
Steven Brown <StevenGBrown@gmail.com>
parents: 21124
diff changeset
306 <th style="text-align:left;">branch</th>
96cdf2e3dbef tests: tests for the rss feeds
Steven Brown <StevenGBrown@gmail.com>
parents: 21124
diff changeset
307 <td>stable</td>
96cdf2e3dbef tests: tests for the rss feeds
Steven Brown <StevenGBrown@gmail.com>
parents: 21124
diff changeset
308 </tr>
96cdf2e3dbef tests: tests for the rss feeds
Steven Brown <StevenGBrown@gmail.com>
parents: 21124
diff changeset
309 <tr>
96cdf2e3dbef tests: tests for the rss feeds
Steven Brown <StevenGBrown@gmail.com>
parents: 21124
diff changeset
310 <th style="text-align:left;">bookmark</th>
96cdf2e3dbef tests: tests for the rss feeds
Steven Brown <StevenGBrown@gmail.com>
parents: 21124
diff changeset
311 <td></td>
96cdf2e3dbef tests: tests for the rss feeds
Steven Brown <StevenGBrown@gmail.com>
parents: 21124
diff changeset
312 </tr>
96cdf2e3dbef tests: tests for the rss feeds
Steven Brown <StevenGBrown@gmail.com>
parents: 21124
diff changeset
313 <tr>
96cdf2e3dbef tests: tests for the rss feeds
Steven Brown <StevenGBrown@gmail.com>
parents: 21124
diff changeset
314 <th style="text-align:left;">tag</th>
96cdf2e3dbef tests: tests for the rss feeds
Steven Brown <StevenGBrown@gmail.com>
parents: 21124
diff changeset
315 <td></td>
96cdf2e3dbef tests: tests for the rss feeds
Steven Brown <StevenGBrown@gmail.com>
parents: 21124
diff changeset
316 </tr>
96cdf2e3dbef tests: tests for the rss feeds
Steven Brown <StevenGBrown@gmail.com>
parents: 21124
diff changeset
317 <tr>
96cdf2e3dbef tests: tests for the rss feeds
Steven Brown <StevenGBrown@gmail.com>
parents: 21124
diff changeset
318 <th style="text-align:left;vertical-align:top;">user</th>
96cdf2e3dbef tests: tests for the rss feeds
Steven Brown <StevenGBrown@gmail.com>
parents: 21124
diff changeset
319 <td>&#116;&#101;&#115;&#116;</td>
96cdf2e3dbef tests: tests for the rss feeds
Steven Brown <StevenGBrown@gmail.com>
parents: 21124
diff changeset
320 </tr>
96cdf2e3dbef tests: tests for the rss feeds
Steven Brown <StevenGBrown@gmail.com>
parents: 21124
diff changeset
321 <tr>
96cdf2e3dbef tests: tests for the rss feeds
Steven Brown <StevenGBrown@gmail.com>
parents: 21124
diff changeset
322 <th style="text-align:left;vertical-align:top;">description</th>
21486
16352b34e32e hgweb: apply websub filter to the changeset description in rss and atom feeds
Steven Brown <StevenGBrown@gmail.com>
parents: 21485
diff changeset
323 <td>branch(websub)</td>
21484
96cdf2e3dbef tests: tests for the rss feeds
Steven Brown <StevenGBrown@gmail.com>
parents: 21124
diff changeset
324 </tr>
96cdf2e3dbef tests: tests for the rss feeds
Steven Brown <StevenGBrown@gmail.com>
parents: 21124
diff changeset
325 <tr>
96cdf2e3dbef tests: tests for the rss feeds
Steven Brown <StevenGBrown@gmail.com>
parents: 21124
diff changeset
326 <th style="text-align:left;vertical-align:top;">files</th>
96cdf2e3dbef tests: tests for the rss feeds
Steven Brown <StevenGBrown@gmail.com>
parents: 21124
diff changeset
327 <td>foo<br /></td>
96cdf2e3dbef tests: tests for the rss feeds
Steven Brown <StevenGBrown@gmail.com>
parents: 21124
diff changeset
328 </tr>
96cdf2e3dbef tests: tests for the rss feeds
Steven Brown <StevenGBrown@gmail.com>
parents: 21124
diff changeset
329 </table>
96cdf2e3dbef tests: tests for the rss feeds
Steven Brown <StevenGBrown@gmail.com>
parents: 21124
diff changeset
330 ]]></description>
96cdf2e3dbef tests: tests for the rss feeds
Steven Brown <StevenGBrown@gmail.com>
parents: 21124
diff changeset
331 <author>&#116;&#101;&#115;&#116;</author>
96cdf2e3dbef tests: tests for the rss feeds
Steven Brown <StevenGBrown@gmail.com>
parents: 21124
diff changeset
332 <pubDate>Thu, 01 Jan 1970 00:00:00 +0000</pubDate>
96cdf2e3dbef tests: tests for the rss feeds
Steven Brown <StevenGBrown@gmail.com>
parents: 21124
diff changeset
333 </item>
96cdf2e3dbef tests: tests for the rss feeds
Steven Brown <StevenGBrown@gmail.com>
parents: 21124
diff changeset
334 <item>
96cdf2e3dbef tests: tests for the rss feeds
Steven Brown <StevenGBrown@gmail.com>
parents: 21124
diff changeset
335 <title>[default] Added tag 1.0 for changeset 2ef0ac749a14</title>
96cdf2e3dbef tests: tests for the rss feeds
Steven Brown <StevenGBrown@gmail.com>
parents: 21124
diff changeset
336 <guid isPermaLink="true">http://*:$HGPORT/rev/a4f92ed23982</guid> (glob)
96cdf2e3dbef tests: tests for the rss feeds
Steven Brown <StevenGBrown@gmail.com>
parents: 21124
diff changeset
337 <link>http://*:$HGPORT/rev/a4f92ed23982</link> (glob)
96cdf2e3dbef tests: tests for the rss feeds
Steven Brown <StevenGBrown@gmail.com>
parents: 21124
diff changeset
338 <description>
96cdf2e3dbef tests: tests for the rss feeds
Steven Brown <StevenGBrown@gmail.com>
parents: 21124
diff changeset
339 <![CDATA[
96cdf2e3dbef tests: tests for the rss feeds
Steven Brown <StevenGBrown@gmail.com>
parents: 21124
diff changeset
340 <table>
96cdf2e3dbef tests: tests for the rss feeds
Steven Brown <StevenGBrown@gmail.com>
parents: 21124
diff changeset
341 <tr>
96cdf2e3dbef tests: tests for the rss feeds
Steven Brown <StevenGBrown@gmail.com>
parents: 21124
diff changeset
342 <th style="text-align:left;">changeset</th>
96cdf2e3dbef tests: tests for the rss feeds
Steven Brown <StevenGBrown@gmail.com>
parents: 21124
diff changeset
343 <td>a4f92ed23982</td>
96cdf2e3dbef tests: tests for the rss feeds
Steven Brown <StevenGBrown@gmail.com>
parents: 21124
diff changeset
344 </tr>
96cdf2e3dbef tests: tests for the rss feeds
Steven Brown <StevenGBrown@gmail.com>
parents: 21124
diff changeset
345 <tr>
96cdf2e3dbef tests: tests for the rss feeds
Steven Brown <StevenGBrown@gmail.com>
parents: 21124
diff changeset
346 <th style="text-align:left;">branch</th>
96cdf2e3dbef tests: tests for the rss feeds
Steven Brown <StevenGBrown@gmail.com>
parents: 21124
diff changeset
347 <td>default</td>
96cdf2e3dbef tests: tests for the rss feeds
Steven Brown <StevenGBrown@gmail.com>
parents: 21124
diff changeset
348 </tr>
96cdf2e3dbef tests: tests for the rss feeds
Steven Brown <StevenGBrown@gmail.com>
parents: 21124
diff changeset
349 <tr>
96cdf2e3dbef tests: tests for the rss feeds
Steven Brown <StevenGBrown@gmail.com>
parents: 21124
diff changeset
350 <th style="text-align:left;">bookmark</th>
96cdf2e3dbef tests: tests for the rss feeds
Steven Brown <StevenGBrown@gmail.com>
parents: 21124
diff changeset
351 <td></td>
96cdf2e3dbef tests: tests for the rss feeds
Steven Brown <StevenGBrown@gmail.com>
parents: 21124
diff changeset
352 </tr>
96cdf2e3dbef tests: tests for the rss feeds
Steven Brown <StevenGBrown@gmail.com>
parents: 21124
diff changeset
353 <tr>
96cdf2e3dbef tests: tests for the rss feeds
Steven Brown <StevenGBrown@gmail.com>
parents: 21124
diff changeset
354 <th style="text-align:left;">tag</th>
96cdf2e3dbef tests: tests for the rss feeds
Steven Brown <StevenGBrown@gmail.com>
parents: 21124
diff changeset
355 <td></td>
96cdf2e3dbef tests: tests for the rss feeds
Steven Brown <StevenGBrown@gmail.com>
parents: 21124
diff changeset
356 </tr>
96cdf2e3dbef tests: tests for the rss feeds
Steven Brown <StevenGBrown@gmail.com>
parents: 21124
diff changeset
357 <tr>
96cdf2e3dbef tests: tests for the rss feeds
Steven Brown <StevenGBrown@gmail.com>
parents: 21124
diff changeset
358 <th style="text-align:left;vertical-align:top;">user</th>
96cdf2e3dbef tests: tests for the rss feeds
Steven Brown <StevenGBrown@gmail.com>
parents: 21124
diff changeset
359 <td>&#116;&#101;&#115;&#116;</td>
96cdf2e3dbef tests: tests for the rss feeds
Steven Brown <StevenGBrown@gmail.com>
parents: 21124
diff changeset
360 </tr>
96cdf2e3dbef tests: tests for the rss feeds
Steven Brown <StevenGBrown@gmail.com>
parents: 21124
diff changeset
361 <tr>
96cdf2e3dbef tests: tests for the rss feeds
Steven Brown <StevenGBrown@gmail.com>
parents: 21124
diff changeset
362 <th style="text-align:left;vertical-align:top;">description</th>
21486
16352b34e32e hgweb: apply websub filter to the changeset description in rss and atom feeds
Steven Brown <StevenGBrown@gmail.com>
parents: 21485
diff changeset
363 <td>Added tag 1.0 for changeset 2ef0ac749a14(websub)</td>
21484
96cdf2e3dbef tests: tests for the rss feeds
Steven Brown <StevenGBrown@gmail.com>
parents: 21124
diff changeset
364 </tr>
96cdf2e3dbef tests: tests for the rss feeds
Steven Brown <StevenGBrown@gmail.com>
parents: 21124
diff changeset
365 <tr>
96cdf2e3dbef tests: tests for the rss feeds
Steven Brown <StevenGBrown@gmail.com>
parents: 21124
diff changeset
366 <th style="text-align:left;vertical-align:top;">files</th>
96cdf2e3dbef tests: tests for the rss feeds
Steven Brown <StevenGBrown@gmail.com>
parents: 21124
diff changeset
367 <td>.hgtags<br /></td>
96cdf2e3dbef tests: tests for the rss feeds
Steven Brown <StevenGBrown@gmail.com>
parents: 21124
diff changeset
368 </tr>
96cdf2e3dbef tests: tests for the rss feeds
Steven Brown <StevenGBrown@gmail.com>
parents: 21124
diff changeset
369 </table>
96cdf2e3dbef tests: tests for the rss feeds
Steven Brown <StevenGBrown@gmail.com>
parents: 21124
diff changeset
370 ]]></description>
96cdf2e3dbef tests: tests for the rss feeds
Steven Brown <StevenGBrown@gmail.com>
parents: 21124
diff changeset
371 <author>&#116;&#101;&#115;&#116;</author>
96cdf2e3dbef tests: tests for the rss feeds
Steven Brown <StevenGBrown@gmail.com>
parents: 21124
diff changeset
372 <pubDate>Thu, 01 Jan 1970 00:00:00 +0000</pubDate>
96cdf2e3dbef tests: tests for the rss feeds
Steven Brown <StevenGBrown@gmail.com>
parents: 21124
diff changeset
373 </item>
96cdf2e3dbef tests: tests for the rss feeds
Steven Brown <StevenGBrown@gmail.com>
parents: 21124
diff changeset
374 <item>
96cdf2e3dbef tests: tests for the rss feeds
Steven Brown <StevenGBrown@gmail.com>
parents: 21124
diff changeset
375 <title>base</title>
96cdf2e3dbef tests: tests for the rss feeds
Steven Brown <StevenGBrown@gmail.com>
parents: 21124
diff changeset
376 <guid isPermaLink="true">http://*:$HGPORT/rev/2ef0ac749a14</guid> (glob)
96cdf2e3dbef tests: tests for the rss feeds
Steven Brown <StevenGBrown@gmail.com>
parents: 21124
diff changeset
377 <link>http://*:$HGPORT/rev/2ef0ac749a14</link> (glob)
96cdf2e3dbef tests: tests for the rss feeds
Steven Brown <StevenGBrown@gmail.com>
parents: 21124
diff changeset
378 <description>
96cdf2e3dbef tests: tests for the rss feeds
Steven Brown <StevenGBrown@gmail.com>
parents: 21124
diff changeset
379 <![CDATA[
96cdf2e3dbef tests: tests for the rss feeds
Steven Brown <StevenGBrown@gmail.com>
parents: 21124
diff changeset
380 <table>
96cdf2e3dbef tests: tests for the rss feeds
Steven Brown <StevenGBrown@gmail.com>
parents: 21124
diff changeset
381 <tr>
96cdf2e3dbef tests: tests for the rss feeds
Steven Brown <StevenGBrown@gmail.com>
parents: 21124
diff changeset
382 <th style="text-align:left;">changeset</th>
96cdf2e3dbef tests: tests for the rss feeds
Steven Brown <StevenGBrown@gmail.com>
parents: 21124
diff changeset
383 <td>2ef0ac749a14</td>
96cdf2e3dbef tests: tests for the rss feeds
Steven Brown <StevenGBrown@gmail.com>
parents: 21124
diff changeset
384 </tr>
96cdf2e3dbef tests: tests for the rss feeds
Steven Brown <StevenGBrown@gmail.com>
parents: 21124
diff changeset
385 <tr>
96cdf2e3dbef tests: tests for the rss feeds
Steven Brown <StevenGBrown@gmail.com>
parents: 21124
diff changeset
386 <th style="text-align:left;">branch</th>
96cdf2e3dbef tests: tests for the rss feeds
Steven Brown <StevenGBrown@gmail.com>
parents: 21124
diff changeset
387 <td></td>
96cdf2e3dbef tests: tests for the rss feeds
Steven Brown <StevenGBrown@gmail.com>
parents: 21124
diff changeset
388 </tr>
96cdf2e3dbef tests: tests for the rss feeds
Steven Brown <StevenGBrown@gmail.com>
parents: 21124
diff changeset
389 <tr>
96cdf2e3dbef tests: tests for the rss feeds
Steven Brown <StevenGBrown@gmail.com>
parents: 21124
diff changeset
390 <th style="text-align:left;">bookmark</th>
96cdf2e3dbef tests: tests for the rss feeds
Steven Brown <StevenGBrown@gmail.com>
parents: 21124
diff changeset
391 <td>anotherthing</td>
96cdf2e3dbef tests: tests for the rss feeds
Steven Brown <StevenGBrown@gmail.com>
parents: 21124
diff changeset
392 </tr>
96cdf2e3dbef tests: tests for the rss feeds
Steven Brown <StevenGBrown@gmail.com>
parents: 21124
diff changeset
393 <tr>
96cdf2e3dbef tests: tests for the rss feeds
Steven Brown <StevenGBrown@gmail.com>
parents: 21124
diff changeset
394 <th style="text-align:left;">tag</th>
96cdf2e3dbef tests: tests for the rss feeds
Steven Brown <StevenGBrown@gmail.com>
parents: 21124
diff changeset
395 <td>1.0</td>
96cdf2e3dbef tests: tests for the rss feeds
Steven Brown <StevenGBrown@gmail.com>
parents: 21124
diff changeset
396 </tr>
96cdf2e3dbef tests: tests for the rss feeds
Steven Brown <StevenGBrown@gmail.com>
parents: 21124
diff changeset
397 <tr>
96cdf2e3dbef tests: tests for the rss feeds
Steven Brown <StevenGBrown@gmail.com>
parents: 21124
diff changeset
398 <th style="text-align:left;vertical-align:top;">user</th>
96cdf2e3dbef tests: tests for the rss feeds
Steven Brown <StevenGBrown@gmail.com>
parents: 21124
diff changeset
399 <td>&#116;&#101;&#115;&#116;</td>
96cdf2e3dbef tests: tests for the rss feeds
Steven Brown <StevenGBrown@gmail.com>
parents: 21124
diff changeset
400 </tr>
96cdf2e3dbef tests: tests for the rss feeds
Steven Brown <StevenGBrown@gmail.com>
parents: 21124
diff changeset
401 <tr>
96cdf2e3dbef tests: tests for the rss feeds
Steven Brown <StevenGBrown@gmail.com>
parents: 21124
diff changeset
402 <th style="text-align:left;vertical-align:top;">description</th>
21486
16352b34e32e hgweb: apply websub filter to the changeset description in rss and atom feeds
Steven Brown <StevenGBrown@gmail.com>
parents: 21485
diff changeset
403 <td>base(websub)</td>
21484
96cdf2e3dbef tests: tests for the rss feeds
Steven Brown <StevenGBrown@gmail.com>
parents: 21124
diff changeset
404 </tr>
96cdf2e3dbef tests: tests for the rss feeds
Steven Brown <StevenGBrown@gmail.com>
parents: 21124
diff changeset
405 <tr>
96cdf2e3dbef tests: tests for the rss feeds
Steven Brown <StevenGBrown@gmail.com>
parents: 21124
diff changeset
406 <th style="text-align:left;vertical-align:top;">files</th>
96cdf2e3dbef tests: tests for the rss feeds
Steven Brown <StevenGBrown@gmail.com>
parents: 21124
diff changeset
407 <td>da/foo<br />foo<br /></td>
96cdf2e3dbef tests: tests for the rss feeds
Steven Brown <StevenGBrown@gmail.com>
parents: 21124
diff changeset
408 </tr>
96cdf2e3dbef tests: tests for the rss feeds
Steven Brown <StevenGBrown@gmail.com>
parents: 21124
diff changeset
409 </table>
96cdf2e3dbef tests: tests for the rss feeds
Steven Brown <StevenGBrown@gmail.com>
parents: 21124
diff changeset
410 ]]></description>
96cdf2e3dbef tests: tests for the rss feeds
Steven Brown <StevenGBrown@gmail.com>
parents: 21124
diff changeset
411 <author>&#116;&#101;&#115;&#116;</author>
96cdf2e3dbef tests: tests for the rss feeds
Steven Brown <StevenGBrown@gmail.com>
parents: 21124
diff changeset
412 <pubDate>Thu, 01 Jan 1970 00:00:00 +0000</pubDate>
96cdf2e3dbef tests: tests for the rss feeds
Steven Brown <StevenGBrown@gmail.com>
parents: 21124
diff changeset
413 </item>
96cdf2e3dbef tests: tests for the rss feeds
Steven Brown <StevenGBrown@gmail.com>
parents: 21124
diff changeset
414
96cdf2e3dbef tests: tests for the rss feeds
Steven Brown <StevenGBrown@gmail.com>
parents: 21124
diff changeset
415 </channel>
96cdf2e3dbef tests: tests for the rss feeds
Steven Brown <StevenGBrown@gmail.com>
parents: 21124
diff changeset
416 </rss> (no-eol)
17017
953faba28e91 tests: prepare get-with-headers.py for MSYS
Mads Kiilerich <mads@kiilerich.com>
parents: 16913
diff changeset
417 $ "$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
418 200 Script output follows
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
419
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
420 <?xml version="1.0" encoding="ascii"?>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
421 <feed xmlns="http://www.w3.org/2005/Atom">
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
422 <!-- Changelog -->
12643
d08bb64888bc tests: reintroduce ":$HGPORT" in test output
Mads Kiilerich <mads@kiilerich.com>
parents: 12433
diff changeset
423 <id>http://*:$HGPORT/</id> (glob)
d08bb64888bc tests: reintroduce ":$HGPORT" in test output
Mads Kiilerich <mads@kiilerich.com>
parents: 12433
diff changeset
424 <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
425 <link rel="alternate" href="http://*:$HGPORT/"/> (glob)
12433
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
426 <title>test Changelog</title>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
427 <updated>1970-01-01T00:00:00+00:00</updated>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
428
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
429 <entry>
21056
d70703954a2a hgweb: adding branch, tags, bookmarks, user, and file list to atom feed entries
Aaron Jensen <ajensen@webmd.net>
parents: 20256
diff changeset
430 <title>[default] 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
431 <id>http://*:$HGPORT/#changeset-a4f92ed23982be056b9852de5dfe873eaac7f0de</id> (glob)
d08bb64888bc tests: reintroduce ":$HGPORT" in test output
Mads Kiilerich <mads@kiilerich.com>
parents: 12433
diff changeset
432 <link href="http://*:$HGPORT/rev/a4f92ed23982"/> (glob)
12433
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
433 <author>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
434 <name>test</name>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
435 <email>&#116;&#101;&#115;&#116;</email>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
436 </author>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
437 <updated>1970-01-01T00:00:00+00:00</updated>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
438 <published>1970-01-01T00:00:00+00:00</published>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
439 <content type="xhtml">
21056
d70703954a2a hgweb: adding branch, tags, bookmarks, user, and file list to atom feed entries
Aaron Jensen <ajensen@webmd.net>
parents: 20256
diff changeset
440 <table xmlns="http://www.w3.org/1999/xhtml">
d70703954a2a hgweb: adding branch, tags, bookmarks, user, and file list to atom feed entries
Aaron Jensen <ajensen@webmd.net>
parents: 20256
diff changeset
441 <tr>
d70703954a2a hgweb: adding branch, tags, bookmarks, user, and file list to atom feed entries
Aaron Jensen <ajensen@webmd.net>
parents: 20256
diff changeset
442 <th style="text-align:left;">changeset</th>
d70703954a2a hgweb: adding branch, tags, bookmarks, user, and file list to atom feed entries
Aaron Jensen <ajensen@webmd.net>
parents: 20256
diff changeset
443 <td>a4f92ed23982</td>
21117
91eb605022f5 hgweb: adding branch names from inbranch template to atom feed
Aaron Jensen <ajensen@webmd.net>
parents: 21056
diff changeset
444 </tr>
91eb605022f5 hgweb: adding branch names from inbranch template to atom feed
Aaron Jensen <ajensen@webmd.net>
parents: 21056
diff changeset
445 <tr>
91eb605022f5 hgweb: adding branch names from inbranch template to atom feed
Aaron Jensen <ajensen@webmd.net>
parents: 21056
diff changeset
446 <th style="text-align:left;">branch</th>
91eb605022f5 hgweb: adding branch names from inbranch template to atom feed
Aaron Jensen <ajensen@webmd.net>
parents: 21056
diff changeset
447 <td>default</td>
91eb605022f5 hgweb: adding branch names from inbranch template to atom feed
Aaron Jensen <ajensen@webmd.net>
parents: 21056
diff changeset
448 </tr>
91eb605022f5 hgweb: adding branch names from inbranch template to atom feed
Aaron Jensen <ajensen@webmd.net>
parents: 21056
diff changeset
449 <tr>
91eb605022f5 hgweb: adding branch names from inbranch template to atom feed
Aaron Jensen <ajensen@webmd.net>
parents: 21056
diff changeset
450 <th style="text-align:left;">bookmark</th>
21056
d70703954a2a hgweb: adding branch, tags, bookmarks, user, and file list to atom feed entries
Aaron Jensen <ajensen@webmd.net>
parents: 20256
diff changeset
451 <td></td>
d70703954a2a hgweb: adding branch, tags, bookmarks, user, and file list to atom feed entries
Aaron Jensen <ajensen@webmd.net>
parents: 20256
diff changeset
452 </tr>
d70703954a2a hgweb: adding branch, tags, bookmarks, user, and file list to atom feed entries
Aaron Jensen <ajensen@webmd.net>
parents: 20256
diff changeset
453 <tr>
d70703954a2a hgweb: adding branch, tags, bookmarks, user, and file list to atom feed entries
Aaron Jensen <ajensen@webmd.net>
parents: 20256
diff changeset
454 <th style="text-align:left;">tag</th>
d70703954a2a hgweb: adding branch, tags, bookmarks, user, and file list to atom feed entries
Aaron Jensen <ajensen@webmd.net>
parents: 20256
diff changeset
455 <td></td>
d70703954a2a hgweb: adding branch, tags, bookmarks, user, and file list to atom feed entries
Aaron Jensen <ajensen@webmd.net>
parents: 20256
diff changeset
456 </tr>
d70703954a2a hgweb: adding branch, tags, bookmarks, user, and file list to atom feed entries
Aaron Jensen <ajensen@webmd.net>
parents: 20256
diff changeset
457 <tr>
d70703954a2a hgweb: adding branch, tags, bookmarks, user, and file list to atom feed entries
Aaron Jensen <ajensen@webmd.net>
parents: 20256
diff changeset
458 <th style="text-align:left;">user</th>
d70703954a2a hgweb: adding branch, tags, bookmarks, user, and file list to atom feed entries
Aaron Jensen <ajensen@webmd.net>
parents: 20256
diff changeset
459 <td>&#116;&#101;&#115;&#116;</td>
d70703954a2a hgweb: adding branch, tags, bookmarks, user, and file list to atom feed entries
Aaron Jensen <ajensen@webmd.net>
parents: 20256
diff changeset
460 </tr>
d70703954a2a hgweb: adding branch, tags, bookmarks, user, and file list to atom feed entries
Aaron Jensen <ajensen@webmd.net>
parents: 20256
diff changeset
461 <tr>
d70703954a2a hgweb: adding branch, tags, bookmarks, user, and file list to atom feed entries
Aaron Jensen <ajensen@webmd.net>
parents: 20256
diff changeset
462 <th style="text-align:left;vertical-align:top;">description</th>
21486
16352b34e32e hgweb: apply websub filter to the changeset description in rss and atom feeds
Steven Brown <StevenGBrown@gmail.com>
parents: 21485
diff changeset
463 <td>Added tag 1.0 for changeset 2ef0ac749a14(websub)</td>
21056
d70703954a2a hgweb: adding branch, tags, bookmarks, user, and file list to atom feed entries
Aaron Jensen <ajensen@webmd.net>
parents: 20256
diff changeset
464 </tr>
d70703954a2a hgweb: adding branch, tags, bookmarks, user, and file list to atom feed entries
Aaron Jensen <ajensen@webmd.net>
parents: 20256
diff changeset
465 <tr>
d70703954a2a hgweb: adding branch, tags, bookmarks, user, and file list to atom feed entries
Aaron Jensen <ajensen@webmd.net>
parents: 20256
diff changeset
466 <th style="text-align:left;vertical-align:top;">files</th>
d70703954a2a hgweb: adding branch, tags, bookmarks, user, and file list to atom feed entries
Aaron Jensen <ajensen@webmd.net>
parents: 20256
diff changeset
467 <td>.hgtags<br /></td>
d70703954a2a hgweb: adding branch, tags, bookmarks, user, and file list to atom feed entries
Aaron Jensen <ajensen@webmd.net>
parents: 20256
diff changeset
468 </tr>
d70703954a2a hgweb: adding branch, tags, bookmarks, user, and file list to atom feed entries
Aaron Jensen <ajensen@webmd.net>
parents: 20256
diff changeset
469 </table>
12433
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
470 </content>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
471 </entry>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
472 <entry>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
473 <title>base</title>
12643
d08bb64888bc tests: reintroduce ":$HGPORT" in test output
Mads Kiilerich <mads@kiilerich.com>
parents: 12433
diff changeset
474 <id>http://*:$HGPORT/#changeset-2ef0ac749a14e4f57a5a822464a0902c6f7f448f</id> (glob)
d08bb64888bc tests: reintroduce ":$HGPORT" in test output
Mads Kiilerich <mads@kiilerich.com>
parents: 12433
diff changeset
475 <link href="http://*:$HGPORT/rev/2ef0ac749a14"/> (glob)
12433
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
476 <author>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
477 <name>test</name>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
478 <email>&#116;&#101;&#115;&#116;</email>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
479 </author>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
480 <updated>1970-01-01T00:00:00+00:00</updated>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
481 <published>1970-01-01T00:00:00+00:00</published>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
482 <content type="xhtml">
21056
d70703954a2a hgweb: adding branch, tags, bookmarks, user, and file list to atom feed entries
Aaron Jensen <ajensen@webmd.net>
parents: 20256
diff changeset
483 <table xmlns="http://www.w3.org/1999/xhtml">
d70703954a2a hgweb: adding branch, tags, bookmarks, user, and file list to atom feed entries
Aaron Jensen <ajensen@webmd.net>
parents: 20256
diff changeset
484 <tr>
d70703954a2a hgweb: adding branch, tags, bookmarks, user, and file list to atom feed entries
Aaron Jensen <ajensen@webmd.net>
parents: 20256
diff changeset
485 <th style="text-align:left;">changeset</th>
d70703954a2a hgweb: adding branch, tags, bookmarks, user, and file list to atom feed entries
Aaron Jensen <ajensen@webmd.net>
parents: 20256
diff changeset
486 <td>2ef0ac749a14</td>
21117
91eb605022f5 hgweb: adding branch names from inbranch template to atom feed
Aaron Jensen <ajensen@webmd.net>
parents: 21056
diff changeset
487 </tr>
91eb605022f5 hgweb: adding branch names from inbranch template to atom feed
Aaron Jensen <ajensen@webmd.net>
parents: 21056
diff changeset
488 <tr>
91eb605022f5 hgweb: adding branch names from inbranch template to atom feed
Aaron Jensen <ajensen@webmd.net>
parents: 21056
diff changeset
489 <th style="text-align:left;">branch</th>
91eb605022f5 hgweb: adding branch names from inbranch template to atom feed
Aaron Jensen <ajensen@webmd.net>
parents: 21056
diff changeset
490 <td></td>
91eb605022f5 hgweb: adding branch names from inbranch template to atom feed
Aaron Jensen <ajensen@webmd.net>
parents: 21056
diff changeset
491 </tr>
91eb605022f5 hgweb: adding branch names from inbranch template to atom feed
Aaron Jensen <ajensen@webmd.net>
parents: 21056
diff changeset
492 <tr>
91eb605022f5 hgweb: adding branch names from inbranch template to atom feed
Aaron Jensen <ajensen@webmd.net>
parents: 21056
diff changeset
493 <th style="text-align:left;">bookmark</th>
21056
d70703954a2a hgweb: adding branch, tags, bookmarks, user, and file list to atom feed entries
Aaron Jensen <ajensen@webmd.net>
parents: 20256
diff changeset
494 <td>anotherthing</td>
d70703954a2a hgweb: adding branch, tags, bookmarks, user, and file list to atom feed entries
Aaron Jensen <ajensen@webmd.net>
parents: 20256
diff changeset
495 </tr>
d70703954a2a hgweb: adding branch, tags, bookmarks, user, and file list to atom feed entries
Aaron Jensen <ajensen@webmd.net>
parents: 20256
diff changeset
496 <tr>
d70703954a2a hgweb: adding branch, tags, bookmarks, user, and file list to atom feed entries
Aaron Jensen <ajensen@webmd.net>
parents: 20256
diff changeset
497 <th style="text-align:left;">tag</th>
d70703954a2a hgweb: adding branch, tags, bookmarks, user, and file list to atom feed entries
Aaron Jensen <ajensen@webmd.net>
parents: 20256
diff changeset
498 <td>1.0</td>
d70703954a2a hgweb: adding branch, tags, bookmarks, user, and file list to atom feed entries
Aaron Jensen <ajensen@webmd.net>
parents: 20256
diff changeset
499 </tr>
d70703954a2a hgweb: adding branch, tags, bookmarks, user, and file list to atom feed entries
Aaron Jensen <ajensen@webmd.net>
parents: 20256
diff changeset
500 <tr>
d70703954a2a hgweb: adding branch, tags, bookmarks, user, and file list to atom feed entries
Aaron Jensen <ajensen@webmd.net>
parents: 20256
diff changeset
501 <th style="text-align:left;">user</th>
d70703954a2a hgweb: adding branch, tags, bookmarks, user, and file list to atom feed entries
Aaron Jensen <ajensen@webmd.net>
parents: 20256
diff changeset
502 <td>&#116;&#101;&#115;&#116;</td>
d70703954a2a hgweb: adding branch, tags, bookmarks, user, and file list to atom feed entries
Aaron Jensen <ajensen@webmd.net>
parents: 20256
diff changeset
503 </tr>
d70703954a2a hgweb: adding branch, tags, bookmarks, user, and file list to atom feed entries
Aaron Jensen <ajensen@webmd.net>
parents: 20256
diff changeset
504 <tr>
d70703954a2a hgweb: adding branch, tags, bookmarks, user, and file list to atom feed entries
Aaron Jensen <ajensen@webmd.net>
parents: 20256
diff changeset
505 <th style="text-align:left;vertical-align:top;">description</th>
21486
16352b34e32e hgweb: apply websub filter to the changeset description in rss and atom feeds
Steven Brown <StevenGBrown@gmail.com>
parents: 21485
diff changeset
506 <td>base(websub)</td>
21056
d70703954a2a hgweb: adding branch, tags, bookmarks, user, and file list to atom feed entries
Aaron Jensen <ajensen@webmd.net>
parents: 20256
diff changeset
507 </tr>
d70703954a2a hgweb: adding branch, tags, bookmarks, user, and file list to atom feed entries
Aaron Jensen <ajensen@webmd.net>
parents: 20256
diff changeset
508 <tr>
d70703954a2a hgweb: adding branch, tags, bookmarks, user, and file list to atom feed entries
Aaron Jensen <ajensen@webmd.net>
parents: 20256
diff changeset
509 <th style="text-align:left;vertical-align:top;">files</th>
d70703954a2a hgweb: adding branch, tags, bookmarks, user, and file list to atom feed entries
Aaron Jensen <ajensen@webmd.net>
parents: 20256
diff changeset
510 <td>da/foo<br />foo<br /></td>
d70703954a2a hgweb: adding branch, tags, bookmarks, user, and file list to atom feed entries
Aaron Jensen <ajensen@webmd.net>
parents: 20256
diff changeset
511 </tr>
d70703954a2a hgweb: adding branch, tags, bookmarks, user, and file list to atom feed entries
Aaron Jensen <ajensen@webmd.net>
parents: 20256
diff changeset
512 </table>
12433
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
513 </content>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
514 </entry>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
515
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
516 </feed>
21484
96cdf2e3dbef tests: tests for the rss feeds
Steven Brown <StevenGBrown@gmail.com>
parents: 21124
diff changeset
517 $ "$TESTDIR/get-with-headers.py" 127.0.0.1:$HGPORT 'log/1/?style=rss'
96cdf2e3dbef tests: tests for the rss feeds
Steven Brown <StevenGBrown@gmail.com>
parents: 21124
diff changeset
518 200 Script output follows
96cdf2e3dbef tests: tests for the rss feeds
Steven Brown <StevenGBrown@gmail.com>
parents: 21124
diff changeset
519
96cdf2e3dbef tests: tests for the rss feeds
Steven Brown <StevenGBrown@gmail.com>
parents: 21124
diff changeset
520 <?xml version="1.0" encoding="ascii"?>
96cdf2e3dbef tests: tests for the rss feeds
Steven Brown <StevenGBrown@gmail.com>
parents: 21124
diff changeset
521 <rss version="2.0">
96cdf2e3dbef tests: tests for the rss feeds
Steven Brown <StevenGBrown@gmail.com>
parents: 21124
diff changeset
522 <channel>
96cdf2e3dbef tests: tests for the rss feeds
Steven Brown <StevenGBrown@gmail.com>
parents: 21124
diff changeset
523 <link>http://*:$HGPORT/</link> (glob)
96cdf2e3dbef tests: tests for the rss feeds
Steven Brown <StevenGBrown@gmail.com>
parents: 21124
diff changeset
524 <language>en-us</language>
96cdf2e3dbef tests: tests for the rss feeds
Steven Brown <StevenGBrown@gmail.com>
parents: 21124
diff changeset
525
96cdf2e3dbef tests: tests for the rss feeds
Steven Brown <StevenGBrown@gmail.com>
parents: 21124
diff changeset
526 <title>test Changelog</title>
96cdf2e3dbef tests: tests for the rss feeds
Steven Brown <StevenGBrown@gmail.com>
parents: 21124
diff changeset
527 <description>test Changelog</description>
96cdf2e3dbef tests: tests for the rss feeds
Steven Brown <StevenGBrown@gmail.com>
parents: 21124
diff changeset
528 <item>
96cdf2e3dbef tests: tests for the rss feeds
Steven Brown <StevenGBrown@gmail.com>
parents: 21124
diff changeset
529 <title>[default] Added tag 1.0 for changeset 2ef0ac749a14</title>
96cdf2e3dbef tests: tests for the rss feeds
Steven Brown <StevenGBrown@gmail.com>
parents: 21124
diff changeset
530 <guid isPermaLink="true">http://*:$HGPORT/rev/a4f92ed23982</guid> (glob)
96cdf2e3dbef tests: tests for the rss feeds
Steven Brown <StevenGBrown@gmail.com>
parents: 21124
diff changeset
531 <link>http://*:$HGPORT/rev/a4f92ed23982</link> (glob)
96cdf2e3dbef tests: tests for the rss feeds
Steven Brown <StevenGBrown@gmail.com>
parents: 21124
diff changeset
532 <description>
96cdf2e3dbef tests: tests for the rss feeds
Steven Brown <StevenGBrown@gmail.com>
parents: 21124
diff changeset
533 <![CDATA[
96cdf2e3dbef tests: tests for the rss feeds
Steven Brown <StevenGBrown@gmail.com>
parents: 21124
diff changeset
534 <table>
96cdf2e3dbef tests: tests for the rss feeds
Steven Brown <StevenGBrown@gmail.com>
parents: 21124
diff changeset
535 <tr>
96cdf2e3dbef tests: tests for the rss feeds
Steven Brown <StevenGBrown@gmail.com>
parents: 21124
diff changeset
536 <th style="text-align:left;">changeset</th>
96cdf2e3dbef tests: tests for the rss feeds
Steven Brown <StevenGBrown@gmail.com>
parents: 21124
diff changeset
537 <td>a4f92ed23982</td>
96cdf2e3dbef tests: tests for the rss feeds
Steven Brown <StevenGBrown@gmail.com>
parents: 21124
diff changeset
538 </tr>
96cdf2e3dbef tests: tests for the rss feeds
Steven Brown <StevenGBrown@gmail.com>
parents: 21124
diff changeset
539 <tr>
96cdf2e3dbef tests: tests for the rss feeds
Steven Brown <StevenGBrown@gmail.com>
parents: 21124
diff changeset
540 <th style="text-align:left;">branch</th>
96cdf2e3dbef tests: tests for the rss feeds
Steven Brown <StevenGBrown@gmail.com>
parents: 21124
diff changeset
541 <td>default</td>
96cdf2e3dbef tests: tests for the rss feeds
Steven Brown <StevenGBrown@gmail.com>
parents: 21124
diff changeset
542 </tr>
96cdf2e3dbef tests: tests for the rss feeds
Steven Brown <StevenGBrown@gmail.com>
parents: 21124
diff changeset
543 <tr>
96cdf2e3dbef tests: tests for the rss feeds
Steven Brown <StevenGBrown@gmail.com>
parents: 21124
diff changeset
544 <th style="text-align:left;">bookmark</th>
96cdf2e3dbef tests: tests for the rss feeds
Steven Brown <StevenGBrown@gmail.com>
parents: 21124
diff changeset
545 <td></td>
96cdf2e3dbef tests: tests for the rss feeds
Steven Brown <StevenGBrown@gmail.com>
parents: 21124
diff changeset
546 </tr>
96cdf2e3dbef tests: tests for the rss feeds
Steven Brown <StevenGBrown@gmail.com>
parents: 21124
diff changeset
547 <tr>
96cdf2e3dbef tests: tests for the rss feeds
Steven Brown <StevenGBrown@gmail.com>
parents: 21124
diff changeset
548 <th style="text-align:left;">tag</th>
96cdf2e3dbef tests: tests for the rss feeds
Steven Brown <StevenGBrown@gmail.com>
parents: 21124
diff changeset
549 <td></td>
96cdf2e3dbef tests: tests for the rss feeds
Steven Brown <StevenGBrown@gmail.com>
parents: 21124
diff changeset
550 </tr>
96cdf2e3dbef tests: tests for the rss feeds
Steven Brown <StevenGBrown@gmail.com>
parents: 21124
diff changeset
551 <tr>
96cdf2e3dbef tests: tests for the rss feeds
Steven Brown <StevenGBrown@gmail.com>
parents: 21124
diff changeset
552 <th style="text-align:left;vertical-align:top;">user</th>
96cdf2e3dbef tests: tests for the rss feeds
Steven Brown <StevenGBrown@gmail.com>
parents: 21124
diff changeset
553 <td>&#116;&#101;&#115;&#116;</td>
96cdf2e3dbef tests: tests for the rss feeds
Steven Brown <StevenGBrown@gmail.com>
parents: 21124
diff changeset
554 </tr>
96cdf2e3dbef tests: tests for the rss feeds
Steven Brown <StevenGBrown@gmail.com>
parents: 21124
diff changeset
555 <tr>
96cdf2e3dbef tests: tests for the rss feeds
Steven Brown <StevenGBrown@gmail.com>
parents: 21124
diff changeset
556 <th style="text-align:left;vertical-align:top;">description</th>
21486
16352b34e32e hgweb: apply websub filter to the changeset description in rss and atom feeds
Steven Brown <StevenGBrown@gmail.com>
parents: 21485
diff changeset
557 <td>Added tag 1.0 for changeset 2ef0ac749a14(websub)</td>
21484
96cdf2e3dbef tests: tests for the rss feeds
Steven Brown <StevenGBrown@gmail.com>
parents: 21124
diff changeset
558 </tr>
96cdf2e3dbef tests: tests for the rss feeds
Steven Brown <StevenGBrown@gmail.com>
parents: 21124
diff changeset
559 <tr>
96cdf2e3dbef tests: tests for the rss feeds
Steven Brown <StevenGBrown@gmail.com>
parents: 21124
diff changeset
560 <th style="text-align:left;vertical-align:top;">files</th>
96cdf2e3dbef tests: tests for the rss feeds
Steven Brown <StevenGBrown@gmail.com>
parents: 21124
diff changeset
561 <td>.hgtags<br /></td>
96cdf2e3dbef tests: tests for the rss feeds
Steven Brown <StevenGBrown@gmail.com>
parents: 21124
diff changeset
562 </tr>
96cdf2e3dbef tests: tests for the rss feeds
Steven Brown <StevenGBrown@gmail.com>
parents: 21124
diff changeset
563 </table>
96cdf2e3dbef tests: tests for the rss feeds
Steven Brown <StevenGBrown@gmail.com>
parents: 21124
diff changeset
564 ]]></description>
96cdf2e3dbef tests: tests for the rss feeds
Steven Brown <StevenGBrown@gmail.com>
parents: 21124
diff changeset
565 <author>&#116;&#101;&#115;&#116;</author>
96cdf2e3dbef tests: tests for the rss feeds
Steven Brown <StevenGBrown@gmail.com>
parents: 21124
diff changeset
566 <pubDate>Thu, 01 Jan 1970 00:00:00 +0000</pubDate>
96cdf2e3dbef tests: tests for the rss feeds
Steven Brown <StevenGBrown@gmail.com>
parents: 21124
diff changeset
567 </item>
96cdf2e3dbef tests: tests for the rss feeds
Steven Brown <StevenGBrown@gmail.com>
parents: 21124
diff changeset
568 <item>
96cdf2e3dbef tests: tests for the rss feeds
Steven Brown <StevenGBrown@gmail.com>
parents: 21124
diff changeset
569 <title>base</title>
96cdf2e3dbef tests: tests for the rss feeds
Steven Brown <StevenGBrown@gmail.com>
parents: 21124
diff changeset
570 <guid isPermaLink="true">http://*:$HGPORT/rev/2ef0ac749a14</guid> (glob)
96cdf2e3dbef tests: tests for the rss feeds
Steven Brown <StevenGBrown@gmail.com>
parents: 21124
diff changeset
571 <link>http://*:$HGPORT/rev/2ef0ac749a14</link> (glob)
96cdf2e3dbef tests: tests for the rss feeds
Steven Brown <StevenGBrown@gmail.com>
parents: 21124
diff changeset
572 <description>
96cdf2e3dbef tests: tests for the rss feeds
Steven Brown <StevenGBrown@gmail.com>
parents: 21124
diff changeset
573 <![CDATA[
96cdf2e3dbef tests: tests for the rss feeds
Steven Brown <StevenGBrown@gmail.com>
parents: 21124
diff changeset
574 <table>
96cdf2e3dbef tests: tests for the rss feeds
Steven Brown <StevenGBrown@gmail.com>
parents: 21124
diff changeset
575 <tr>
96cdf2e3dbef tests: tests for the rss feeds
Steven Brown <StevenGBrown@gmail.com>
parents: 21124
diff changeset
576 <th style="text-align:left;">changeset</th>
96cdf2e3dbef tests: tests for the rss feeds
Steven Brown <StevenGBrown@gmail.com>
parents: 21124
diff changeset
577 <td>2ef0ac749a14</td>
96cdf2e3dbef tests: tests for the rss feeds
Steven Brown <StevenGBrown@gmail.com>
parents: 21124
diff changeset
578 </tr>
96cdf2e3dbef tests: tests for the rss feeds
Steven Brown <StevenGBrown@gmail.com>
parents: 21124
diff changeset
579 <tr>
96cdf2e3dbef tests: tests for the rss feeds
Steven Brown <StevenGBrown@gmail.com>
parents: 21124
diff changeset
580 <th style="text-align:left;">branch</th>
96cdf2e3dbef tests: tests for the rss feeds
Steven Brown <StevenGBrown@gmail.com>
parents: 21124
diff changeset
581 <td></td>
96cdf2e3dbef tests: tests for the rss feeds
Steven Brown <StevenGBrown@gmail.com>
parents: 21124
diff changeset
582 </tr>
96cdf2e3dbef tests: tests for the rss feeds
Steven Brown <StevenGBrown@gmail.com>
parents: 21124
diff changeset
583 <tr>
96cdf2e3dbef tests: tests for the rss feeds
Steven Brown <StevenGBrown@gmail.com>
parents: 21124
diff changeset
584 <th style="text-align:left;">bookmark</th>
96cdf2e3dbef tests: tests for the rss feeds
Steven Brown <StevenGBrown@gmail.com>
parents: 21124
diff changeset
585 <td>anotherthing</td>
96cdf2e3dbef tests: tests for the rss feeds
Steven Brown <StevenGBrown@gmail.com>
parents: 21124
diff changeset
586 </tr>
96cdf2e3dbef tests: tests for the rss feeds
Steven Brown <StevenGBrown@gmail.com>
parents: 21124
diff changeset
587 <tr>
96cdf2e3dbef tests: tests for the rss feeds
Steven Brown <StevenGBrown@gmail.com>
parents: 21124
diff changeset
588 <th style="text-align:left;">tag</th>
96cdf2e3dbef tests: tests for the rss feeds
Steven Brown <StevenGBrown@gmail.com>
parents: 21124
diff changeset
589 <td>1.0</td>
96cdf2e3dbef tests: tests for the rss feeds
Steven Brown <StevenGBrown@gmail.com>
parents: 21124
diff changeset
590 </tr>
96cdf2e3dbef tests: tests for the rss feeds
Steven Brown <StevenGBrown@gmail.com>
parents: 21124
diff changeset
591 <tr>
96cdf2e3dbef tests: tests for the rss feeds
Steven Brown <StevenGBrown@gmail.com>
parents: 21124
diff changeset
592 <th style="text-align:left;vertical-align:top;">user</th>
96cdf2e3dbef tests: tests for the rss feeds
Steven Brown <StevenGBrown@gmail.com>
parents: 21124
diff changeset
593 <td>&#116;&#101;&#115;&#116;</td>
96cdf2e3dbef tests: tests for the rss feeds
Steven Brown <StevenGBrown@gmail.com>
parents: 21124
diff changeset
594 </tr>
96cdf2e3dbef tests: tests for the rss feeds
Steven Brown <StevenGBrown@gmail.com>
parents: 21124
diff changeset
595 <tr>
96cdf2e3dbef tests: tests for the rss feeds
Steven Brown <StevenGBrown@gmail.com>
parents: 21124
diff changeset
596 <th style="text-align:left;vertical-align:top;">description</th>
21486
16352b34e32e hgweb: apply websub filter to the changeset description in rss and atom feeds
Steven Brown <StevenGBrown@gmail.com>
parents: 21485
diff changeset
597 <td>base(websub)</td>
21484
96cdf2e3dbef tests: tests for the rss feeds
Steven Brown <StevenGBrown@gmail.com>
parents: 21124
diff changeset
598 </tr>
96cdf2e3dbef tests: tests for the rss feeds
Steven Brown <StevenGBrown@gmail.com>
parents: 21124
diff changeset
599 <tr>
96cdf2e3dbef tests: tests for the rss feeds
Steven Brown <StevenGBrown@gmail.com>
parents: 21124
diff changeset
600 <th style="text-align:left;vertical-align:top;">files</th>
96cdf2e3dbef tests: tests for the rss feeds
Steven Brown <StevenGBrown@gmail.com>
parents: 21124
diff changeset
601 <td>da/foo<br />foo<br /></td>
96cdf2e3dbef tests: tests for the rss feeds
Steven Brown <StevenGBrown@gmail.com>
parents: 21124
diff changeset
602 </tr>
96cdf2e3dbef tests: tests for the rss feeds
Steven Brown <StevenGBrown@gmail.com>
parents: 21124
diff changeset
603 </table>
96cdf2e3dbef tests: tests for the rss feeds
Steven Brown <StevenGBrown@gmail.com>
parents: 21124
diff changeset
604 ]]></description>
96cdf2e3dbef tests: tests for the rss feeds
Steven Brown <StevenGBrown@gmail.com>
parents: 21124
diff changeset
605 <author>&#116;&#101;&#115;&#116;</author>
96cdf2e3dbef tests: tests for the rss feeds
Steven Brown <StevenGBrown@gmail.com>
parents: 21124
diff changeset
606 <pubDate>Thu, 01 Jan 1970 00:00:00 +0000</pubDate>
96cdf2e3dbef tests: tests for the rss feeds
Steven Brown <StevenGBrown@gmail.com>
parents: 21124
diff changeset
607 </item>
96cdf2e3dbef tests: tests for the rss feeds
Steven Brown <StevenGBrown@gmail.com>
parents: 21124
diff changeset
608
96cdf2e3dbef tests: tests for the rss feeds
Steven Brown <StevenGBrown@gmail.com>
parents: 21124
diff changeset
609 </channel>
96cdf2e3dbef tests: tests for the rss feeds
Steven Brown <StevenGBrown@gmail.com>
parents: 21124
diff changeset
610 </rss> (no-eol)
17017
953faba28e91 tests: prepare get-with-headers.py for MSYS
Mads Kiilerich <mads@kiilerich.com>
parents: 16913
diff changeset
611 $ "$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
612 200 Script output follows
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
613
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
614 <?xml version="1.0" encoding="ascii"?>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
615 <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
616 <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
617 <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
618 <title>test: foo history</title>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
619 <updated>1970-01-01T00:00:00+00:00</updated>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
620
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
621 <entry>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
622 <title>base</title>
12643
d08bb64888bc tests: reintroduce ":$HGPORT" in test output
Mads Kiilerich <mads@kiilerich.com>
parents: 12433
diff changeset
623 <id>http://*:$HGPORT/#changeset-2ef0ac749a14e4f57a5a822464a0902c6f7f448f</id> (glob)
d08bb64888bc tests: reintroduce ":$HGPORT" in test output
Mads Kiilerich <mads@kiilerich.com>
parents: 12433
diff changeset
624 <link href="http://*:$HGPORT/rev/2ef0ac749a14"/> (glob)
12433
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
625 <author>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
626 <name>test</name>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
627 <email>&#116;&#101;&#115;&#116;</email>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
628 </author>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
629 <updated>1970-01-01T00:00:00+00:00</updated>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
630 <published>1970-01-01T00:00:00+00:00</published>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
631 <content type="xhtml">
21056
d70703954a2a hgweb: adding branch, tags, bookmarks, user, and file list to atom feed entries
Aaron Jensen <ajensen@webmd.net>
parents: 20256
diff changeset
632 <table xmlns="http://www.w3.org/1999/xhtml">
d70703954a2a hgweb: adding branch, tags, bookmarks, user, and file list to atom feed entries
Aaron Jensen <ajensen@webmd.net>
parents: 20256
diff changeset
633 <tr>
d70703954a2a hgweb: adding branch, tags, bookmarks, user, and file list to atom feed entries
Aaron Jensen <ajensen@webmd.net>
parents: 20256
diff changeset
634 <th style="text-align:left;">changeset</th>
d70703954a2a hgweb: adding branch, tags, bookmarks, user, and file list to atom feed entries
Aaron Jensen <ajensen@webmd.net>
parents: 20256
diff changeset
635 <td>2ef0ac749a14</td>
21117
91eb605022f5 hgweb: adding branch names from inbranch template to atom feed
Aaron Jensen <ajensen@webmd.net>
parents: 21056
diff changeset
636 </tr>
91eb605022f5 hgweb: adding branch names from inbranch template to atom feed
Aaron Jensen <ajensen@webmd.net>
parents: 21056
diff changeset
637 <tr>
91eb605022f5 hgweb: adding branch names from inbranch template to atom feed
Aaron Jensen <ajensen@webmd.net>
parents: 21056
diff changeset
638 <th style="text-align:left;">branch</th>
91eb605022f5 hgweb: adding branch names from inbranch template to atom feed
Aaron Jensen <ajensen@webmd.net>
parents: 21056
diff changeset
639 <td></td>
91eb605022f5 hgweb: adding branch names from inbranch template to atom feed
Aaron Jensen <ajensen@webmd.net>
parents: 21056
diff changeset
640 </tr>
91eb605022f5 hgweb: adding branch names from inbranch template to atom feed
Aaron Jensen <ajensen@webmd.net>
parents: 21056
diff changeset
641 <tr>
91eb605022f5 hgweb: adding branch names from inbranch template to atom feed
Aaron Jensen <ajensen@webmd.net>
parents: 21056
diff changeset
642 <th style="text-align:left;">bookmark</th>
21056
d70703954a2a hgweb: adding branch, tags, bookmarks, user, and file list to atom feed entries
Aaron Jensen <ajensen@webmd.net>
parents: 20256
diff changeset
643 <td>anotherthing</td>
d70703954a2a hgweb: adding branch, tags, bookmarks, user, and file list to atom feed entries
Aaron Jensen <ajensen@webmd.net>
parents: 20256
diff changeset
644 </tr>
d70703954a2a hgweb: adding branch, tags, bookmarks, user, and file list to atom feed entries
Aaron Jensen <ajensen@webmd.net>
parents: 20256
diff changeset
645 <tr>
d70703954a2a hgweb: adding branch, tags, bookmarks, user, and file list to atom feed entries
Aaron Jensen <ajensen@webmd.net>
parents: 20256
diff changeset
646 <th style="text-align:left;">tag</th>
d70703954a2a hgweb: adding branch, tags, bookmarks, user, and file list to atom feed entries
Aaron Jensen <ajensen@webmd.net>
parents: 20256
diff changeset
647 <td>1.0</td>
d70703954a2a hgweb: adding branch, tags, bookmarks, user, and file list to atom feed entries
Aaron Jensen <ajensen@webmd.net>
parents: 20256
diff changeset
648 </tr>
d70703954a2a hgweb: adding branch, tags, bookmarks, user, and file list to atom feed entries
Aaron Jensen <ajensen@webmd.net>
parents: 20256
diff changeset
649 <tr>
d70703954a2a hgweb: adding branch, tags, bookmarks, user, and file list to atom feed entries
Aaron Jensen <ajensen@webmd.net>
parents: 20256
diff changeset
650 <th style="text-align:left;">user</th>
d70703954a2a hgweb: adding branch, tags, bookmarks, user, and file list to atom feed entries
Aaron Jensen <ajensen@webmd.net>
parents: 20256
diff changeset
651 <td>&#116;&#101;&#115;&#116;</td>
d70703954a2a hgweb: adding branch, tags, bookmarks, user, and file list to atom feed entries
Aaron Jensen <ajensen@webmd.net>
parents: 20256
diff changeset
652 </tr>
d70703954a2a hgweb: adding branch, tags, bookmarks, user, and file list to atom feed entries
Aaron Jensen <ajensen@webmd.net>
parents: 20256
diff changeset
653 <tr>
d70703954a2a hgweb: adding branch, tags, bookmarks, user, and file list to atom feed entries
Aaron Jensen <ajensen@webmd.net>
parents: 20256
diff changeset
654 <th style="text-align:left;vertical-align:top;">description</th>
21486
16352b34e32e hgweb: apply websub filter to the changeset description in rss and atom feeds
Steven Brown <StevenGBrown@gmail.com>
parents: 21485
diff changeset
655 <td>base(websub)</td>
21056
d70703954a2a hgweb: adding branch, tags, bookmarks, user, and file list to atom feed entries
Aaron Jensen <ajensen@webmd.net>
parents: 20256
diff changeset
656 </tr>
d70703954a2a hgweb: adding branch, tags, bookmarks, user, and file list to atom feed entries
Aaron Jensen <ajensen@webmd.net>
parents: 20256
diff changeset
657 <tr>
d70703954a2a hgweb: adding branch, tags, bookmarks, user, and file list to atom feed entries
Aaron Jensen <ajensen@webmd.net>
parents: 20256
diff changeset
658 <th style="text-align:left;vertical-align:top;">files</th>
d70703954a2a hgweb: adding branch, tags, bookmarks, user, and file list to atom feed entries
Aaron Jensen <ajensen@webmd.net>
parents: 20256
diff changeset
659 <td></td>
d70703954a2a hgweb: adding branch, tags, bookmarks, user, and file list to atom feed entries
Aaron Jensen <ajensen@webmd.net>
parents: 20256
diff changeset
660 </tr>
d70703954a2a hgweb: adding branch, tags, bookmarks, user, and file list to atom feed entries
Aaron Jensen <ajensen@webmd.net>
parents: 20256
diff changeset
661 </table>
12433
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
662 </content>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
663 </entry>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
664
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
665 </feed>
21484
96cdf2e3dbef tests: tests for the rss feeds
Steven Brown <StevenGBrown@gmail.com>
parents: 21124
diff changeset
666 $ "$TESTDIR/get-with-headers.py" 127.0.0.1:$HGPORT 'log/1/foo/?style=rss'
96cdf2e3dbef tests: tests for the rss feeds
Steven Brown <StevenGBrown@gmail.com>
parents: 21124
diff changeset
667 200 Script output follows
96cdf2e3dbef tests: tests for the rss feeds
Steven Brown <StevenGBrown@gmail.com>
parents: 21124
diff changeset
668
96cdf2e3dbef tests: tests for the rss feeds
Steven Brown <StevenGBrown@gmail.com>
parents: 21124
diff changeset
669 <?xml version="1.0" encoding="ascii"?>
96cdf2e3dbef tests: tests for the rss feeds
Steven Brown <StevenGBrown@gmail.com>
parents: 21124
diff changeset
670 <rss version="2.0">
96cdf2e3dbef tests: tests for the rss feeds
Steven Brown <StevenGBrown@gmail.com>
parents: 21124
diff changeset
671 <channel>
96cdf2e3dbef tests: tests for the rss feeds
Steven Brown <StevenGBrown@gmail.com>
parents: 21124
diff changeset
672 <link>http://*:$HGPORT/</link> (glob)
96cdf2e3dbef tests: tests for the rss feeds
Steven Brown <StevenGBrown@gmail.com>
parents: 21124
diff changeset
673 <language>en-us</language>
96cdf2e3dbef tests: tests for the rss feeds
Steven Brown <StevenGBrown@gmail.com>
parents: 21124
diff changeset
674
96cdf2e3dbef tests: tests for the rss feeds
Steven Brown <StevenGBrown@gmail.com>
parents: 21124
diff changeset
675 <title>test: foo history</title>
96cdf2e3dbef tests: tests for the rss feeds
Steven Brown <StevenGBrown@gmail.com>
parents: 21124
diff changeset
676 <description>foo revision history</description>
96cdf2e3dbef tests: tests for the rss feeds
Steven Brown <StevenGBrown@gmail.com>
parents: 21124
diff changeset
677 <item>
96cdf2e3dbef tests: tests for the rss feeds
Steven Brown <StevenGBrown@gmail.com>
parents: 21124
diff changeset
678 <title>base</title>
96cdf2e3dbef tests: tests for the rss feeds
Steven Brown <StevenGBrown@gmail.com>
parents: 21124
diff changeset
679 <link>http://*:$HGPORT/log2ef0ac749a14/foo</link> (glob)
21486
16352b34e32e hgweb: apply websub filter to the changeset description in rss and atom feeds
Steven Brown <StevenGBrown@gmail.com>
parents: 21485
diff changeset
680 <description><![CDATA[base(websub)]]></description>
21484
96cdf2e3dbef tests: tests for the rss feeds
Steven Brown <StevenGBrown@gmail.com>
parents: 21124
diff changeset
681 <author>&#116;&#101;&#115;&#116;</author>
96cdf2e3dbef tests: tests for the rss feeds
Steven Brown <StevenGBrown@gmail.com>
parents: 21124
diff changeset
682 <pubDate>Thu, 01 Jan 1970 00:00:00 +0000</pubDate>
96cdf2e3dbef tests: tests for the rss feeds
Steven Brown <StevenGBrown@gmail.com>
parents: 21124
diff changeset
683 </item>
96cdf2e3dbef tests: tests for the rss feeds
Steven Brown <StevenGBrown@gmail.com>
parents: 21124
diff changeset
684
96cdf2e3dbef tests: tests for the rss feeds
Steven Brown <StevenGBrown@gmail.com>
parents: 21124
diff changeset
685 </channel>
96cdf2e3dbef tests: tests for the rss feeds
Steven Brown <StevenGBrown@gmail.com>
parents: 21124
diff changeset
686 </rss>
17017
953faba28e91 tests: prepare get-with-headers.py for MSYS
Mads Kiilerich <mads@kiilerich.com>
parents: 16913
diff changeset
687 $ "$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
688 200 Script output follows
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
689
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
690 <!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
691 <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
692 <head>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
693 <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
694 <meta name="robots" content="index, nofollow" />
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
695 <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
696 <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
697
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
698 <title>test: log</title>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
699 <link rel="alternate" type="application/atom+xml"
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
700 href="/atom-log" title="Atom feed for test" />
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
701 <link rel="alternate" type="application/rss+xml"
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
702 href="/rss-log" title="RSS feed for test" />
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
703 </head>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
704 <body>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
705
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
706 <div class="container">
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
707 <div class="menu">
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
708 <div class="logo">
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
709 <a href="http://mercurial.selenic.com/">
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
710 <img src="/static/hglogo.png" alt="mercurial" /></a>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
711 </div>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
712 <ul>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
713 <li class="active">log</li>
17772
823a7d79ef82 hgweb: make the escape filter remove null characters (issue2567)
Siddharth Agarwal <sid0@fb.com>
parents: 17742
diff changeset
714 <li><a href="/graph/cad8025a2e87">graph</a></li>
12433
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
715 <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
716 <li><a href="/bookmarks">bookmarks</a></li>
12433
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
717 <li><a href="/branches">branches</a></li>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
718 </ul>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
719 <ul>
17772
823a7d79ef82 hgweb: make the escape filter remove null characters (issue2567)
Siddharth Agarwal <sid0@fb.com>
parents: 17742
diff changeset
720 <li><a href="/rev/cad8025a2e87">changeset</a></li>
823a7d79ef82 hgweb: make the escape filter remove null characters (issue2567)
Siddharth Agarwal <sid0@fb.com>
parents: 17742
diff changeset
721 <li><a href="/file/cad8025a2e87">browse</a></li>
12433
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
722 </ul>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
723 <ul>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
724
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
725 </ul>
12666
ead4e21f49f1 web: add a help view for getting hg help output
Augie Fackler <durin42@gmail.com>
parents: 12643
diff changeset
726 <ul>
ead4e21f49f1 web: add a help view for getting hg help output
Augie Fackler <durin42@gmail.com>
parents: 12643
diff changeset
727 <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
728 </ul>
23829
70cfa7e1611b hgweb: close <p> elements
Anton Shestakov <engored@ya.ru>
parents: 23505
diff changeset
729 <p></p>
18200
b31266671918 hgweb: add (Atom) subscribe link to the main paper template pages
Angel Ezquerra <angel.ezquerra@gmail.com>
parents: 17991
diff changeset
730 <div class="atom-logo">
b31266671918 hgweb: add (Atom) subscribe link to the main paper template pages
Angel Ezquerra <angel.ezquerra@gmail.com>
parents: 17991
diff changeset
731 <a href="/atom-log" title="subscribe to atom feed">
23830
c4f6fc4eb01e hgweb: close <img> elements
Anton Shestakov <engored@ya.ru>
parents: 23829
diff changeset
732 <img class="atom-logo" src="/static/feed-icon-14x14.png" alt="atom feed" />
18200
b31266671918 hgweb: add (Atom) subscribe link to the main paper template pages
Angel Ezquerra <angel.ezquerra@gmail.com>
parents: 17991
diff changeset
733 </a>
b31266671918 hgweb: add (Atom) subscribe link to the main paper template pages
Angel Ezquerra <angel.ezquerra@gmail.com>
parents: 17991
diff changeset
734 </div>
12433
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
735 </div>
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="main">
18264
d6ebdbdd70a5 tests: update hgweb tests to include breadcrumbs
Bryan O'Sullivan <bryano@fb.com>
parents: 18200
diff changeset
738 <h2 class="breadcrumb"><a href="/">Mercurial</a> </h2>
12433
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
739 <h3>log</h3>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
740
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
741 <form class="search" action="/log">
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
742
19396
afc23eddc324 hgweb: show current search query in the input field
Alexander Plavin <me@aplavin.ru>
parents: 19387
diff changeset
743 <p><input name="rev" id="search1" type="text" size="30" value="" /></p>
19796
544848ef65f2 paper: edit search hint to include new feature description
Alexander Plavin <alexander@plav.in>
parents: 19795
diff changeset
744 <div id="hint">Find changesets by keywords (author, files, the commit message), revision
544848ef65f2 paper: edit search hint to include new feature description
Alexander Plavin <alexander@plav.in>
parents: 19795
diff changeset
745 number or hash, or <a href="/help/revsets">revset expression</a>.</div>
12433
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
746 </form>
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="navigate">
16129
5e50982c633c graph: in hgrc specify line width for main branch
Constantine Linnick <theaspect@gmail.com>
parents: 15623
diff changeset
749 <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
750 <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
751 | 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
752 </div>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
753
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
754 <table class="bigtable">
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
755 <tr>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
756 <th class="age">age</th>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
757 <th class="author">author</th>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
758 <th class="description">description</th>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
759 </tr>
19452
6f5556454edd hgweb: make stripes in log and search with CSS
Alexander Plavin <me@aplavin.ru>
parents: 19433
diff changeset
760 <tbody class="stripes2">
6f5556454edd hgweb: make stripes in log and search with CSS
Alexander Plavin <me@aplavin.ru>
parents: 19433
diff changeset
761 <tr>
15375
fe9d36a6853e hgweb: fix dynamic date calculation not working under Safari
Brodie Rao <brodie@bitheap.org>
parents: 14622
diff changeset
762 <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
763 <td class="author">test</td>
17772
823a7d79ef82 hgweb: make the escape filter remove null characters (issue2567)
Siddharth Agarwal <sid0@fb.com>
parents: 17742
diff changeset
764 <td class="description"><a href="/rev/cad8025a2e87">branch commit with null character: </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
765 </tr>
19452
6f5556454edd hgweb: make stripes in log and search with CSS
Alexander Plavin <me@aplavin.ru>
parents: 19433
diff changeset
766 <tr>
15375
fe9d36a6853e hgweb: fix dynamic date calculation not working under Safari
Brodie Rao <brodie@bitheap.org>
parents: 14622
diff changeset
767 <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
768 <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
769 <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
770 </tr>
19452
6f5556454edd hgweb: make stripes in log and search with CSS
Alexander Plavin <me@aplavin.ru>
parents: 19433
diff changeset
771 <tr>
16129
5e50982c633c graph: in hgrc specify line width for main branch
Constantine Linnick <theaspect@gmail.com>
parents: 15623
diff changeset
772 <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
773 <td class="author">test</td>
12433
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
774 <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
775 </tr>
19452
6f5556454edd hgweb: make stripes in log and search with CSS
Alexander Plavin <me@aplavin.ru>
parents: 19433
diff changeset
776 <tr>
15375
fe9d36a6853e hgweb: fix dynamic date calculation not working under Safari
Brodie Rao <brodie@bitheap.org>
parents: 14622
diff changeset
777 <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
778 <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
779 <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
780 </tr>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
781
19452
6f5556454edd hgweb: make stripes in log and search with CSS
Alexander Plavin <me@aplavin.ru>
parents: 19433
diff changeset
782 </tbody>
12433
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
783 </table>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
784
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
785 <div class="navigate">
16129
5e50982c633c graph: in hgrc specify line width for main branch
Constantine Linnick <theaspect@gmail.com>
parents: 15623
diff changeset
786 <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
787 <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
788 | 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
789 </div>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
790
19747
da3808bcfbfa paper: call ajaxScrollInit in shortlog
Alexander Plavin <alexander@plav.in>
parents: 19722
diff changeset
791 <script type="text/javascript">
da3808bcfbfa paper: call ajaxScrollInit in shortlog
Alexander Plavin <alexander@plav.in>
parents: 19722
diff changeset
792 ajaxScrollInit(
19781
74564c90026b hgweb: make infinite scroll handling more generic and extensible
Alexander Plavin <alexander@plav.in>
parents: 19768
diff changeset
793 '/shortlog/%next%',
19747
da3808bcfbfa paper: call ajaxScrollInit in shortlog
Alexander Plavin <alexander@plav.in>
parents: 19722
diff changeset
794 '', <!-- NEXTHASH
19781
74564c90026b hgweb: make infinite scroll handling more generic and extensible
Alexander Plavin <alexander@plav.in>
parents: 19768
diff changeset
795 function (htmlText, previousVal) {
74564c90026b hgweb: make infinite scroll handling more generic and extensible
Alexander Plavin <alexander@plav.in>
parents: 19768
diff changeset
796 var m = htmlText.match(/'(\w+)', <!-- NEXTHASH/);
74564c90026b hgweb: make infinite scroll handling more generic and extensible
Alexander Plavin <alexander@plav.in>
parents: 19768
diff changeset
797 return m ? m[1] : null;
74564c90026b hgweb: make infinite scroll handling more generic and extensible
Alexander Plavin <alexander@plav.in>
parents: 19768
diff changeset
798 },
19747
da3808bcfbfa paper: call ajaxScrollInit in shortlog
Alexander Plavin <alexander@plav.in>
parents: 19722
diff changeset
799 '.bigtable > tbody:nth-of-type(2)',
da3808bcfbfa paper: call ajaxScrollInit in shortlog
Alexander Plavin <alexander@plav.in>
parents: 19722
diff changeset
800 '<tr class="%class%">\
da3808bcfbfa paper: call ajaxScrollInit in shortlog
Alexander Plavin <alexander@plav.in>
parents: 19722
diff changeset
801 <td colspan="3" style="text-align: center;">%text%</td>\
da3808bcfbfa paper: call ajaxScrollInit in shortlog
Alexander Plavin <alexander@plav.in>
parents: 19722
diff changeset
802 </tr>'
da3808bcfbfa paper: call ajaxScrollInit in shortlog
Alexander Plavin <alexander@plav.in>
parents: 19722
diff changeset
803 );
da3808bcfbfa paper: call ajaxScrollInit in shortlog
Alexander Plavin <alexander@plav.in>
parents: 19722
diff changeset
804 </script>
da3808bcfbfa paper: call ajaxScrollInit in shortlog
Alexander Plavin <alexander@plav.in>
parents: 19722
diff changeset
805
12433
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
806 </div>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
807 </div>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
808
14046
b24e5a708fad web: Made elapsed time calculation dynamic (javascript).
Benoit Allard <benoit@aeteurope.nl>
parents: 13942
diff changeset
809 <script type="text/javascript">process_dates()</script>
12433
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
810
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
811
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
812 </body>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
813 </html>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
814
17017
953faba28e91 tests: prepare get-with-headers.py for MSYS
Mads Kiilerich <mads@kiilerich.com>
parents: 16913
diff changeset
815 $ "$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
816 200 Script output follows
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
817
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
818 <!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
819 <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
820 <head>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
821 <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
822 <meta name="robots" content="index, nofollow" />
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
823 <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
824 <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
825
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
826 <title>test: 2ef0ac749a14</title>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
827 </head>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
828 <body>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
829 <div class="container">
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
830 <div class="menu">
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
831 <div class="logo">
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
832 <a href="http://mercurial.selenic.com/">
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
833 <img src="/static/hglogo.png" alt="mercurial" /></a>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
834 </div>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
835 <ul>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
836 <li><a href="/shortlog/2ef0ac749a14">log</a></li>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
837 <li><a href="/graph/2ef0ac749a14">graph</a></li>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
838 <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
839 <li><a href="/bookmarks">bookmarks</a></li>
12433
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
840 <li><a href="/branches">branches</a></li>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
841 </ul>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
842 <ul>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
843 <li class="active">changeset</li>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
844 <li><a href="/raw-rev/2ef0ac749a14">raw</a></li>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
845 <li><a href="/file/2ef0ac749a14">browse</a></li>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
846 </ul>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
847 <ul>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
848
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
849 </ul>
12666
ead4e21f49f1 web: add a help view for getting hg help output
Augie Fackler <durin42@gmail.com>
parents: 12643
diff changeset
850 <ul>
ead4e21f49f1 web: add a help view for getting hg help output
Augie Fackler <durin42@gmail.com>
parents: 12643
diff changeset
851 <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
852 </ul>
12433
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
853 </div>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
854
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
855 <div class="main">
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
856
18264
d6ebdbdd70a5 tests: update hgweb tests to include breadcrumbs
Bryan O'Sullivan <bryano@fb.com>
parents: 18200
diff changeset
857 <h2 class="breadcrumb"><a href="/">Mercurial</a> </h2>
13922
b8dd2e95b0ca hgweb: sort bookmarks in the same manner as console command
Yuya Nishihara <yuya@tcha.org>
parents: 13921
diff changeset
858 <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
859
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
860 <form class="search" action="/log">
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
861
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
862 <p><input name="rev" id="search1" type="text" size="30" /></p>
19796
544848ef65f2 paper: edit search hint to include new feature description
Alexander Plavin <alexander@plav.in>
parents: 19795
diff changeset
863 <div id="hint">Find changesets by keywords (author, files, the commit message), revision
544848ef65f2 paper: edit search hint to include new feature description
Alexander Plavin <alexander@plav.in>
parents: 19795
diff changeset
864 number or hash, or <a href="/help/revsets">revset expression</a>.</div>
12433
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
865 </form>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
866
21486
16352b34e32e hgweb: apply websub filter to the changeset description in rss and atom feeds
Steven Brown <StevenGBrown@gmail.com>
parents: 21485
diff changeset
867 <div class="description">base(websub)</div>
12433
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
868
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
869 <table id="changesetEntry">
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
870 <tr>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
871 <th class="author">author</th>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
872 <td class="author">&#116;&#101;&#115;&#116;</td>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
873 </tr>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
874 <tr>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
875 <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
876 <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
877 <tr>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
878 <th class="author">parents</th>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
879 <td class="author"></td>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
880 </tr>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
881 <tr>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
882 <th class="author">children</th>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
883 <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
884 </tr>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
885 <tr>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
886 <th class="files">files</th>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
887 <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
888 </tr>
14571
17c0cb1045e5 paper, coal: display diffstat on the changeset page
Steven Brown <StevenGBrown@gmail.com>
parents: 14093
diff changeset
889 <tr>
17c0cb1045e5 paper, coal: display diffstat on the changeset page
Steven Brown <StevenGBrown@gmail.com>
parents: 14093
diff changeset
890 <th class="diffstat">diffstat</th>
17c0cb1045e5 paper, coal: display diffstat on the changeset page
Steven Brown <StevenGBrown@gmail.com>
parents: 14093
diff changeset
891 <td class="diffstat">
17c0cb1045e5 paper, coal: display diffstat on the changeset page
Steven Brown <StevenGBrown@gmail.com>
parents: 14093
diff changeset
892 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
893
19428
c3cdba6e5d7f hgweb: toggleDiffstat function instead of showDiffstat and hideDiffstat
Alexander Plavin <me@aplavin.ru>
parents: 19396
diff changeset
894 <a id="diffstatexpand" href="javascript:toggleDiffstat()"/>[<tt>+</tt>]</a>
14571
17c0cb1045e5 paper, coal: display diffstat on the changeset page
Steven Brown <StevenGBrown@gmail.com>
parents: 14093
diff changeset
895 <div id="diffstatdetails" style="display:none;">
19428
c3cdba6e5d7f hgweb: toggleDiffstat function instead of showDiffstat and hideDiffstat
Alexander Plavin <me@aplavin.ru>
parents: 19396
diff changeset
896 <a href="javascript:toggleDiffstat()"/>[<tt>-</tt>]</a>
23829
70cfa7e1611b hgweb: close <p> elements
Anton Shestakov <engored@ya.ru>
parents: 23505
diff changeset
897 <p></p>
19455
c229a5e7511e hgweb: make stripes in diffstat with CSS
Alexander Plavin <me@aplavin.ru>
parents: 19452
diff changeset
898 <table class="stripes2"> <tr>
14571
17c0cb1045e5 paper, coal: display diffstat on the changeset page
Steven Brown <StevenGBrown@gmail.com>
parents: 14093
diff changeset
899 <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
900 <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
901 <td class="diffstat-graph">
17c0cb1045e5 paper, coal: display diffstat on the changeset page
Steven Brown <StevenGBrown@gmail.com>
parents: 14093
diff changeset
902 <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
903 <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
904 </td>
17c0cb1045e5 paper, coal: display diffstat on the changeset page
Steven Brown <StevenGBrown@gmail.com>
parents: 14093
diff changeset
905 </tr>
19455
c229a5e7511e hgweb: make stripes in diffstat with CSS
Alexander Plavin <me@aplavin.ru>
parents: 19452
diff changeset
906 <tr>
14571
17c0cb1045e5 paper, coal: display diffstat on the changeset page
Steven Brown <StevenGBrown@gmail.com>
parents: 14093
diff changeset
907 <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
908 <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
909 <td class="diffstat-graph">
17c0cb1045e5 paper, coal: display diffstat on the changeset page
Steven Brown <StevenGBrown@gmail.com>
parents: 14093
diff changeset
910 <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
911 <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
912 </td>
17c0cb1045e5 paper, coal: display diffstat on the changeset page
Steven Brown <StevenGBrown@gmail.com>
parents: 14093
diff changeset
913 </tr>
17c0cb1045e5 paper, coal: display diffstat on the changeset page
Steven Brown <StevenGBrown@gmail.com>
parents: 14093
diff changeset
914 </table>
17c0cb1045e5 paper, coal: display diffstat on the changeset page
Steven Brown <StevenGBrown@gmail.com>
parents: 14093
diff changeset
915 </div>
17c0cb1045e5 paper, coal: display diffstat on the changeset page
Steven Brown <StevenGBrown@gmail.com>
parents: 14093
diff changeset
916 </td>
17c0cb1045e5 paper, coal: display diffstat on the changeset page
Steven Brown <StevenGBrown@gmail.com>
parents: 14093
diff changeset
917 </tr>
12433
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
918 </table>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
919
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
920 <div class="overflow">
19433
a79b21ece345 hgweb: add line wrapping switch to file diff and changeset views
Alexander Plavin <me@aplavin.ru>
parents: 19432
diff changeset
921 <div class="sourcefirst linewraptoggle">line wrap: <a class="linewraplink" href="javascript:toggleLinewrap()">on</a></div>
19432
e92d4b8530cb hgweb: file diff and changesets views behave like file source view
Alexander Plavin <me@aplavin.ru>
parents: 19431
diff changeset
922 <div class="sourcefirst"> line diff</div>
e92d4b8530cb hgweb: file diff and changesets views behave like file source view
Alexander Plavin <me@aplavin.ru>
parents: 19431
diff changeset
923 <div class="stripes2 diffblocks">
e92d4b8530cb hgweb: file diff and changesets views behave like file source view
Alexander Plavin <me@aplavin.ru>
parents: 19431
diff changeset
924 <div class="bottomline inc-lineno"><pre class="sourcelines wrap">
e92d4b8530cb hgweb: file diff and changesets views behave like file source view
Alexander Plavin <me@aplavin.ru>
parents: 19431
diff changeset
925 <span id="l1.1" class="minusline">--- /dev/null Thu Jan 01 00:00:00 1970 +0000</span><a href="#l1.1"></a>
e92d4b8530cb hgweb: file diff and changesets views behave like file source view
Alexander Plavin <me@aplavin.ru>
parents: 19431
diff changeset
926 <span id="l1.2" class="plusline">+++ b/da/foo Thu Jan 01 00:00:00 1970 +0000</span><a href="#l1.2"></a>
e92d4b8530cb hgweb: file diff and changesets views behave like file source view
Alexander Plavin <me@aplavin.ru>
parents: 19431
diff changeset
927 <span id="l1.3" class="atline">@@ -0,0 +1,1 @@</span><a href="#l1.3"></a>
e92d4b8530cb hgweb: file diff and changesets views behave like file source view
Alexander Plavin <me@aplavin.ru>
parents: 19431
diff changeset
928 <span id="l1.4" class="plusline">+foo</span><a href="#l1.4"></a></pre></div><div class="bottomline inc-lineno"><pre class="sourcelines wrap">
e92d4b8530cb hgweb: file diff and changesets views behave like file source view
Alexander Plavin <me@aplavin.ru>
parents: 19431
diff changeset
929 <span id="l2.1" class="minusline">--- /dev/null Thu Jan 01 00:00:00 1970 +0000</span><a href="#l2.1"></a>
e92d4b8530cb hgweb: file diff and changesets views behave like file source view
Alexander Plavin <me@aplavin.ru>
parents: 19431
diff changeset
930 <span id="l2.2" class="plusline">+++ b/foo Thu Jan 01 00:00:00 1970 +0000</span><a href="#l2.2"></a>
e92d4b8530cb hgweb: file diff and changesets views behave like file source view
Alexander Plavin <me@aplavin.ru>
parents: 19431
diff changeset
931 <span id="l2.3" class="atline">@@ -0,0 +1,1 @@</span><a href="#l2.3"></a>
e92d4b8530cb hgweb: file diff and changesets views behave like file source view
Alexander Plavin <me@aplavin.ru>
parents: 19431
diff changeset
932 <span id="l2.4" class="plusline">+foo</span><a href="#l2.4"></a></pre></div>
e92d4b8530cb hgweb: file diff and changesets views behave like file source view
Alexander Plavin <me@aplavin.ru>
parents: 19431
diff changeset
933 </div>
12433
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
934 </div>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
935
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
936 </div>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
937 </div>
14046
b24e5a708fad web: Made elapsed time calculation dynamic (javascript).
Benoit Allard <benoit@aeteurope.nl>
parents: 13942
diff changeset
938 <script type="text/javascript">process_dates()</script>
12433
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
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
941 </body>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
942 </html>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
943
17017
953faba28e91 tests: prepare get-with-headers.py for MSYS
Mads Kiilerich <mads@kiilerich.com>
parents: 16913
diff changeset
944 $ "$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
945 200 Script output follows
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
946
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
947
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
948 # HG changeset patch
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
949 # User test
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
950 # Date 0 0
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
951 # Node ID a4f92ed23982be056b9852de5dfe873eaac7f0de
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
952 # Parent 2ef0ac749a14e4f57a5a822464a0902c6f7f448f
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
953 Added tag 1.0 for changeset 2ef0ac749a14
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
954
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
955 diff -r 2ef0ac749a14 -r a4f92ed23982 .hgtags
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
956 --- /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
957 +++ 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
958 @@ -0,0 +1,1 @@
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
959 +2ef0ac749a14e4f57a5a822464a0902c6f7f448f 1.0
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
960
17017
953faba28e91 tests: prepare get-with-headers.py for MSYS
Mads Kiilerich <mads@kiilerich.com>
parents: 16913
diff changeset
961 $ "$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
962 200 Script output follows
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
963
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
964 <!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
965 <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
966 <head>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
967 <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
968 <meta name="robots" content="index, nofollow" />
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
969 <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
970 <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
971
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
972 <title>test: searching for base</title>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
973 </head>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
974 <body>
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 <div class="container">
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
977 <div class="menu">
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
978 <div class="logo">
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
979 <a href="http://mercurial.selenic.com/">
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
980 <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
981 </div>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
982 <ul>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
983 <li><a href="/shortlog">log</a></li>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
984 <li><a href="/graph">graph</a></li>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
985 <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
986 <li><a href="/bookmarks">bookmarks</a></li>
12433
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
987 <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
988 <li><a href="/help">help</a></li>
12433
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
989 </ul>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
990 </div>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
991
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
992 <div class="main">
18264
d6ebdbdd70a5 tests: update hgweb tests to include breadcrumbs
Bryan O'Sullivan <bryano@fb.com>
parents: 18200
diff changeset
993 <h2 class="breadcrumb"><a href="/">Mercurial</a> </h2>
12433
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
994 <h3>searching for 'base'</h3>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
995
19766
393e9f1fc4d2 paper: show current search mode name at search results
Alexander Plavin <alexander@plav.in>
parents: 19747
diff changeset
996 <p>
393e9f1fc4d2 paper: show current search mode name at search results
Alexander Plavin <alexander@plav.in>
parents: 19747
diff changeset
997 Assuming literal keyword search.
19768
186f54d40fdd hgweb: add link to force literal keyword search
Alexander Plavin <alexander@plav.in>
parents: 19767
diff changeset
998
186f54d40fdd hgweb: add link to force literal keyword search
Alexander Plavin <alexander@plav.in>
parents: 19767
diff changeset
999
19766
393e9f1fc4d2 paper: show current search mode name at search results
Alexander Plavin <alexander@plav.in>
parents: 19747
diff changeset
1000 </p>
393e9f1fc4d2 paper: show current search mode name at search results
Alexander Plavin <alexander@plav.in>
parents: 19747
diff changeset
1001
12433
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1002 <form class="search" action="/log">
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1003
19396
afc23eddc324 hgweb: show current search query in the input field
Alexander Plavin <me@aplavin.ru>
parents: 19387
diff changeset
1004 <p><input name="rev" id="search1" type="text" size="30" value="base"></p>
19796
544848ef65f2 paper: edit search hint to include new feature description
Alexander Plavin <alexander@plav.in>
parents: 19795
diff changeset
1005 <div id="hint">Find changesets by keywords (author, files, the commit message), revision
544848ef65f2 paper: edit search hint to include new feature description
Alexander Plavin <alexander@plav.in>
parents: 19795
diff changeset
1006 number or hash, or <a href="/help/revsets">revset expression</a>.</div>
12433
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1007 </form>
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 <div class="navigate">
23377
c00b156d6e76 templates: fix broken "less" & "more" links in paper style (issue4460)
Anton Shestakov <engored@ya.ru>
parents: 23045
diff changeset
1010 <a href="/log?rev=base&revcount=5">less</a>
c00b156d6e76 templates: fix broken "less" & "more" links in paper style (issue4460)
Anton Shestakov <engored@ya.ru>
parents: 23045
diff changeset
1011 <a href="/log?rev=base&revcount=20">more</a>
12433
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1012 </div>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1013
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1014 <table class="bigtable">
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1015 <tr>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1016 <th class="age">age</th>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1017 <th class="author">author</th>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1018 <th class="description">description</th>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1019 </tr>
19452
6f5556454edd hgweb: make stripes in log and search with CSS
Alexander Plavin <me@aplavin.ru>
parents: 19433
diff changeset
1020 <tbody class="stripes2">
6f5556454edd hgweb: make stripes in log and search with CSS
Alexander Plavin <me@aplavin.ru>
parents: 19433
diff changeset
1021 <tr>
15375
fe9d36a6853e hgweb: fix dynamic date calculation not working under Safari
Brodie Rao <brodie@bitheap.org>
parents: 14622
diff changeset
1022 <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
1023 <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
1024 <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
1025 </tr>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1026
19452
6f5556454edd hgweb: make stripes in log and search with CSS
Alexander Plavin <me@aplavin.ru>
parents: 19433
diff changeset
1027 </tbody>
12433
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1028 </table>
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 <div class="navigate">
23377
c00b156d6e76 templates: fix broken "less" & "more" links in paper style (issue4460)
Anton Shestakov <engored@ya.ru>
parents: 23045
diff changeset
1031 <a href="/log?rev=base&revcount=5">less</a>
c00b156d6e76 templates: fix broken "less" & "more" links in paper style (issue4460)
Anton Shestakov <engored@ya.ru>
parents: 23045
diff changeset
1032 <a href="/log?rev=base&revcount=20">more</a>
12433
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1033 </div>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1034
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1035 </div>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1036 </div>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1037
14046
b24e5a708fad web: Made elapsed time calculation dynamic (javascript).
Benoit Allard <benoit@aeteurope.nl>
parents: 13942
diff changeset
1038 <script type="text/javascript">process_dates()</script>
12433
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1039
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1040
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1041 </body>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1042 </html>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1043
19634
49a068b8fb0c hgweb: always run search when a query is entered (bc)
Alexander Plavin <alexander@plav.in>
parents: 19626
diff changeset
1044 $ "$TESTDIR/get-with-headers.py" 127.0.0.1:$HGPORT 'log?rev=stable&style=raw' | grep 'revision:'
49a068b8fb0c hgweb: always run search when a query is entered (bc)
Alexander Plavin <alexander@plav.in>
parents: 19626
diff changeset
1045 revision: 2
5590
05451f6b5f07 add more tests for hgweb commands
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents:
diff changeset
1046
19722
bf15935b68a3 hgweb: add revset syntax support to search
Alexander Plavin <alexander@plav.in>
parents: 19634
diff changeset
1047 Search with revset syntax
bf15935b68a3 hgweb: add revset syntax support to search
Alexander Plavin <alexander@plav.in>
parents: 19634
diff changeset
1048
bf15935b68a3 hgweb: add revset syntax support to search
Alexander Plavin <alexander@plav.in>
parents: 19634
diff changeset
1049 $ "$TESTDIR/get-with-headers.py" 127.0.0.1:$HGPORT 'log?rev=tip^&style=raw'
bf15935b68a3 hgweb: add revset syntax support to search
Alexander Plavin <alexander@plav.in>
parents: 19634
diff changeset
1050 200 Script output follows
bf15935b68a3 hgweb: add revset syntax support to search
Alexander Plavin <alexander@plav.in>
parents: 19634
diff changeset
1051
bf15935b68a3 hgweb: add revset syntax support to search
Alexander Plavin <alexander@plav.in>
parents: 19634
diff changeset
1052
bf15935b68a3 hgweb: add revset syntax support to search
Alexander Plavin <alexander@plav.in>
parents: 19634
diff changeset
1053 # HG changesets search
bf15935b68a3 hgweb: add revset syntax support to search
Alexander Plavin <alexander@plav.in>
parents: 19634
diff changeset
1054 # Node ID cad8025a2e87f88c06259790adfa15acb4080123
bf15935b68a3 hgweb: add revset syntax support to search
Alexander Plavin <alexander@plav.in>
parents: 19634
diff changeset
1055 # Query "tip^"
19767
d45010687268 raw: show current search mode name at search results
Alexander Plavin <alexander@plav.in>
parents: 19766
diff changeset
1056 # Mode revset expression search
19722
bf15935b68a3 hgweb: add revset syntax support to search
Alexander Plavin <alexander@plav.in>
parents: 19634
diff changeset
1057
bf15935b68a3 hgweb: add revset syntax support to search
Alexander Plavin <alexander@plav.in>
parents: 19634
diff changeset
1058 changeset: 1d22e65f027e5a0609357e7d8e7508cd2ba5d2fe
bf15935b68a3 hgweb: add revset syntax support to search
Alexander Plavin <alexander@plav.in>
parents: 19634
diff changeset
1059 revision: 2
bf15935b68a3 hgweb: add revset syntax support to search
Alexander Plavin <alexander@plav.in>
parents: 19634
diff changeset
1060 user: test
bf15935b68a3 hgweb: add revset syntax support to search
Alexander Plavin <alexander@plav.in>
parents: 19634
diff changeset
1061 date: Thu, 01 Jan 1970 00:00:00 +0000
bf15935b68a3 hgweb: add revset syntax support to search
Alexander Plavin <alexander@plav.in>
parents: 19634
diff changeset
1062 summary: branch
bf15935b68a3 hgweb: add revset syntax support to search
Alexander Plavin <alexander@plav.in>
parents: 19634
diff changeset
1063 branch: stable
bf15935b68a3 hgweb: add revset syntax support to search
Alexander Plavin <alexander@plav.in>
parents: 19634
diff changeset
1064
bf15935b68a3 hgweb: add revset syntax support to search
Alexander Plavin <alexander@plav.in>
parents: 19634
diff changeset
1065
bf15935b68a3 hgweb: add revset syntax support to search
Alexander Plavin <alexander@plav.in>
parents: 19634
diff changeset
1066 $ "$TESTDIR/get-with-headers.py" 127.0.0.1:$HGPORT 'log?rev=last(all(),2)^&style=raw'
bf15935b68a3 hgweb: add revset syntax support to search
Alexander Plavin <alexander@plav.in>
parents: 19634
diff changeset
1067 200 Script output follows
bf15935b68a3 hgweb: add revset syntax support to search
Alexander Plavin <alexander@plav.in>
parents: 19634
diff changeset
1068
bf15935b68a3 hgweb: add revset syntax support to search
Alexander Plavin <alexander@plav.in>
parents: 19634
diff changeset
1069
bf15935b68a3 hgweb: add revset syntax support to search
Alexander Plavin <alexander@plav.in>
parents: 19634
diff changeset
1070 # HG changesets search
bf15935b68a3 hgweb: add revset syntax support to search
Alexander Plavin <alexander@plav.in>
parents: 19634
diff changeset
1071 # Node ID cad8025a2e87f88c06259790adfa15acb4080123
bf15935b68a3 hgweb: add revset syntax support to search
Alexander Plavin <alexander@plav.in>
parents: 19634
diff changeset
1072 # Query "last(all(),2)^"
19767
d45010687268 raw: show current search mode name at search results
Alexander Plavin <alexander@plav.in>
parents: 19766
diff changeset
1073 # Mode revset expression search
19722
bf15935b68a3 hgweb: add revset syntax support to search
Alexander Plavin <alexander@plav.in>
parents: 19634
diff changeset
1074
bf15935b68a3 hgweb: add revset syntax support to search
Alexander Plavin <alexander@plav.in>
parents: 19634
diff changeset
1075 changeset: 1d22e65f027e5a0609357e7d8e7508cd2ba5d2fe
bf15935b68a3 hgweb: add revset syntax support to search
Alexander Plavin <alexander@plav.in>
parents: 19634
diff changeset
1076 revision: 2
bf15935b68a3 hgweb: add revset syntax support to search
Alexander Plavin <alexander@plav.in>
parents: 19634
diff changeset
1077 user: test
bf15935b68a3 hgweb: add revset syntax support to search
Alexander Plavin <alexander@plav.in>
parents: 19634
diff changeset
1078 date: Thu, 01 Jan 1970 00:00:00 +0000
bf15935b68a3 hgweb: add revset syntax support to search
Alexander Plavin <alexander@plav.in>
parents: 19634
diff changeset
1079 summary: branch
bf15935b68a3 hgweb: add revset syntax support to search
Alexander Plavin <alexander@plav.in>
parents: 19634
diff changeset
1080 branch: stable
bf15935b68a3 hgweb: add revset syntax support to search
Alexander Plavin <alexander@plav.in>
parents: 19634
diff changeset
1081
bf15935b68a3 hgweb: add revset syntax support to search
Alexander Plavin <alexander@plav.in>
parents: 19634
diff changeset
1082 changeset: a4f92ed23982be056b9852de5dfe873eaac7f0de
bf15935b68a3 hgweb: add revset syntax support to search
Alexander Plavin <alexander@plav.in>
parents: 19634
diff changeset
1083 revision: 1
bf15935b68a3 hgweb: add revset syntax support to search
Alexander Plavin <alexander@plav.in>
parents: 19634
diff changeset
1084 user: test
bf15935b68a3 hgweb: add revset syntax support to search
Alexander Plavin <alexander@plav.in>
parents: 19634
diff changeset
1085 date: Thu, 01 Jan 1970 00:00:00 +0000
bf15935b68a3 hgweb: add revset syntax support to search
Alexander Plavin <alexander@plav.in>
parents: 19634
diff changeset
1086 summary: Added tag 1.0 for changeset 2ef0ac749a14
bf15935b68a3 hgweb: add revset syntax support to search
Alexander Plavin <alexander@plav.in>
parents: 19634
diff changeset
1087 branch: default
bf15935b68a3 hgweb: add revset syntax support to search
Alexander Plavin <alexander@plav.in>
parents: 19634
diff changeset
1088
bf15935b68a3 hgweb: add revset syntax support to search
Alexander Plavin <alexander@plav.in>
parents: 19634
diff changeset
1089
bf15935b68a3 hgweb: add revset syntax support to search
Alexander Plavin <alexander@plav.in>
parents: 19634
diff changeset
1090 $ "$TESTDIR/get-with-headers.py" 127.0.0.1:$HGPORT 'log?rev=last(all(,2)^&style=raw'
bf15935b68a3 hgweb: add revset syntax support to search
Alexander Plavin <alexander@plav.in>
parents: 19634
diff changeset
1091 200 Script output follows
bf15935b68a3 hgweb: add revset syntax support to search
Alexander Plavin <alexander@plav.in>
parents: 19634
diff changeset
1092
bf15935b68a3 hgweb: add revset syntax support to search
Alexander Plavin <alexander@plav.in>
parents: 19634
diff changeset
1093
bf15935b68a3 hgweb: add revset syntax support to search
Alexander Plavin <alexander@plav.in>
parents: 19634
diff changeset
1094 # HG changesets search
bf15935b68a3 hgweb: add revset syntax support to search
Alexander Plavin <alexander@plav.in>
parents: 19634
diff changeset
1095 # Node ID cad8025a2e87f88c06259790adfa15acb4080123
bf15935b68a3 hgweb: add revset syntax support to search
Alexander Plavin <alexander@plav.in>
parents: 19634
diff changeset
1096 # Query "last(all(,2)^"
19767
d45010687268 raw: show current search mode name at search results
Alexander Plavin <alexander@plav.in>
parents: 19766
diff changeset
1097 # Mode literal keyword search
19722
bf15935b68a3 hgweb: add revset syntax support to search
Alexander Plavin <alexander@plav.in>
parents: 19634
diff changeset
1098
bf15935b68a3 hgweb: add revset syntax support to search
Alexander Plavin <alexander@plav.in>
parents: 19634
diff changeset
1099
bf15935b68a3 hgweb: add revset syntax support to search
Alexander Plavin <alexander@plav.in>
parents: 19634
diff changeset
1100 $ "$TESTDIR/get-with-headers.py" 127.0.0.1:$HGPORT 'log?rev=last(al(),2)^&style=raw'
bf15935b68a3 hgweb: add revset syntax support to search
Alexander Plavin <alexander@plav.in>
parents: 19634
diff changeset
1101 200 Script output follows
bf15935b68a3 hgweb: add revset syntax support to search
Alexander Plavin <alexander@plav.in>
parents: 19634
diff changeset
1102
bf15935b68a3 hgweb: add revset syntax support to search
Alexander Plavin <alexander@plav.in>
parents: 19634
diff changeset
1103
bf15935b68a3 hgweb: add revset syntax support to search
Alexander Plavin <alexander@plav.in>
parents: 19634
diff changeset
1104 # HG changesets search
bf15935b68a3 hgweb: add revset syntax support to search
Alexander Plavin <alexander@plav.in>
parents: 19634
diff changeset
1105 # Node ID cad8025a2e87f88c06259790adfa15acb4080123
bf15935b68a3 hgweb: add revset syntax support to search
Alexander Plavin <alexander@plav.in>
parents: 19634
diff changeset
1106 # Query "last(al(),2)^"
19767
d45010687268 raw: show current search mode name at search results
Alexander Plavin <alexander@plav.in>
parents: 19766
diff changeset
1107 # Mode literal keyword search
19722
bf15935b68a3 hgweb: add revset syntax support to search
Alexander Plavin <alexander@plav.in>
parents: 19634
diff changeset
1108
bf15935b68a3 hgweb: add revset syntax support to search
Alexander Plavin <alexander@plav.in>
parents: 19634
diff changeset
1109
bf15935b68a3 hgweb: add revset syntax support to search
Alexander Plavin <alexander@plav.in>
parents: 19634
diff changeset
1110 $ "$TESTDIR/get-with-headers.py" 127.0.0.1:$HGPORT 'log?rev=bookmark(anotherthing)&style=raw'
bf15935b68a3 hgweb: add revset syntax support to search
Alexander Plavin <alexander@plav.in>
parents: 19634
diff changeset
1111 200 Script output follows
bf15935b68a3 hgweb: add revset syntax support to search
Alexander Plavin <alexander@plav.in>
parents: 19634
diff changeset
1112
bf15935b68a3 hgweb: add revset syntax support to search
Alexander Plavin <alexander@plav.in>
parents: 19634
diff changeset
1113
bf15935b68a3 hgweb: add revset syntax support to search
Alexander Plavin <alexander@plav.in>
parents: 19634
diff changeset
1114 # HG changesets search
bf15935b68a3 hgweb: add revset syntax support to search
Alexander Plavin <alexander@plav.in>
parents: 19634
diff changeset
1115 # Node ID cad8025a2e87f88c06259790adfa15acb4080123
bf15935b68a3 hgweb: add revset syntax support to search
Alexander Plavin <alexander@plav.in>
parents: 19634
diff changeset
1116 # Query "bookmark(anotherthing)"
19767
d45010687268 raw: show current search mode name at search results
Alexander Plavin <alexander@plav.in>
parents: 19766
diff changeset
1117 # Mode revset expression search
19722
bf15935b68a3 hgweb: add revset syntax support to search
Alexander Plavin <alexander@plav.in>
parents: 19634
diff changeset
1118
bf15935b68a3 hgweb: add revset syntax support to search
Alexander Plavin <alexander@plav.in>
parents: 19634
diff changeset
1119 changeset: 2ef0ac749a14e4f57a5a822464a0902c6f7f448f
bf15935b68a3 hgweb: add revset syntax support to search
Alexander Plavin <alexander@plav.in>
parents: 19634
diff changeset
1120 revision: 0
bf15935b68a3 hgweb: add revset syntax support to search
Alexander Plavin <alexander@plav.in>
parents: 19634
diff changeset
1121 user: test
bf15935b68a3 hgweb: add revset syntax support to search
Alexander Plavin <alexander@plav.in>
parents: 19634
diff changeset
1122 date: Thu, 01 Jan 1970 00:00:00 +0000
bf15935b68a3 hgweb: add revset syntax support to search
Alexander Plavin <alexander@plav.in>
parents: 19634
diff changeset
1123 summary: base
bf15935b68a3 hgweb: add revset syntax support to search
Alexander Plavin <alexander@plav.in>
parents: 19634
diff changeset
1124 tag: 1.0
bf15935b68a3 hgweb: add revset syntax support to search
Alexander Plavin <alexander@plav.in>
parents: 19634
diff changeset
1125 bookmark: anotherthing
bf15935b68a3 hgweb: add revset syntax support to search
Alexander Plavin <alexander@plav.in>
parents: 19634
diff changeset
1126
bf15935b68a3 hgweb: add revset syntax support to search
Alexander Plavin <alexander@plav.in>
parents: 19634
diff changeset
1127
bf15935b68a3 hgweb: add revset syntax support to search
Alexander Plavin <alexander@plav.in>
parents: 19634
diff changeset
1128 $ "$TESTDIR/get-with-headers.py" 127.0.0.1:$HGPORT 'log?rev=bookmark(abc)&style=raw'
bf15935b68a3 hgweb: add revset syntax support to search
Alexander Plavin <alexander@plav.in>
parents: 19634
diff changeset
1129 200 Script output follows
bf15935b68a3 hgweb: add revset syntax support to search
Alexander Plavin <alexander@plav.in>
parents: 19634
diff changeset
1130
bf15935b68a3 hgweb: add revset syntax support to search
Alexander Plavin <alexander@plav.in>
parents: 19634
diff changeset
1131
bf15935b68a3 hgweb: add revset syntax support to search
Alexander Plavin <alexander@plav.in>
parents: 19634
diff changeset
1132 # HG changesets search
bf15935b68a3 hgweb: add revset syntax support to search
Alexander Plavin <alexander@plav.in>
parents: 19634
diff changeset
1133 # Node ID cad8025a2e87f88c06259790adfa15acb4080123
bf15935b68a3 hgweb: add revset syntax support to search
Alexander Plavin <alexander@plav.in>
parents: 19634
diff changeset
1134 # Query "bookmark(abc)"
19767
d45010687268 raw: show current search mode name at search results
Alexander Plavin <alexander@plav.in>
parents: 19766
diff changeset
1135 # Mode literal keyword search
19722
bf15935b68a3 hgweb: add revset syntax support to search
Alexander Plavin <alexander@plav.in>
parents: 19634
diff changeset
1136
bf15935b68a3 hgweb: add revset syntax support to search
Alexander Plavin <alexander@plav.in>
parents: 19634
diff changeset
1137
bf15935b68a3 hgweb: add revset syntax support to search
Alexander Plavin <alexander@plav.in>
parents: 19634
diff changeset
1138 $ "$TESTDIR/get-with-headers.py" 127.0.0.1:$HGPORT 'log?rev=deadbeef:&style=raw'
bf15935b68a3 hgweb: add revset syntax support to search
Alexander Plavin <alexander@plav.in>
parents: 19634
diff changeset
1139 200 Script output follows
bf15935b68a3 hgweb: add revset syntax support to search
Alexander Plavin <alexander@plav.in>
parents: 19634
diff changeset
1140
bf15935b68a3 hgweb: add revset syntax support to search
Alexander Plavin <alexander@plav.in>
parents: 19634
diff changeset
1141
bf15935b68a3 hgweb: add revset syntax support to search
Alexander Plavin <alexander@plav.in>
parents: 19634
diff changeset
1142 # HG changesets search
bf15935b68a3 hgweb: add revset syntax support to search
Alexander Plavin <alexander@plav.in>
parents: 19634
diff changeset
1143 # Node ID cad8025a2e87f88c06259790adfa15acb4080123
bf15935b68a3 hgweb: add revset syntax support to search
Alexander Plavin <alexander@plav.in>
parents: 19634
diff changeset
1144 # Query "deadbeef:"
19767
d45010687268 raw: show current search mode name at search results
Alexander Plavin <alexander@plav.in>
parents: 19766
diff changeset
1145 # Mode literal keyword search
19722
bf15935b68a3 hgweb: add revset syntax support to search
Alexander Plavin <alexander@plav.in>
parents: 19634
diff changeset
1146
bf15935b68a3 hgweb: add revset syntax support to search
Alexander Plavin <alexander@plav.in>
parents: 19634
diff changeset
1147
bf15935b68a3 hgweb: add revset syntax support to search
Alexander Plavin <alexander@plav.in>
parents: 19634
diff changeset
1148
bf15935b68a3 hgweb: add revset syntax support to search
Alexander Plavin <alexander@plav.in>
parents: 19634
diff changeset
1149 $ "$TESTDIR/get-with-headers.py" 127.0.0.1:$HGPORT 'log?rev=user("test")&style=raw'
bf15935b68a3 hgweb: add revset syntax support to search
Alexander Plavin <alexander@plav.in>
parents: 19634
diff changeset
1150 200 Script output follows
bf15935b68a3 hgweb: add revset syntax support to search
Alexander Plavin <alexander@plav.in>
parents: 19634
diff changeset
1151
bf15935b68a3 hgweb: add revset syntax support to search
Alexander Plavin <alexander@plav.in>
parents: 19634
diff changeset
1152
bf15935b68a3 hgweb: add revset syntax support to search
Alexander Plavin <alexander@plav.in>
parents: 19634
diff changeset
1153 # HG changesets search
bf15935b68a3 hgweb: add revset syntax support to search
Alexander Plavin <alexander@plav.in>
parents: 19634
diff changeset
1154 # Node ID cad8025a2e87f88c06259790adfa15acb4080123
bf15935b68a3 hgweb: add revset syntax support to search
Alexander Plavin <alexander@plav.in>
parents: 19634
diff changeset
1155 # Query "user("test")"
19767
d45010687268 raw: show current search mode name at search results
Alexander Plavin <alexander@plav.in>
parents: 19766
diff changeset
1156 # Mode revset expression search
19722
bf15935b68a3 hgweb: add revset syntax support to search
Alexander Plavin <alexander@plav.in>
parents: 19634
diff changeset
1157
bf15935b68a3 hgweb: add revset syntax support to search
Alexander Plavin <alexander@plav.in>
parents: 19634
diff changeset
1158 changeset: cad8025a2e87f88c06259790adfa15acb4080123
bf15935b68a3 hgweb: add revset syntax support to search
Alexander Plavin <alexander@plav.in>
parents: 19634
diff changeset
1159 revision: 3
bf15935b68a3 hgweb: add revset syntax support to search
Alexander Plavin <alexander@plav.in>
parents: 19634
diff changeset
1160 user: test
bf15935b68a3 hgweb: add revset syntax support to search
Alexander Plavin <alexander@plav.in>
parents: 19634
diff changeset
1161 date: Thu, 01 Jan 1970 00:00:00 +0000
bf15935b68a3 hgweb: add revset syntax support to search
Alexander Plavin <alexander@plav.in>
parents: 19634
diff changeset
1162 summary: branch commit with null character: \x00 (esc)
bf15935b68a3 hgweb: add revset syntax support to search
Alexander Plavin <alexander@plav.in>
parents: 19634
diff changeset
1163 branch: unstable
bf15935b68a3 hgweb: add revset syntax support to search
Alexander Plavin <alexander@plav.in>
parents: 19634
diff changeset
1164 tag: tip
bf15935b68a3 hgweb: add revset syntax support to search
Alexander Plavin <alexander@plav.in>
parents: 19634
diff changeset
1165 bookmark: something
bf15935b68a3 hgweb: add revset syntax support to search
Alexander Plavin <alexander@plav.in>
parents: 19634
diff changeset
1166
bf15935b68a3 hgweb: add revset syntax support to search
Alexander Plavin <alexander@plav.in>
parents: 19634
diff changeset
1167 changeset: 1d22e65f027e5a0609357e7d8e7508cd2ba5d2fe
bf15935b68a3 hgweb: add revset syntax support to search
Alexander Plavin <alexander@plav.in>
parents: 19634
diff changeset
1168 revision: 2
bf15935b68a3 hgweb: add revset syntax support to search
Alexander Plavin <alexander@plav.in>
parents: 19634
diff changeset
1169 user: test
bf15935b68a3 hgweb: add revset syntax support to search
Alexander Plavin <alexander@plav.in>
parents: 19634
diff changeset
1170 date: Thu, 01 Jan 1970 00:00:00 +0000
bf15935b68a3 hgweb: add revset syntax support to search
Alexander Plavin <alexander@plav.in>
parents: 19634
diff changeset
1171 summary: branch
bf15935b68a3 hgweb: add revset syntax support to search
Alexander Plavin <alexander@plav.in>
parents: 19634
diff changeset
1172 branch: stable
bf15935b68a3 hgweb: add revset syntax support to search
Alexander Plavin <alexander@plav.in>
parents: 19634
diff changeset
1173
bf15935b68a3 hgweb: add revset syntax support to search
Alexander Plavin <alexander@plav.in>
parents: 19634
diff changeset
1174 changeset: a4f92ed23982be056b9852de5dfe873eaac7f0de
bf15935b68a3 hgweb: add revset syntax support to search
Alexander Plavin <alexander@plav.in>
parents: 19634
diff changeset
1175 revision: 1
bf15935b68a3 hgweb: add revset syntax support to search
Alexander Plavin <alexander@plav.in>
parents: 19634
diff changeset
1176 user: test
bf15935b68a3 hgweb: add revset syntax support to search
Alexander Plavin <alexander@plav.in>
parents: 19634
diff changeset
1177 date: Thu, 01 Jan 1970 00:00:00 +0000
bf15935b68a3 hgweb: add revset syntax support to search
Alexander Plavin <alexander@plav.in>
parents: 19634
diff changeset
1178 summary: Added tag 1.0 for changeset 2ef0ac749a14
bf15935b68a3 hgweb: add revset syntax support to search
Alexander Plavin <alexander@plav.in>
parents: 19634
diff changeset
1179 branch: default
bf15935b68a3 hgweb: add revset syntax support to search
Alexander Plavin <alexander@plav.in>
parents: 19634
diff changeset
1180
bf15935b68a3 hgweb: add revset syntax support to search
Alexander Plavin <alexander@plav.in>
parents: 19634
diff changeset
1181 changeset: 2ef0ac749a14e4f57a5a822464a0902c6f7f448f
bf15935b68a3 hgweb: add revset syntax support to search
Alexander Plavin <alexander@plav.in>
parents: 19634
diff changeset
1182 revision: 0
bf15935b68a3 hgweb: add revset syntax support to search
Alexander Plavin <alexander@plav.in>
parents: 19634
diff changeset
1183 user: test
bf15935b68a3 hgweb: add revset syntax support to search
Alexander Plavin <alexander@plav.in>
parents: 19634
diff changeset
1184 date: Thu, 01 Jan 1970 00:00:00 +0000
bf15935b68a3 hgweb: add revset syntax support to search
Alexander Plavin <alexander@plav.in>
parents: 19634
diff changeset
1185 summary: base
bf15935b68a3 hgweb: add revset syntax support to search
Alexander Plavin <alexander@plav.in>
parents: 19634
diff changeset
1186 tag: 1.0
bf15935b68a3 hgweb: add revset syntax support to search
Alexander Plavin <alexander@plav.in>
parents: 19634
diff changeset
1187 bookmark: anotherthing
bf15935b68a3 hgweb: add revset syntax support to search
Alexander Plavin <alexander@plav.in>
parents: 19634
diff changeset
1188
bf15935b68a3 hgweb: add revset syntax support to search
Alexander Plavin <alexander@plav.in>
parents: 19634
diff changeset
1189
bf15935b68a3 hgweb: add revset syntax support to search
Alexander Plavin <alexander@plav.in>
parents: 19634
diff changeset
1190 $ "$TESTDIR/get-with-headers.py" 127.0.0.1:$HGPORT 'log?rev=user("re:test")&style=raw'
bf15935b68a3 hgweb: add revset syntax support to search
Alexander Plavin <alexander@plav.in>
parents: 19634
diff changeset
1191 200 Script output follows
bf15935b68a3 hgweb: add revset syntax support to search
Alexander Plavin <alexander@plav.in>
parents: 19634
diff changeset
1192
bf15935b68a3 hgweb: add revset syntax support to search
Alexander Plavin <alexander@plav.in>
parents: 19634
diff changeset
1193
bf15935b68a3 hgweb: add revset syntax support to search
Alexander Plavin <alexander@plav.in>
parents: 19634
diff changeset
1194 # HG changesets search
bf15935b68a3 hgweb: add revset syntax support to search
Alexander Plavin <alexander@plav.in>
parents: 19634
diff changeset
1195 # Node ID cad8025a2e87f88c06259790adfa15acb4080123
bf15935b68a3 hgweb: add revset syntax support to search
Alexander Plavin <alexander@plav.in>
parents: 19634
diff changeset
1196 # Query "user("re:test")"
19767
d45010687268 raw: show current search mode name at search results
Alexander Plavin <alexander@plav.in>
parents: 19766
diff changeset
1197 # Mode literal keyword search
19722
bf15935b68a3 hgweb: add revset syntax support to search
Alexander Plavin <alexander@plav.in>
parents: 19634
diff changeset
1198
bf15935b68a3 hgweb: add revset syntax support to search
Alexander Plavin <alexander@plav.in>
parents: 19634
diff changeset
1199
bf15935b68a3 hgweb: add revset syntax support to search
Alexander Plavin <alexander@plav.in>
parents: 19634
diff changeset
1200
12433
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1201 File-related
5590
05451f6b5f07 add more tests for hgweb commands
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents:
diff changeset
1202
17017
953faba28e91 tests: prepare get-with-headers.py for MSYS
Mads Kiilerich <mads@kiilerich.com>
parents: 16913
diff changeset
1203 $ "$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
1204 200 Script output follows
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1205
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1206 foo
17017
953faba28e91 tests: prepare get-with-headers.py for MSYS
Mads Kiilerich <mads@kiilerich.com>
parents: 16913
diff changeset
1207 $ "$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
1208 200 Script output follows
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1209
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1210
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1211 test@0: foo
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1212
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1213
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1214
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1215
17017
953faba28e91 tests: prepare get-with-headers.py for MSYS
Mads Kiilerich <mads@kiilerich.com>
parents: 16913
diff changeset
1216 $ "$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
1217 200 Script output follows
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1218
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1219
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1220 drwxr-xr-x da
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1221 -rw-r--r-- 45 .hgtags
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1222 -rw-r--r-- 4 foo
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1223
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1224
21122
50981ce36236 hgweb: show as same parents as "hg parents -r REV FILE" in pages for file
FUJIWARA Katsunori <foozy@lares.dti.ne.jp>
parents: 21120
diff changeset
1225 $ hg log --template "{file_mods}\n" -r 1
50981ce36236 hgweb: show as same parents as "hg parents -r REV FILE" in pages for file
FUJIWARA Katsunori <foozy@lares.dti.ne.jp>
parents: 21120
diff changeset
1226
50981ce36236 hgweb: show as same parents as "hg parents -r REV FILE" in pages for file
FUJIWARA Katsunori <foozy@lares.dti.ne.jp>
parents: 21120
diff changeset
1227 $ hg parents --template "{node|short}\n" -r 1
50981ce36236 hgweb: show as same parents as "hg parents -r REV FILE" in pages for file
FUJIWARA Katsunori <foozy@lares.dti.ne.jp>
parents: 21120
diff changeset
1228 2ef0ac749a14
50981ce36236 hgweb: show as same parents as "hg parents -r REV FILE" in pages for file
FUJIWARA Katsunori <foozy@lares.dti.ne.jp>
parents: 21120
diff changeset
1229 $ hg parents --template "{node|short}\n" -r 1 foo
50981ce36236 hgweb: show as same parents as "hg parents -r REV FILE" in pages for file
FUJIWARA Katsunori <foozy@lares.dti.ne.jp>
parents: 21120
diff changeset
1230 2ef0ac749a14
50981ce36236 hgweb: show as same parents as "hg parents -r REV FILE" in pages for file
FUJIWARA Katsunori <foozy@lares.dti.ne.jp>
parents: 21120
diff changeset
1231
17017
953faba28e91 tests: prepare get-with-headers.py for MSYS
Mads Kiilerich <mads@kiilerich.com>
parents: 16913
diff changeset
1232 $ "$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
1233 200 Script output follows
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 <!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
1236 <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
1237 <head>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1238 <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
1239 <meta name="robots" content="index, nofollow" />
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1240 <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
1241 <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
1242
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1243 <title>test: a4f92ed23982 foo</title>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1244 </head>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1245 <body>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1246
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1247 <div class="container">
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1248 <div class="menu">
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1249 <div class="logo">
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1250 <a href="http://mercurial.selenic.com/">
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1251 <img src="/static/hglogo.png" alt="mercurial" /></a>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1252 </div>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1253 <ul>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1254 <li><a href="/shortlog/a4f92ed23982">log</a></li>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1255 <li><a href="/graph/a4f92ed23982">graph</a></li>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1256 <li><a href="/tags">tags</a></li>
21120
9ea9e94c7492 hgweb: fix lack of "bookmarks" link in "/file" page of "paper" style
FUJIWARA Katsunori <foozy@lares.dti.ne.jp>
parents: 21117
diff changeset
1257 <li><a href="/bookmarks">bookmarks</a></li>
12433
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1258 <li><a href="/branches">branches</a></li>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1259 </ul>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1260 <ul>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1261 <li><a href="/rev/a4f92ed23982">changeset</a></li>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1262 <li><a href="/file/a4f92ed23982/">browse</a></li>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1263 </ul>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1264 <ul>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1265 <li class="active">file</li>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1266 <li><a href="/file/tip/foo">latest</a></li>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1267 <li><a href="/diff/a4f92ed23982/foo">diff</a></li>
17202
1ae119269ddc hgweb: side-by-side comparison functionality
wujek srujek
parents: 17017
diff changeset
1268 <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
1269 <li><a href="/annotate/a4f92ed23982/foo">annotate</a></li>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1270 <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
1271 <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
1272 </ul>
12680
d664547ef540 hgweb: add help link to templates missed in ead4e21f49f1
Augie Fackler <durin42@gmail.com>
parents: 12666
diff changeset
1273 <ul>
d664547ef540 hgweb: add help link to templates missed in ead4e21f49f1
Augie Fackler <durin42@gmail.com>
parents: 12666
diff changeset
1274 <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
1275 </ul>
12433
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1276 </div>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1277
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1278 <div class="main">
18264
d6ebdbdd70a5 tests: update hgweb tests to include breadcrumbs
Bryan O'Sullivan <bryano@fb.com>
parents: 18200
diff changeset
1279 <h2 class="breadcrumb"><a href="/">Mercurial</a> </h2>
12433
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1280 <h3>view foo @ 1:a4f92ed23982</h3>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1281
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1282 <form class="search" action="/log">
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1283
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1284 <p><input name="rev" id="search1" type="text" size="30" /></p>
19796
544848ef65f2 paper: edit search hint to include new feature description
Alexander Plavin <alexander@plav.in>
parents: 19795
diff changeset
1285 <div id="hint">Find changesets by keywords (author, files, the commit message), revision
544848ef65f2 paper: edit search hint to include new feature description
Alexander Plavin <alexander@plav.in>
parents: 19795
diff changeset
1286 number or hash, or <a href="/help/revsets">revset expression</a>.</div>
12433
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1287 </form>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1288
21486
16352b34e32e hgweb: apply websub filter to the changeset description in rss and atom feeds
Steven Brown <StevenGBrown@gmail.com>
parents: 21485
diff changeset
1289 <div class="description">Added tag 1.0 for changeset 2ef0ac749a14(websub)</div>
12433
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1290
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1291 <table id="changesetEntry">
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1292 <tr>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1293 <th class="author">author</th>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1294 <td class="author">&#116;&#101;&#115;&#116;</td>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1295 </tr>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1296 <tr>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1297 <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
1298 <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
1299 </tr>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1300 <tr>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1301 <th class="author">parents</th>
21122
50981ce36236 hgweb: show as same parents as "hg parents -r REV FILE" in pages for file
FUJIWARA Katsunori <foozy@lares.dti.ne.jp>
parents: 21120
diff changeset
1302 <td class="author"><a href="/file/2ef0ac749a14/foo">2ef0ac749a14</a> </td>
12433
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1303 </tr>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1304 <tr>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1305 <th class="author">children</th>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1306 <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
1307 </tr>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1308 </table>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1309
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1310 <div class="overflow">
19430
5ec5097b4c0f hgweb: add line wrapping switch to file source view
Alexander Plavin <me@aplavin.ru>
parents: 19428
diff changeset
1311 <div class="sourcefirst linewraptoggle">line wrap: <a class="linewraplink" href="javascript:toggleLinewrap()">on</a></div>
12433
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1312 <div class="sourcefirst"> line source</div>
19431
b8ecc3830c89 hgweb: introduce separate classes for stripey background
Alexander Plavin <me@aplavin.ru>
parents: 19430
diff changeset
1313 <pre class="sourcelines stripes4 wrap">
19387
f2e4fdb3dd27 hgweb: code selection without line numbers in file source view
Alexander Plavin <me@aplavin.ru>
parents: 19094
diff changeset
1314 <span id="l1">foo</span><a href="#l1"></a></pre>
12433
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1315 <div class="sourcelast"></div>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1316 </div>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1317 </div>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1318 </div>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1319
14046
b24e5a708fad web: Made elapsed time calculation dynamic (javascript).
Benoit Allard <benoit@aeteurope.nl>
parents: 13942
diff changeset
1320 <script type="text/javascript">process_dates()</script>
12433
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1321
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1322
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1323 </body>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1324 </html>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1325
17017
953faba28e91 tests: prepare get-with-headers.py for MSYS
Mads Kiilerich <mads@kiilerich.com>
parents: 16913
diff changeset
1326 $ "$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
1327 200 Script output follows
7bf48bc7de23 hgweb: fix filediff base calculation
Matt Mackall <mpm@selenic.com>
parents: 16361
diff changeset
1328
7bf48bc7de23 hgweb: fix filediff base calculation
Matt Mackall <mpm@selenic.com>
parents: 16361
diff changeset
1329
7bf48bc7de23 hgweb: fix filediff base calculation
Matt Mackall <mpm@selenic.com>
parents: 16361
diff changeset
1330 diff -r 000000000000 -r 2ef0ac749a14 foo
7bf48bc7de23 hgweb: fix filediff base calculation
Matt Mackall <mpm@selenic.com>
parents: 16361
diff changeset
1331 --- /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
1332 +++ 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
1333 @@ -0,0 +1,1 @@
7bf48bc7de23 hgweb: fix filediff base calculation
Matt Mackall <mpm@selenic.com>
parents: 16361
diff changeset
1334 +foo
7bf48bc7de23 hgweb: fix filediff base calculation
Matt Mackall <mpm@selenic.com>
parents: 16361
diff changeset
1335
7bf48bc7de23 hgweb: fix filediff base calculation
Matt Mackall <mpm@selenic.com>
parents: 16361
diff changeset
1336
7bf48bc7de23 hgweb: fix filediff base calculation
Matt Mackall <mpm@selenic.com>
parents: 16361
diff changeset
1337
7bf48bc7de23 hgweb: fix filediff base calculation
Matt Mackall <mpm@selenic.com>
parents: 16361
diff changeset
1338
7bf48bc7de23 hgweb: fix filediff base calculation
Matt Mackall <mpm@selenic.com>
parents: 16361
diff changeset
1339
17017
953faba28e91 tests: prepare get-with-headers.py for MSYS
Mads Kiilerich <mads@kiilerich.com>
parents: 16913
diff changeset
1340 $ "$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
1341 200 Script output follows
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1342
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1343
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1344
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1345
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1346
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1347
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1348
21122
50981ce36236 hgweb: show as same parents as "hg parents -r REV FILE" in pages for file
FUJIWARA Katsunori <foozy@lares.dti.ne.jp>
parents: 21120
diff changeset
1349 $ hg log --template "{file_mods}\n" -r 2
50981ce36236 hgweb: show as same parents as "hg parents -r REV FILE" in pages for file
FUJIWARA Katsunori <foozy@lares.dti.ne.jp>
parents: 21120
diff changeset
1350 foo
50981ce36236 hgweb: show as same parents as "hg parents -r REV FILE" in pages for file
FUJIWARA Katsunori <foozy@lares.dti.ne.jp>
parents: 21120
diff changeset
1351 $ hg parents --template "{node|short}\n" -r 2
50981ce36236 hgweb: show as same parents as "hg parents -r REV FILE" in pages for file
FUJIWARA Katsunori <foozy@lares.dti.ne.jp>
parents: 21120
diff changeset
1352 a4f92ed23982
50981ce36236 hgweb: show as same parents as "hg parents -r REV FILE" in pages for file
FUJIWARA Katsunori <foozy@lares.dti.ne.jp>
parents: 21120
diff changeset
1353 $ hg parents --template "{node|short}\n" -r 2 foo
50981ce36236 hgweb: show as same parents as "hg parents -r REV FILE" in pages for file
FUJIWARA Katsunori <foozy@lares.dti.ne.jp>
parents: 21120
diff changeset
1354 2ef0ac749a14
50981ce36236 hgweb: show as same parents as "hg parents -r REV FILE" in pages for file
FUJIWARA Katsunori <foozy@lares.dti.ne.jp>
parents: 21120
diff changeset
1355
50981ce36236 hgweb: show as same parents as "hg parents -r REV FILE" in pages for file
FUJIWARA Katsunori <foozy@lares.dti.ne.jp>
parents: 21120
diff changeset
1356 $ "$TESTDIR/get-with-headers.py" 127.0.0.1:$HGPORT 'file/2/foo'
50981ce36236 hgweb: show as same parents as "hg parents -r REV FILE" in pages for file
FUJIWARA Katsunori <foozy@lares.dti.ne.jp>
parents: 21120
diff changeset
1357 200 Script output follows
50981ce36236 hgweb: show as same parents as "hg parents -r REV FILE" in pages for file
FUJIWARA Katsunori <foozy@lares.dti.ne.jp>
parents: 21120
diff changeset
1358
50981ce36236 hgweb: show as same parents as "hg parents -r REV FILE" in pages for file
FUJIWARA Katsunori <foozy@lares.dti.ne.jp>
parents: 21120
diff changeset
1359 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
50981ce36236 hgweb: show as same parents as "hg parents -r REV FILE" in pages for file
FUJIWARA Katsunori <foozy@lares.dti.ne.jp>
parents: 21120
diff changeset
1360 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en-US">
50981ce36236 hgweb: show as same parents as "hg parents -r REV FILE" in pages for file
FUJIWARA Katsunori <foozy@lares.dti.ne.jp>
parents: 21120
diff changeset
1361 <head>
50981ce36236 hgweb: show as same parents as "hg parents -r REV FILE" in pages for file
FUJIWARA Katsunori <foozy@lares.dti.ne.jp>
parents: 21120
diff changeset
1362 <link rel="icon" href="/static/hgicon.png" type="image/png" />
50981ce36236 hgweb: show as same parents as "hg parents -r REV FILE" in pages for file
FUJIWARA Katsunori <foozy@lares.dti.ne.jp>
parents: 21120
diff changeset
1363 <meta name="robots" content="index, nofollow" />
50981ce36236 hgweb: show as same parents as "hg parents -r REV FILE" in pages for file
FUJIWARA Katsunori <foozy@lares.dti.ne.jp>
parents: 21120
diff changeset
1364 <link rel="stylesheet" href="/static/style-paper.css" type="text/css" />
50981ce36236 hgweb: show as same parents as "hg parents -r REV FILE" in pages for file
FUJIWARA Katsunori <foozy@lares.dti.ne.jp>
parents: 21120
diff changeset
1365 <script type="text/javascript" src="/static/mercurial.js"></script>
50981ce36236 hgweb: show as same parents as "hg parents -r REV FILE" in pages for file
FUJIWARA Katsunori <foozy@lares.dti.ne.jp>
parents: 21120
diff changeset
1366
50981ce36236 hgweb: show as same parents as "hg parents -r REV FILE" in pages for file
FUJIWARA Katsunori <foozy@lares.dti.ne.jp>
parents: 21120
diff changeset
1367 <title>test: 1d22e65f027e foo</title>
50981ce36236 hgweb: show as same parents as "hg parents -r REV FILE" in pages for file
FUJIWARA Katsunori <foozy@lares.dti.ne.jp>
parents: 21120
diff changeset
1368 </head>
50981ce36236 hgweb: show as same parents as "hg parents -r REV FILE" in pages for file
FUJIWARA Katsunori <foozy@lares.dti.ne.jp>
parents: 21120
diff changeset
1369 <body>
50981ce36236 hgweb: show as same parents as "hg parents -r REV FILE" in pages for file
FUJIWARA Katsunori <foozy@lares.dti.ne.jp>
parents: 21120
diff changeset
1370
50981ce36236 hgweb: show as same parents as "hg parents -r REV FILE" in pages for file
FUJIWARA Katsunori <foozy@lares.dti.ne.jp>
parents: 21120
diff changeset
1371 <div class="container">
50981ce36236 hgweb: show as same parents as "hg parents -r REV FILE" in pages for file
FUJIWARA Katsunori <foozy@lares.dti.ne.jp>
parents: 21120
diff changeset
1372 <div class="menu">
50981ce36236 hgweb: show as same parents as "hg parents -r REV FILE" in pages for file
FUJIWARA Katsunori <foozy@lares.dti.ne.jp>
parents: 21120
diff changeset
1373 <div class="logo">
50981ce36236 hgweb: show as same parents as "hg parents -r REV FILE" in pages for file
FUJIWARA Katsunori <foozy@lares.dti.ne.jp>
parents: 21120
diff changeset
1374 <a href="http://mercurial.selenic.com/">
50981ce36236 hgweb: show as same parents as "hg parents -r REV FILE" in pages for file
FUJIWARA Katsunori <foozy@lares.dti.ne.jp>
parents: 21120
diff changeset
1375 <img src="/static/hglogo.png" alt="mercurial" /></a>
50981ce36236 hgweb: show as same parents as "hg parents -r REV FILE" in pages for file
FUJIWARA Katsunori <foozy@lares.dti.ne.jp>
parents: 21120
diff changeset
1376 </div>
50981ce36236 hgweb: show as same parents as "hg parents -r REV FILE" in pages for file
FUJIWARA Katsunori <foozy@lares.dti.ne.jp>
parents: 21120
diff changeset
1377 <ul>
50981ce36236 hgweb: show as same parents as "hg parents -r REV FILE" in pages for file
FUJIWARA Katsunori <foozy@lares.dti.ne.jp>
parents: 21120
diff changeset
1378 <li><a href="/shortlog/1d22e65f027e">log</a></li>
50981ce36236 hgweb: show as same parents as "hg parents -r REV FILE" in pages for file
FUJIWARA Katsunori <foozy@lares.dti.ne.jp>
parents: 21120
diff changeset
1379 <li><a href="/graph/1d22e65f027e">graph</a></li>
50981ce36236 hgweb: show as same parents as "hg parents -r REV FILE" in pages for file
FUJIWARA Katsunori <foozy@lares.dti.ne.jp>
parents: 21120
diff changeset
1380 <li><a href="/tags">tags</a></li>
50981ce36236 hgweb: show as same parents as "hg parents -r REV FILE" in pages for file
FUJIWARA Katsunori <foozy@lares.dti.ne.jp>
parents: 21120
diff changeset
1381 <li><a href="/bookmarks">bookmarks</a></li>
50981ce36236 hgweb: show as same parents as "hg parents -r REV FILE" in pages for file
FUJIWARA Katsunori <foozy@lares.dti.ne.jp>
parents: 21120
diff changeset
1382 <li><a href="/branches">branches</a></li>
50981ce36236 hgweb: show as same parents as "hg parents -r REV FILE" in pages for file
FUJIWARA Katsunori <foozy@lares.dti.ne.jp>
parents: 21120
diff changeset
1383 </ul>
50981ce36236 hgweb: show as same parents as "hg parents -r REV FILE" in pages for file
FUJIWARA Katsunori <foozy@lares.dti.ne.jp>
parents: 21120
diff changeset
1384 <ul>
50981ce36236 hgweb: show as same parents as "hg parents -r REV FILE" in pages for file
FUJIWARA Katsunori <foozy@lares.dti.ne.jp>
parents: 21120
diff changeset
1385 <li><a href="/rev/1d22e65f027e">changeset</a></li>
50981ce36236 hgweb: show as same parents as "hg parents -r REV FILE" in pages for file
FUJIWARA Katsunori <foozy@lares.dti.ne.jp>
parents: 21120
diff changeset
1386 <li><a href="/file/1d22e65f027e/">browse</a></li>
50981ce36236 hgweb: show as same parents as "hg parents -r REV FILE" in pages for file
FUJIWARA Katsunori <foozy@lares.dti.ne.jp>
parents: 21120
diff changeset
1387 </ul>
50981ce36236 hgweb: show as same parents as "hg parents -r REV FILE" in pages for file
FUJIWARA Katsunori <foozy@lares.dti.ne.jp>
parents: 21120
diff changeset
1388 <ul>
50981ce36236 hgweb: show as same parents as "hg parents -r REV FILE" in pages for file
FUJIWARA Katsunori <foozy@lares.dti.ne.jp>
parents: 21120
diff changeset
1389 <li class="active">file</li>
50981ce36236 hgweb: show as same parents as "hg parents -r REV FILE" in pages for file
FUJIWARA Katsunori <foozy@lares.dti.ne.jp>
parents: 21120
diff changeset
1390 <li><a href="/file/tip/foo">latest</a></li>
50981ce36236 hgweb: show as same parents as "hg parents -r REV FILE" in pages for file
FUJIWARA Katsunori <foozy@lares.dti.ne.jp>
parents: 21120
diff changeset
1391 <li><a href="/diff/1d22e65f027e/foo">diff</a></li>
50981ce36236 hgweb: show as same parents as "hg parents -r REV FILE" in pages for file
FUJIWARA Katsunori <foozy@lares.dti.ne.jp>
parents: 21120
diff changeset
1392 <li><a href="/comparison/1d22e65f027e/foo">comparison</a></li>
50981ce36236 hgweb: show as same parents as "hg parents -r REV FILE" in pages for file
FUJIWARA Katsunori <foozy@lares.dti.ne.jp>
parents: 21120
diff changeset
1393 <li><a href="/annotate/1d22e65f027e/foo">annotate</a></li>
50981ce36236 hgweb: show as same parents as "hg parents -r REV FILE" in pages for file
FUJIWARA Katsunori <foozy@lares.dti.ne.jp>
parents: 21120
diff changeset
1394 <li><a href="/log/1d22e65f027e/foo">file log</a></li>
50981ce36236 hgweb: show as same parents as "hg parents -r REV FILE" in pages for file
FUJIWARA Katsunori <foozy@lares.dti.ne.jp>
parents: 21120
diff changeset
1395 <li><a href="/raw-file/1d22e65f027e/foo">raw</a></li>
50981ce36236 hgweb: show as same parents as "hg parents -r REV FILE" in pages for file
FUJIWARA Katsunori <foozy@lares.dti.ne.jp>
parents: 21120
diff changeset
1396 </ul>
50981ce36236 hgweb: show as same parents as "hg parents -r REV FILE" in pages for file
FUJIWARA Katsunori <foozy@lares.dti.ne.jp>
parents: 21120
diff changeset
1397 <ul>
50981ce36236 hgweb: show as same parents as "hg parents -r REV FILE" in pages for file
FUJIWARA Katsunori <foozy@lares.dti.ne.jp>
parents: 21120
diff changeset
1398 <li><a href="/help">help</a></li>
50981ce36236 hgweb: show as same parents as "hg parents -r REV FILE" in pages for file
FUJIWARA Katsunori <foozy@lares.dti.ne.jp>
parents: 21120
diff changeset
1399 </ul>
50981ce36236 hgweb: show as same parents as "hg parents -r REV FILE" in pages for file
FUJIWARA Katsunori <foozy@lares.dti.ne.jp>
parents: 21120
diff changeset
1400 </div>
50981ce36236 hgweb: show as same parents as "hg parents -r REV FILE" in pages for file
FUJIWARA Katsunori <foozy@lares.dti.ne.jp>
parents: 21120
diff changeset
1401
50981ce36236 hgweb: show as same parents as "hg parents -r REV FILE" in pages for file
FUJIWARA Katsunori <foozy@lares.dti.ne.jp>
parents: 21120
diff changeset
1402 <div class="main">
50981ce36236 hgweb: show as same parents as "hg parents -r REV FILE" in pages for file
FUJIWARA Katsunori <foozy@lares.dti.ne.jp>
parents: 21120
diff changeset
1403 <h2 class="breadcrumb"><a href="/">Mercurial</a> </h2>
50981ce36236 hgweb: show as same parents as "hg parents -r REV FILE" in pages for file
FUJIWARA Katsunori <foozy@lares.dti.ne.jp>
parents: 21120
diff changeset
1404 <h3>view foo @ 2:1d22e65f027e</h3>
50981ce36236 hgweb: show as same parents as "hg parents -r REV FILE" in pages for file
FUJIWARA Katsunori <foozy@lares.dti.ne.jp>
parents: 21120
diff changeset
1405
50981ce36236 hgweb: show as same parents as "hg parents -r REV FILE" in pages for file
FUJIWARA Katsunori <foozy@lares.dti.ne.jp>
parents: 21120
diff changeset
1406 <form class="search" action="/log">
50981ce36236 hgweb: show as same parents as "hg parents -r REV FILE" in pages for file
FUJIWARA Katsunori <foozy@lares.dti.ne.jp>
parents: 21120
diff changeset
1407
50981ce36236 hgweb: show as same parents as "hg parents -r REV FILE" in pages for file
FUJIWARA Katsunori <foozy@lares.dti.ne.jp>
parents: 21120
diff changeset
1408 <p><input name="rev" id="search1" type="text" size="30" /></p>
50981ce36236 hgweb: show as same parents as "hg parents -r REV FILE" in pages for file
FUJIWARA Katsunori <foozy@lares.dti.ne.jp>
parents: 21120
diff changeset
1409 <div id="hint">Find changesets by keywords (author, files, the commit message), revision
50981ce36236 hgweb: show as same parents as "hg parents -r REV FILE" in pages for file
FUJIWARA Katsunori <foozy@lares.dti.ne.jp>
parents: 21120
diff changeset
1410 number or hash, or <a href="/help/revsets">revset expression</a>.</div>
50981ce36236 hgweb: show as same parents as "hg parents -r REV FILE" in pages for file
FUJIWARA Katsunori <foozy@lares.dti.ne.jp>
parents: 21120
diff changeset
1411 </form>
50981ce36236 hgweb: show as same parents as "hg parents -r REV FILE" in pages for file
FUJIWARA Katsunori <foozy@lares.dti.ne.jp>
parents: 21120
diff changeset
1412
21486
16352b34e32e hgweb: apply websub filter to the changeset description in rss and atom feeds
Steven Brown <StevenGBrown@gmail.com>
parents: 21485
diff changeset
1413 <div class="description">branch(websub)</div>
21122
50981ce36236 hgweb: show as same parents as "hg parents -r REV FILE" in pages for file
FUJIWARA Katsunori <foozy@lares.dti.ne.jp>
parents: 21120
diff changeset
1414
50981ce36236 hgweb: show as same parents as "hg parents -r REV FILE" in pages for file
FUJIWARA Katsunori <foozy@lares.dti.ne.jp>
parents: 21120
diff changeset
1415 <table id="changesetEntry">
50981ce36236 hgweb: show as same parents as "hg parents -r REV FILE" in pages for file
FUJIWARA Katsunori <foozy@lares.dti.ne.jp>
parents: 21120
diff changeset
1416 <tr>
50981ce36236 hgweb: show as same parents as "hg parents -r REV FILE" in pages for file
FUJIWARA Katsunori <foozy@lares.dti.ne.jp>
parents: 21120
diff changeset
1417 <th class="author">author</th>
50981ce36236 hgweb: show as same parents as "hg parents -r REV FILE" in pages for file
FUJIWARA Katsunori <foozy@lares.dti.ne.jp>
parents: 21120
diff changeset
1418 <td class="author">&#116;&#101;&#115;&#116;</td>
50981ce36236 hgweb: show as same parents as "hg parents -r REV FILE" in pages for file
FUJIWARA Katsunori <foozy@lares.dti.ne.jp>
parents: 21120
diff changeset
1419 </tr>
50981ce36236 hgweb: show as same parents as "hg parents -r REV FILE" in pages for file
FUJIWARA Katsunori <foozy@lares.dti.ne.jp>
parents: 21120
diff changeset
1420 <tr>
50981ce36236 hgweb: show as same parents as "hg parents -r REV FILE" in pages for file
FUJIWARA Katsunori <foozy@lares.dti.ne.jp>
parents: 21120
diff changeset
1421 <th class="date">date</th>
50981ce36236 hgweb: show as same parents as "hg parents -r REV FILE" in pages for file
FUJIWARA Katsunori <foozy@lares.dti.ne.jp>
parents: 21120
diff changeset
1422 <td class="date age">Thu, 01 Jan 1970 00:00:00 +0000</td>
50981ce36236 hgweb: show as same parents as "hg parents -r REV FILE" in pages for file
FUJIWARA Katsunori <foozy@lares.dti.ne.jp>
parents: 21120
diff changeset
1423 </tr>
50981ce36236 hgweb: show as same parents as "hg parents -r REV FILE" in pages for file
FUJIWARA Katsunori <foozy@lares.dti.ne.jp>
parents: 21120
diff changeset
1424 <tr>
50981ce36236 hgweb: show as same parents as "hg parents -r REV FILE" in pages for file
FUJIWARA Katsunori <foozy@lares.dti.ne.jp>
parents: 21120
diff changeset
1425 <th class="author">parents</th>
50981ce36236 hgweb: show as same parents as "hg parents -r REV FILE" in pages for file
FUJIWARA Katsunori <foozy@lares.dti.ne.jp>
parents: 21120
diff changeset
1426 <td class="author"><a href="/file/2ef0ac749a14/foo">2ef0ac749a14</a> </td>
50981ce36236 hgweb: show as same parents as "hg parents -r REV FILE" in pages for file
FUJIWARA Katsunori <foozy@lares.dti.ne.jp>
parents: 21120
diff changeset
1427 </tr>
50981ce36236 hgweb: show as same parents as "hg parents -r REV FILE" in pages for file
FUJIWARA Katsunori <foozy@lares.dti.ne.jp>
parents: 21120
diff changeset
1428 <tr>
50981ce36236 hgweb: show as same parents as "hg parents -r REV FILE" in pages for file
FUJIWARA Katsunori <foozy@lares.dti.ne.jp>
parents: 21120
diff changeset
1429 <th class="author">children</th>
50981ce36236 hgweb: show as same parents as "hg parents -r REV FILE" in pages for file
FUJIWARA Katsunori <foozy@lares.dti.ne.jp>
parents: 21120
diff changeset
1430 <td class="author"></td>
50981ce36236 hgweb: show as same parents as "hg parents -r REV FILE" in pages for file
FUJIWARA Katsunori <foozy@lares.dti.ne.jp>
parents: 21120
diff changeset
1431 </tr>
50981ce36236 hgweb: show as same parents as "hg parents -r REV FILE" in pages for file
FUJIWARA Katsunori <foozy@lares.dti.ne.jp>
parents: 21120
diff changeset
1432 </table>
50981ce36236 hgweb: show as same parents as "hg parents -r REV FILE" in pages for file
FUJIWARA Katsunori <foozy@lares.dti.ne.jp>
parents: 21120
diff changeset
1433
50981ce36236 hgweb: show as same parents as "hg parents -r REV FILE" in pages for file
FUJIWARA Katsunori <foozy@lares.dti.ne.jp>
parents: 21120
diff changeset
1434 <div class="overflow">
50981ce36236 hgweb: show as same parents as "hg parents -r REV FILE" in pages for file
FUJIWARA Katsunori <foozy@lares.dti.ne.jp>
parents: 21120
diff changeset
1435 <div class="sourcefirst linewraptoggle">line wrap: <a class="linewraplink" href="javascript:toggleLinewrap()">on</a></div>
50981ce36236 hgweb: show as same parents as "hg parents -r REV FILE" in pages for file
FUJIWARA Katsunori <foozy@lares.dti.ne.jp>
parents: 21120
diff changeset
1436 <div class="sourcefirst"> line source</div>
50981ce36236 hgweb: show as same parents as "hg parents -r REV FILE" in pages for file
FUJIWARA Katsunori <foozy@lares.dti.ne.jp>
parents: 21120
diff changeset
1437 <pre class="sourcelines stripes4 wrap">
50981ce36236 hgweb: show as same parents as "hg parents -r REV FILE" in pages for file
FUJIWARA Katsunori <foozy@lares.dti.ne.jp>
parents: 21120
diff changeset
1438 <span id="l1">another</span><a href="#l1"></a></pre>
50981ce36236 hgweb: show as same parents as "hg parents -r REV FILE" in pages for file
FUJIWARA Katsunori <foozy@lares.dti.ne.jp>
parents: 21120
diff changeset
1439 <div class="sourcelast"></div>
50981ce36236 hgweb: show as same parents as "hg parents -r REV FILE" in pages for file
FUJIWARA Katsunori <foozy@lares.dti.ne.jp>
parents: 21120
diff changeset
1440 </div>
50981ce36236 hgweb: show as same parents as "hg parents -r REV FILE" in pages for file
FUJIWARA Katsunori <foozy@lares.dti.ne.jp>
parents: 21120
diff changeset
1441 </div>
50981ce36236 hgweb: show as same parents as "hg parents -r REV FILE" in pages for file
FUJIWARA Katsunori <foozy@lares.dti.ne.jp>
parents: 21120
diff changeset
1442 </div>
50981ce36236 hgweb: show as same parents as "hg parents -r REV FILE" in pages for file
FUJIWARA Katsunori <foozy@lares.dti.ne.jp>
parents: 21120
diff changeset
1443
50981ce36236 hgweb: show as same parents as "hg parents -r REV FILE" in pages for file
FUJIWARA Katsunori <foozy@lares.dti.ne.jp>
parents: 21120
diff changeset
1444 <script type="text/javascript">process_dates()</script>
50981ce36236 hgweb: show as same parents as "hg parents -r REV FILE" in pages for file
FUJIWARA Katsunori <foozy@lares.dti.ne.jp>
parents: 21120
diff changeset
1445
50981ce36236 hgweb: show as same parents as "hg parents -r REV FILE" in pages for file
FUJIWARA Katsunori <foozy@lares.dti.ne.jp>
parents: 21120
diff changeset
1446
50981ce36236 hgweb: show as same parents as "hg parents -r REV FILE" in pages for file
FUJIWARA Katsunori <foozy@lares.dti.ne.jp>
parents: 21120
diff changeset
1447 </body>
50981ce36236 hgweb: show as same parents as "hg parents -r REV FILE" in pages for file
FUJIWARA Katsunori <foozy@lares.dti.ne.jp>
parents: 21120
diff changeset
1448 </html>
50981ce36236 hgweb: show as same parents as "hg parents -r REV FILE" in pages for file
FUJIWARA Katsunori <foozy@lares.dti.ne.jp>
parents: 21120
diff changeset
1449
50981ce36236 hgweb: show as same parents as "hg parents -r REV FILE" in pages for file
FUJIWARA Katsunori <foozy@lares.dti.ne.jp>
parents: 21120
diff changeset
1450
50981ce36236 hgweb: show as same parents as "hg parents -r REV FILE" in pages for file
FUJIWARA Katsunori <foozy@lares.dti.ne.jp>
parents: 21120
diff changeset
1451
12433
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1452 Overviews
5590
05451f6b5f07 add more tests for hgweb commands
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents:
diff changeset
1453
17017
953faba28e91 tests: prepare get-with-headers.py for MSYS
Mads Kiilerich <mads@kiilerich.com>
parents: 16913
diff changeset
1454 $ "$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
1455 200 Script output follows
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1456
17772
823a7d79ef82 hgweb: make the escape filter remove null characters (issue2567)
Siddharth Agarwal <sid0@fb.com>
parents: 17742
diff changeset
1457 tip cad8025a2e87f88c06259790adfa15acb4080123
12433
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1458 1.0 2ef0ac749a14e4f57a5a822464a0902c6f7f448f
17017
953faba28e91 tests: prepare get-with-headers.py for MSYS
Mads Kiilerich <mads@kiilerich.com>
parents: 16913
diff changeset
1459 $ "$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
1460 200 Script output follows
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1461
17772
823a7d79ef82 hgweb: make the escape filter remove null characters (issue2567)
Siddharth Agarwal <sid0@fb.com>
parents: 17742
diff changeset
1462 unstable cad8025a2e87f88c06259790adfa15acb4080123 open
16129
5e50982c633c graph: in hgrc specify line width for main branch
Constantine Linnick <theaspect@gmail.com>
parents: 15623
diff changeset
1463 stable 1d22e65f027e5a0609357e7d8e7508cd2ba5d2fe inactive
12433
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1464 default a4f92ed23982be056b9852de5dfe873eaac7f0de inactive
17017
953faba28e91 tests: prepare get-with-headers.py for MSYS
Mads Kiilerich <mads@kiilerich.com>
parents: 16913
diff changeset
1465 $ "$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
1466 200 Script output follows
4788923a2b33 hgweb: add bookmarks listing to raw style with test case
Yuya Nishihara <yuya@tcha.org>
parents: 13868
diff changeset
1467
13922
b8dd2e95b0ca hgweb: sort bookmarks in the same manner as console command
Yuya Nishihara <yuya@tcha.org>
parents: 13921
diff changeset
1468 anotherthing 2ef0ac749a14e4f57a5a822464a0902c6f7f448f
17772
823a7d79ef82 hgweb: make the escape filter remove null characters (issue2567)
Siddharth Agarwal <sid0@fb.com>
parents: 17742
diff changeset
1469 something cad8025a2e87f88c06259790adfa15acb4080123
17017
953faba28e91 tests: prepare get-with-headers.py for MSYS
Mads Kiilerich <mads@kiilerich.com>
parents: 16913
diff changeset
1470 $ "$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
1471 200 Script output follows
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1472
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1473 <?xml version="1.0" encoding="ascii"?>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1474 <!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
1475 <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
1476 <head>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1477 <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
1478 <meta name="robots" content="index, nofollow"/>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1479 <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
1480 <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
1481
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1482 <title>test: Summary</title>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1483 <link rel="alternate" type="application/atom+xml"
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1484 href="/atom-log" title="Atom feed for test"/>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1485 <link rel="alternate" type="application/rss+xml"
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1486 href="/rss-log" title="RSS feed for test"/>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1487 </head>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1488 <body>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1489
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1490 <div class="page_header">
18264
d6ebdbdd70a5 tests: update hgweb tests to include breadcrumbs
Bryan O'Sullivan <bryano@fb.com>
parents: 18200
diff changeset
1491 <a href="http://mercurial.selenic.com/" title="Mercurial" style="float: right;">Mercurial</a>
d6ebdbdd70a5 tests: update hgweb tests to include breadcrumbs
Bryan O'Sullivan <bryano@fb.com>
parents: 18200
diff changeset
1492 <a href="/">Mercurial</a> / summary
12433
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1493 <form action="/log">
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1494 <input type="hidden" name="style" value="gitweb" />
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1495 <div class="search">
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1496 <input type="text" name="rev" />
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1497 </div>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1498 </form>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1499 </div>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1500
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1501 <div class="page_nav">
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1502 summary |
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1503 <a href="/shortlog?style=gitweb">shortlog</a> |
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1504 <a href="/log?style=gitweb">changelog</a> |
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1505 <a href="/graph?style=gitweb">graph</a> |
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1506 <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
1507 <a href="/bookmarks?style=gitweb">bookmarks</a> |
12433
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1508 <a href="/branches?style=gitweb">branches</a> |
17772
823a7d79ef82 hgweb: make the escape filter remove null characters (issue2567)
Siddharth Agarwal <sid0@fb.com>
parents: 17742
diff changeset
1509 <a href="/file/cad8025a2e87?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
1510 <a href="/help?style=gitweb">help</a>
12433
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1511 <br/>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1512 </div>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1513
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1514 <div class="title">&nbsp;</div>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1515 <table cellspacing="0">
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1516 <tr><td>description</td><td>unknown</td></tr>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1517 <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
1518 <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
1519 </table>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1520
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1521 <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
1522 <table cellspacing="0">
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1523
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1524 <tr class="parity0">
15375
fe9d36a6853e hgweb: fix dynamic date calculation not working under Safari
Brodie Rao <brodie@bitheap.org>
parents: 14622
diff changeset
1525 <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
1526 <td><i>test</i></td>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1527 <td>
17772
823a7d79ef82 hgweb: make the escape filter remove null characters (issue2567)
Siddharth Agarwal <sid0@fb.com>
parents: 17742
diff changeset
1528 <a class="list" href="/rev/cad8025a2e87?style=gitweb">
823a7d79ef82 hgweb: make the escape filter remove null characters (issue2567)
Siddharth Agarwal <sid0@fb.com>
parents: 17742
diff changeset
1529 <b>branch commit with null character: </b>
16129
5e50982c633c graph: in hgrc specify line width for main branch
Constantine Linnick <theaspect@gmail.com>
parents: 15623
diff changeset
1530 <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
1531 </a>
5e50982c633c graph: in hgrc specify line width for main branch
Constantine Linnick <theaspect@gmail.com>
parents: 15623
diff changeset
1532 </td>
5e50982c633c graph: in hgrc specify line width for main branch
Constantine Linnick <theaspect@gmail.com>
parents: 15623
diff changeset
1533 <td class="link" nowrap>
17772
823a7d79ef82 hgweb: make the escape filter remove null characters (issue2567)
Siddharth Agarwal <sid0@fb.com>
parents: 17742
diff changeset
1534 <a href="/rev/cad8025a2e87?style=gitweb">changeset</a> |
823a7d79ef82 hgweb: make the escape filter remove null characters (issue2567)
Siddharth Agarwal <sid0@fb.com>
parents: 17742
diff changeset
1535 <a href="/file/cad8025a2e87?style=gitweb">files</a>
16129
5e50982c633c graph: in hgrc specify line width for main branch
Constantine Linnick <theaspect@gmail.com>
parents: 15623
diff changeset
1536 </td>
5e50982c633c graph: in hgrc specify line width for main branch
Constantine Linnick <theaspect@gmail.com>
parents: 15623
diff changeset
1537 </tr>
5e50982c633c graph: in hgrc specify line width for main branch
Constantine Linnick <theaspect@gmail.com>
parents: 15623
diff changeset
1538 <tr class="parity1">
5e50982c633c graph: in hgrc specify line width for main branch
Constantine Linnick <theaspect@gmail.com>
parents: 15623
diff changeset
1539 <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
1540 <td><i>test</i></td>
5e50982c633c graph: in hgrc specify line width for main branch
Constantine Linnick <theaspect@gmail.com>
parents: 15623
diff changeset
1541 <td>
12433
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1542 <a class="list" href="/rev/1d22e65f027e?style=gitweb">
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1543 <b>branch</b>
16129
5e50982c633c graph: in hgrc specify line width for main branch
Constantine Linnick <theaspect@gmail.com>
parents: 15623
diff changeset
1544 <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
1545 </a>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1546 </td>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1547 <td class="link" nowrap>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1548 <a href="/rev/1d22e65f027e?style=gitweb">changeset</a> |
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1549 <a href="/file/1d22e65f027e?style=gitweb">files</a>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1550 </td>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1551 </tr>
16129
5e50982c633c graph: in hgrc specify line width for main branch
Constantine Linnick <theaspect@gmail.com>
parents: 15623
diff changeset
1552 <tr class="parity0">
15375
fe9d36a6853e hgweb: fix dynamic date calculation not working under Safari
Brodie Rao <brodie@bitheap.org>
parents: 14622
diff changeset
1553 <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
1554 <td><i>test</i></td>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1555 <td>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1556 <a class="list" href="/rev/a4f92ed23982?style=gitweb">
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1557 <b>Added tag 1.0 for changeset 2ef0ac749a14</b>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1558 <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
1559 </a>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1560 </td>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1561 <td class="link" nowrap>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1562 <a href="/rev/a4f92ed23982?style=gitweb">changeset</a> |
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1563 <a href="/file/a4f92ed23982?style=gitweb">files</a>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1564 </td>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1565 </tr>
16129
5e50982c633c graph: in hgrc specify line width for main branch
Constantine Linnick <theaspect@gmail.com>
parents: 15623
diff changeset
1566 <tr class="parity1">
15375
fe9d36a6853e hgweb: fix dynamic date calculation not working under Safari
Brodie Rao <brodie@bitheap.org>
parents: 14622
diff changeset
1567 <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
1568 <td><i>test</i></td>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1569 <td>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1570 <a class="list" href="/rev/2ef0ac749a14?style=gitweb">
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1571 <b>base</b>
13922
b8dd2e95b0ca hgweb: sort bookmarks in the same manner as console command
Yuya Nishihara <yuya@tcha.org>
parents: 13921
diff changeset
1572 <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
1573 </a>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1574 </td>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1575 <td class="link" nowrap>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1576 <a href="/rev/2ef0ac749a14?style=gitweb">changeset</a> |
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1577 <a href="/file/2ef0ac749a14?style=gitweb">files</a>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1578 </td>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1579 </tr>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1580 <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
1581 </table>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1582
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1583 <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
1584 <table cellspacing="0">
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1585
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1586 <tr class="parity0">
15375
fe9d36a6853e hgweb: fix dynamic date calculation not working under Safari
Brodie Rao <brodie@bitheap.org>
parents: 14622
diff changeset
1587 <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
1588 <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
1589 <td class="link">
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1590 <a href="/rev/2ef0ac749a14?style=gitweb">changeset</a> |
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1591 <a href="/log/2ef0ac749a14?style=gitweb">changelog</a> |
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1592 <a href="/file/2ef0ac749a14?style=gitweb">files</a>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1593 </td>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1594 </tr>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1595 <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
1596 </table>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1597
13924
ea726c97c1b6 hgweb: add bookmarks listing to summary page of gitweb/monoblue styles
Yuya Nishihara <yuya@tcha.org>
parents: 13922
diff changeset
1598 <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
1599 <table cellspacing="0">
ea726c97c1b6 hgweb: add bookmarks listing to summary page of gitweb/monoblue styles
Yuya Nishihara <yuya@tcha.org>
parents: 13922
diff changeset
1600
ea726c97c1b6 hgweb: add bookmarks listing to summary page of gitweb/monoblue styles
Yuya Nishihara <yuya@tcha.org>
parents: 13922
diff changeset
1601 <tr class="parity0">
15375
fe9d36a6853e hgweb: fix dynamic date calculation not working under Safari
Brodie Rao <brodie@bitheap.org>
parents: 14622
diff changeset
1602 <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
1603 <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
1604 <td class="link">
ea726c97c1b6 hgweb: add bookmarks listing to summary page of gitweb/monoblue styles
Yuya Nishihara <yuya@tcha.org>
parents: 13922
diff changeset
1605 <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
1606 <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
1607 <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
1608 </td>
ea726c97c1b6 hgweb: add bookmarks listing to summary page of gitweb/monoblue styles
Yuya Nishihara <yuya@tcha.org>
parents: 13922
diff changeset
1609 </tr>
ea726c97c1b6 hgweb: add bookmarks listing to summary page of gitweb/monoblue styles
Yuya Nishihara <yuya@tcha.org>
parents: 13922
diff changeset
1610 <tr class="parity1">
15375
fe9d36a6853e hgweb: fix dynamic date calculation not working under Safari
Brodie Rao <brodie@bitheap.org>
parents: 14622
diff changeset
1611 <td class="age"><i class="age">Thu, 01 Jan 1970 00:00:00 +0000</i></td>
17772
823a7d79ef82 hgweb: make the escape filter remove null characters (issue2567)
Siddharth Agarwal <sid0@fb.com>
parents: 17742
diff changeset
1612 <td><a class="list" href="/rev/cad8025a2e87?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
1613 <td class="link">
17772
823a7d79ef82 hgweb: make the escape filter remove null characters (issue2567)
Siddharth Agarwal <sid0@fb.com>
parents: 17742
diff changeset
1614 <a href="/rev/cad8025a2e87?style=gitweb">changeset</a> |
823a7d79ef82 hgweb: make the escape filter remove null characters (issue2567)
Siddharth Agarwal <sid0@fb.com>
parents: 17742
diff changeset
1615 <a href="/log/cad8025a2e87?style=gitweb">changelog</a> |
823a7d79ef82 hgweb: make the escape filter remove null characters (issue2567)
Siddharth Agarwal <sid0@fb.com>
parents: 17742
diff changeset
1616 <a href="/file/cad8025a2e87?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
1617 </td>
ea726c97c1b6 hgweb: add bookmarks listing to summary page of gitweb/monoblue styles
Yuya Nishihara <yuya@tcha.org>
parents: 13922
diff changeset
1618 </tr>
ea726c97c1b6 hgweb: add bookmarks listing to summary page of gitweb/monoblue styles
Yuya Nishihara <yuya@tcha.org>
parents: 13922
diff changeset
1619 <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
1620 </table>
ea726c97c1b6 hgweb: add bookmarks listing to summary page of gitweb/monoblue styles
Yuya Nishihara <yuya@tcha.org>
parents: 13922
diff changeset
1621
17288
fa223eecc6d7 hgweb: fix "branches" links in gitweb template
Ross Lagerwall <rosslagerwall@gmail.com>
parents: 17202
diff changeset
1622 <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
1623 <table cellspacing="0">
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1624
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1625 <tr class="parity0">
15375
fe9d36a6853e hgweb: fix dynamic date calculation not working under Safari
Brodie Rao <brodie@bitheap.org>
parents: 14622
diff changeset
1626 <td class="age"><i class="age">Thu, 01 Jan 1970 00:00:00 +0000</i></td>
17772
823a7d79ef82 hgweb: make the escape filter remove null characters (issue2567)
Siddharth Agarwal <sid0@fb.com>
parents: 17742
diff changeset
1627 <td><a class="list" href="/shortlog/cad8025a2e87?style=gitweb"><b>cad8025a2e87</b></a></td>
16129
5e50982c633c graph: in hgrc specify line width for main branch
Constantine Linnick <theaspect@gmail.com>
parents: 15623
diff changeset
1628 <td class="">unstable</td>
5e50982c633c graph: in hgrc specify line width for main branch
Constantine Linnick <theaspect@gmail.com>
parents: 15623
diff changeset
1629 <td class="link">
17772
823a7d79ef82 hgweb: make the escape filter remove null characters (issue2567)
Siddharth Agarwal <sid0@fb.com>
parents: 17742
diff changeset
1630 <a href="/changeset/cad8025a2e87?style=gitweb">changeset</a> |
823a7d79ef82 hgweb: make the escape filter remove null characters (issue2567)
Siddharth Agarwal <sid0@fb.com>
parents: 17742
diff changeset
1631 <a href="/log/cad8025a2e87?style=gitweb">changelog</a> |
823a7d79ef82 hgweb: make the escape filter remove null characters (issue2567)
Siddharth Agarwal <sid0@fb.com>
parents: 17742
diff changeset
1632 <a href="/file/cad8025a2e87?style=gitweb">files</a>
16129
5e50982c633c graph: in hgrc specify line width for main branch
Constantine Linnick <theaspect@gmail.com>
parents: 15623
diff changeset
1633 </td>
5e50982c633c graph: in hgrc specify line width for main branch
Constantine Linnick <theaspect@gmail.com>
parents: 15623
diff changeset
1634 </tr>
5e50982c633c graph: in hgrc specify line width for main branch
Constantine Linnick <theaspect@gmail.com>
parents: 15623
diff changeset
1635 <tr class="parity1">
5e50982c633c graph: in hgrc specify line width for main branch
Constantine Linnick <theaspect@gmail.com>
parents: 15623
diff changeset
1636 <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
1637 <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
1638 <td class="">stable</td>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1639 <td class="link">
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1640 <a href="/changeset/1d22e65f027e?style=gitweb">changeset</a> |
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1641 <a href="/log/1d22e65f027e?style=gitweb">changelog</a> |
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1642 <a href="/file/1d22e65f027e?style=gitweb">files</a>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1643 </td>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1644 </tr>
16129
5e50982c633c graph: in hgrc specify line width for main branch
Constantine Linnick <theaspect@gmail.com>
parents: 15623
diff changeset
1645 <tr class="parity0">
15375
fe9d36a6853e hgweb: fix dynamic date calculation not working under Safari
Brodie Rao <brodie@bitheap.org>
parents: 14622
diff changeset
1646 <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
1647 <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
1648 <td class="">default</td>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1649 <td class="link">
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1650 <a href="/changeset/a4f92ed23982?style=gitweb">changeset</a> |
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1651 <a href="/log/a4f92ed23982?style=gitweb">changelog</a> |
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1652 <a href="/file/a4f92ed23982?style=gitweb">files</a>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1653 </td>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1654 </tr>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1655 <tr class="light">
17288
fa223eecc6d7 hgweb: fix "branches" links in gitweb template
Ross Lagerwall <rosslagerwall@gmail.com>
parents: 17202
diff changeset
1656 <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
1657 </tr>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1658 </table>
14046
b24e5a708fad web: Made elapsed time calculation dynamic (javascript).
Benoit Allard <benoit@aeteurope.nl>
parents: 13942
diff changeset
1659 <script type="text/javascript">process_dates()</script>
12433
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1660 <div class="page_footer">
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1661 <div class="page_footer_text">test</div>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1662 <div class="rss_logo">
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1663 <a href="/rss-log">RSS</a>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1664 <a href="/atom-log">Atom</a>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1665 </div>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1666 <br />
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1667
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1668 </div>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1669 </body>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1670 </html>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1671
17017
953faba28e91 tests: prepare get-with-headers.py for MSYS
Mads Kiilerich <mads@kiilerich.com>
parents: 16913
diff changeset
1672 $ "$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
1673 200 Script output follows
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1674
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1675 <?xml version="1.0" encoding="ascii"?>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1676 <!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
1677 <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
1678 <head>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1679 <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
1680 <meta name="robots" content="index, nofollow"/>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1681 <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
1682 <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
1683
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1684 <title>test: Graph</title>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1685 <link rel="alternate" type="application/atom+xml"
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1686 href="/atom-log" title="Atom feed for test"/>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1687 <link rel="alternate" type="application/rss+xml"
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1688 href="/rss-log" title="RSS feed for test"/>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1689 <!--[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
1690 </head>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1691 <body>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1692
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1693 <div class="page_header">
18264
d6ebdbdd70a5 tests: update hgweb tests to include breadcrumbs
Bryan O'Sullivan <bryano@fb.com>
parents: 18200
diff changeset
1694 <a href="http://mercurial.selenic.com/" title="Mercurial" style="float: right;">Mercurial</a>
d6ebdbdd70a5 tests: update hgweb tests to include breadcrumbs
Bryan O'Sullivan <bryano@fb.com>
parents: 18200
diff changeset
1695 <a href="/">Mercurial</a> / graph
12433
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1696 </div>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1697
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1698 <form action="/log">
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1699 <input type="hidden" name="style" value="gitweb" />
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1700 <div class="search">
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1701 <input type="text" name="rev" />
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1702 </div>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1703 </form>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1704 <div class="page_nav">
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1705 <a href="/summary?style=gitweb">summary</a> |
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1706 <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
1707 <a href="/log/3?style=gitweb">changelog</a> |
12433
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1708 graph |
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1709 <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
1710 <a href="/bookmarks?style=gitweb">bookmarks</a> |
12433
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1711 <a href="/branches?style=gitweb">branches</a> |
17772
823a7d79ef82 hgweb: make the escape filter remove null characters (issue2567)
Siddharth Agarwal <sid0@fb.com>
parents: 17742
diff changeset
1712 <a href="/file/cad8025a2e87?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
1713 <a href="/help?style=gitweb">help</a>
12433
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1714 <br/>
18367
ae7215f4f7b9 hgweb: generate query strings with parameters sorted by key
Mads Kiilerich <mads@kiilerich.com>
parents: 18264
diff changeset
1715 <a href="/graph/3?revcount=30&style=gitweb">less</a>
ae7215f4f7b9 hgweb: generate query strings with parameters sorted by key
Mads Kiilerich <mads@kiilerich.com>
parents: 18264
diff changeset
1716 <a href="/graph/3?revcount=120&style=gitweb">more</a>
17318
7ac5800dbc8f hgweb: fix graph view paging
Patrick Mezard <patrick@mezard.eu>
parents: 17288
diff changeset
1717 | <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
1718 </div>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1719
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1720 <div class="title">&nbsp;</div>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1721
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1722 <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
1723
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1724 <div id="wrapper">
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1725 <ul id="nodebgs"></ul>
16129
5e50982c633c graph: in hgrc specify line width for main branch
Constantine Linnick <theaspect@gmail.com>
parents: 15623
diff changeset
1726 <canvas id="graph" width="480" height="168"></canvas>
12433
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1727 <ul id="graphnodes"></ul>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1728 </div>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1729
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1730 <script>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1731 <!-- hide script content
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1732
21867
829f2dd99f5c templates: escape NUL bytes in jsonescape (issue4303)
Matt Mackall <mpm@selenic.com>
parents: 21124
diff changeset
1733 var data = [["cad8025a2e87", [0, 1], [[0, 0, 1, 3, "FF0000"]], "branch commit with null character: \u0000", "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
1734 var graph = new Graph();
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1735 graph.scale(39);
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1736
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1737 graph.vertex = function(x, y, color, parity, cur) {
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1738
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1739 this.ctx.beginPath();
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1740 color = this.setColor(color, 0.25, 0.75);
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1741 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
1742 this.ctx.fill();
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1743
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1744 var bg = '<li class="bg parity' + parity + '"></li>';
17580
ffe3630cb243 hgweb: fix incorrect graph padding calculation (issue3626)
Tim Delaney <timothy.c.delaney@gmail.com>
parents: 17421
diff changeset
1745 var left = (this.bg_height - this.box_size) + (this.columns + 1) * this.box_size;
12433
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1746 var nstyle = 'padding-left: ' + left + 'px;';
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1747
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1748 var tagspan = '';
13863
b602ac02f1ba hgweb: add bookmark labels to gitweb theme (based on 270f57d35525)
Yuya Nishihara <yuya@tcha.org>
parents: 13622
diff changeset
1749 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
1750 tagspan = '<span class="logtags">';
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1751 if (cur[6][1]) {
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1752 tagspan += '<span class="branchtag" title="' + cur[6][0] + '">';
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1753 tagspan += cur[6][0] + '</span> ';
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1754 } else if (!cur[6][1] && cur[6][0] != 'default') {
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1755 tagspan += '<span class="inbranchtag" title="' + cur[6][0] + '">';
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1756 tagspan += cur[6][0] + '</span> ';
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1757 }
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1758 if (cur[7].length) {
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1759 for (var t in cur[7]) {
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1760 var tag = cur[7][t];
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1761 tagspan += '<span class="tagtag">' + tag + '</span> ';
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1762 }
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1763 }
13863
b602ac02f1ba hgweb: add bookmark labels to gitweb theme (based on 270f57d35525)
Yuya Nishihara <yuya@tcha.org>
parents: 13622
diff changeset
1764 if (cur[8].length) {
b602ac02f1ba hgweb: add bookmark labels to gitweb theme (based on 270f57d35525)
Yuya Nishihara <yuya@tcha.org>
parents: 13622
diff changeset
1765 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
1766 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
1767 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
1768 }
b602ac02f1ba hgweb: add bookmark labels to gitweb theme (based on 270f57d35525)
Yuya Nishihara <yuya@tcha.org>
parents: 13622
diff changeset
1769 }
12433
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1770 tagspan += '</span>';
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1771 }
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1772
17421
3eb85477c0d9 hgweb: avoid bad $$ processing in graph (issue3601)
Mads Kiilerich <mads@kiilerich.com>
parents: 17318
diff changeset
1773 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
1774 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
1775 item += '</span> ' + tagspan + '';
3eb85477c0d9 hgweb: avoid bad $$ processing in graph (issue3601)
Mads Kiilerich <mads@kiilerich.com>
parents: 17318
diff changeset
1776 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
1777
12433
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1778 return [bg, item];
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1779
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1780 }
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1781
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1782 graph.render(data);
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1783
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1784 // stop hiding script -->
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1785 </script>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1786
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1787 <div class="page_nav">
18367
ae7215f4f7b9 hgweb: generate query strings with parameters sorted by key
Mads Kiilerich <mads@kiilerich.com>
parents: 18264
diff changeset
1788 <a href="/graph/3?revcount=30&style=gitweb">less</a>
ae7215f4f7b9 hgweb: generate query strings with parameters sorted by key
Mads Kiilerich <mads@kiilerich.com>
parents: 18264
diff changeset
1789 <a href="/graph/3?revcount=120&style=gitweb">more</a>
17318
7ac5800dbc8f hgweb: fix graph view paging
Patrick Mezard <patrick@mezard.eu>
parents: 17288
diff changeset
1790 | <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
1791 </div>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1792
20256
b786754ba604 test-hgweb-*: output change fixes from b1d65cb8
Augie Fackler <raf@durin42.com>
parents: 19796
diff changeset
1793 <script type="text/javascript">
b786754ba604 test-hgweb-*: output change fixes from b1d65cb8
Augie Fackler <raf@durin42.com>
parents: 19796
diff changeset
1794 ajaxScrollInit(
b786754ba604 test-hgweb-*: output change fixes from b1d65cb8
Augie Fackler <raf@durin42.com>
parents: 19796
diff changeset
1795 '/graph/3?revcount=%next%&style=gitweb',
b786754ba604 test-hgweb-*: output change fixes from b1d65cb8
Augie Fackler <raf@durin42.com>
parents: 19796
diff changeset
1796 60+60,
b786754ba604 test-hgweb-*: output change fixes from b1d65cb8
Augie Fackler <raf@durin42.com>
parents: 19796
diff changeset
1797 function (htmlText, previousVal) { return previousVal + 60; },
b786754ba604 test-hgweb-*: output change fixes from b1d65cb8
Augie Fackler <raf@durin42.com>
parents: 19796
diff changeset
1798 '#wrapper',
b786754ba604 test-hgweb-*: output change fixes from b1d65cb8
Augie Fackler <raf@durin42.com>
parents: 19796
diff changeset
1799 '<div class="%class%" style="text-align: center;">%text%</div>',
b786754ba604 test-hgweb-*: output change fixes from b1d65cb8
Augie Fackler <raf@durin42.com>
parents: 19796
diff changeset
1800 'graph'
b786754ba604 test-hgweb-*: output change fixes from b1d65cb8
Augie Fackler <raf@durin42.com>
parents: 19796
diff changeset
1801 );
b786754ba604 test-hgweb-*: output change fixes from b1d65cb8
Augie Fackler <raf@durin42.com>
parents: 19796
diff changeset
1802 </script>
b786754ba604 test-hgweb-*: output change fixes from b1d65cb8
Augie Fackler <raf@durin42.com>
parents: 19796
diff changeset
1803
14046
b24e5a708fad web: Made elapsed time calculation dynamic (javascript).
Benoit Allard <benoit@aeteurope.nl>
parents: 13942
diff changeset
1804 <script type="text/javascript">process_dates()</script>
12433
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1805 <div class="page_footer">
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1806 <div class="page_footer_text">test</div>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1807 <div class="rss_logo">
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1808 <a href="/rss-log">RSS</a>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1809 <a href="/atom-log">Atom</a>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1810 </div>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1811 <br />
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1812
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1813 </div>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1814 </body>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1815 </html>
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1816
16773
d490edc71146 hgweb: make graph data suitable for template usage
Paul Boddie <paul@boddie.org.uk>
parents: 16722
diff changeset
1817 raw graph
d490edc71146 hgweb: make graph data suitable for template usage
Paul Boddie <paul@boddie.org.uk>
parents: 16722
diff changeset
1818
17017
953faba28e91 tests: prepare get-with-headers.py for MSYS
Mads Kiilerich <mads@kiilerich.com>
parents: 16913
diff changeset
1819 $ "$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
1820 200 Script output follows
d490edc71146 hgweb: make graph data suitable for template usage
Paul Boddie <paul@boddie.org.uk>
parents: 16722
diff changeset
1821
d490edc71146 hgweb: make graph data suitable for template usage
Paul Boddie <paul@boddie.org.uk>
parents: 16722
diff changeset
1822
d490edc71146 hgweb: make graph data suitable for template usage
Paul Boddie <paul@boddie.org.uk>
parents: 16722
diff changeset
1823 # HG graph
17772
823a7d79ef82 hgweb: make the escape filter remove null characters (issue2567)
Siddharth Agarwal <sid0@fb.com>
parents: 17742
diff changeset
1824 # Node ID cad8025a2e87f88c06259790adfa15acb4080123
16773
d490edc71146 hgweb: make graph data suitable for template usage
Paul Boddie <paul@boddie.org.uk>
parents: 16722
diff changeset
1825 # Rows shown 4
d490edc71146 hgweb: make graph data suitable for template usage
Paul Boddie <paul@boddie.org.uk>
parents: 16722
diff changeset
1826
17772
823a7d79ef82 hgweb: make the escape filter remove null characters (issue2567)
Siddharth Agarwal <sid0@fb.com>
parents: 17742
diff changeset
1827 changeset: cad8025a2e87
16773
d490edc71146 hgweb: make graph data suitable for template usage
Paul Boddie <paul@boddie.org.uk>
parents: 16722
diff changeset
1828 user: test
d490edc71146 hgweb: make graph data suitable for template usage
Paul Boddie <paul@boddie.org.uk>
parents: 16722
diff changeset
1829 date: 1970-01-01
17772
823a7d79ef82 hgweb: make the escape filter remove null characters (issue2567)
Siddharth Agarwal <sid0@fb.com>
parents: 17742
diff changeset
1830 summary: branch commit with null character: \x00 (esc)
16773
d490edc71146 hgweb: make graph data suitable for template usage
Paul Boddie <paul@boddie.org.uk>
parents: 16722
diff changeset
1831 branch: unstable
d490edc71146 hgweb: make graph data suitable for template usage
Paul Boddie <paul@boddie.org.uk>
parents: 16722
diff changeset
1832 tag: tip
d490edc71146 hgweb: make graph data suitable for template usage
Paul Boddie <paul@boddie.org.uk>
parents: 16722
diff changeset
1833 bookmark: something
d490edc71146 hgweb: make graph data suitable for template usage
Paul Boddie <paul@boddie.org.uk>
parents: 16722
diff changeset
1834
d490edc71146 hgweb: make graph data suitable for template usage
Paul Boddie <paul@boddie.org.uk>
parents: 16722
diff changeset
1835 node: (0, 0) (color 1)
d490edc71146 hgweb: make graph data suitable for template usage
Paul Boddie <paul@boddie.org.uk>
parents: 16722
diff changeset
1836 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
1837
d490edc71146 hgweb: make graph data suitable for template usage
Paul Boddie <paul@boddie.org.uk>
parents: 16722
diff changeset
1838 changeset: 1d22e65f027e
d490edc71146 hgweb: make graph data suitable for template usage
Paul Boddie <paul@boddie.org.uk>
parents: 16722
diff changeset
1839 user: test
d490edc71146 hgweb: make graph data suitable for template usage
Paul Boddie <paul@boddie.org.uk>
parents: 16722
diff changeset
1840 date: 1970-01-01
d490edc71146 hgweb: make graph data suitable for template usage
Paul Boddie <paul@boddie.org.uk>
parents: 16722
diff changeset
1841 summary: branch
d490edc71146 hgweb: make graph data suitable for template usage
Paul Boddie <paul@boddie.org.uk>
parents: 16722
diff changeset
1842 branch: stable
d490edc71146 hgweb: make graph data suitable for template usage
Paul Boddie <paul@boddie.org.uk>
parents: 16722
diff changeset
1843
d490edc71146 hgweb: make graph data suitable for template usage
Paul Boddie <paul@boddie.org.uk>
parents: 16722
diff changeset
1844 node: (0, 1) (color 1)
d490edc71146 hgweb: make graph data suitable for template usage
Paul Boddie <paul@boddie.org.uk>
parents: 16722
diff changeset
1845 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
1846
d490edc71146 hgweb: make graph data suitable for template usage
Paul Boddie <paul@boddie.org.uk>
parents: 16722
diff changeset
1847 changeset: a4f92ed23982
d490edc71146 hgweb: make graph data suitable for template usage
Paul Boddie <paul@boddie.org.uk>
parents: 16722
diff changeset
1848 user: test
d490edc71146 hgweb: make graph data suitable for template usage
Paul Boddie <paul@boddie.org.uk>
parents: 16722
diff changeset
1849 date: 1970-01-01
d490edc71146 hgweb: make graph data suitable for template usage
Paul Boddie <paul@boddie.org.uk>
parents: 16722
diff changeset
1850 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
1851 branch: default
d490edc71146 hgweb: make graph data suitable for template usage
Paul Boddie <paul@boddie.org.uk>
parents: 16722
diff changeset
1852
d490edc71146 hgweb: make graph data suitable for template usage
Paul Boddie <paul@boddie.org.uk>
parents: 16722
diff changeset
1853 node: (0, 2) (color 1)
d490edc71146 hgweb: make graph data suitable for template usage
Paul Boddie <paul@boddie.org.uk>
parents: 16722
diff changeset
1854 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
1855
d490edc71146 hgweb: make graph data suitable for template usage
Paul Boddie <paul@boddie.org.uk>
parents: 16722
diff changeset
1856 changeset: 2ef0ac749a14
d490edc71146 hgweb: make graph data suitable for template usage
Paul Boddie <paul@boddie.org.uk>
parents: 16722
diff changeset
1857 user: test
d490edc71146 hgweb: make graph data suitable for template usage
Paul Boddie <paul@boddie.org.uk>
parents: 16722
diff changeset
1858 date: 1970-01-01
d490edc71146 hgweb: make graph data suitable for template usage
Paul Boddie <paul@boddie.org.uk>
parents: 16722
diff changeset
1859 summary: base
d490edc71146 hgweb: make graph data suitable for template usage
Paul Boddie <paul@boddie.org.uk>
parents: 16722
diff changeset
1860 tag: 1.0
d490edc71146 hgweb: make graph data suitable for template usage
Paul Boddie <paul@boddie.org.uk>
parents: 16722
diff changeset
1861 bookmark: anotherthing
d490edc71146 hgweb: make graph data suitable for template usage
Paul Boddie <paul@boddie.org.uk>
parents: 16722
diff changeset
1862
d490edc71146 hgweb: make graph data suitable for template usage
Paul Boddie <paul@boddie.org.uk>
parents: 16722
diff changeset
1863 node: (0, 3) (color 1)
d490edc71146 hgweb: make graph data suitable for template usage
Paul Boddie <paul@boddie.org.uk>
parents: 16722
diff changeset
1864
d490edc71146 hgweb: make graph data suitable for template usage
Paul Boddie <paul@boddie.org.uk>
parents: 16722
diff changeset
1865
5590
05451f6b5f07 add more tests for hgweb commands
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents:
diff changeset
1866
12433
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1867 capabilities
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1868
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1869 $ "$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
1870 200 Script output follows
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1871
14622
bd88561afb4b wireproto: add batching support to wirerepository
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents: 14608
diff changeset
1872 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
1873
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1874 heads
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1875
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1876 $ "$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
1877 200 Script output follows
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1878
17772
823a7d79ef82 hgweb: make the escape filter remove null characters (issue2567)
Siddharth Agarwal <sid0@fb.com>
parents: 17742
diff changeset
1879 cad8025a2e87f88c06259790adfa15acb4080123
12433
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1880
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1881 branches
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1882
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1883 $ "$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
1884 200 Script output follows
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1885
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1886 0000000000000000000000000000000000000000 0000000000000000000000000000000000000000 0000000000000000000000000000000000000000 0000000000000000000000000000000000000000
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1887
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1888 changegroup
5590
05451f6b5f07 add more tests for hgweb commands
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents:
diff changeset
1889
12943
7439ea4146f8 tests: use (esc) instead of other kinds of string escaping
Mads Kiilerich <mads@kiilerich.com>
parents: 12680
diff changeset
1890 $ "$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
1891 200 Script output follows
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1892
17772
823a7d79ef82 hgweb: make the escape filter remove null characters (issue2567)
Siddharth Agarwal <sid0@fb.com>
parents: 17742
diff changeset
1893 x\x9c\xbd\x94MHTQ\x14\xc7'+\x9d\xc66\x81\x89P\xc1\xa3\x14\xcct\xba\xef\xbe\xfb\xde\xbb\xcfr0\xb3"\x02\x11[%\x98\xdcO\xa7\xd2\x19\x98y\xd2\x07h"\x96\xa0e\xda\xa6lUY-\xca\x08\xa2\x82\x16\x96\xd1\xa2\xf0#\xc8\x95\x1b\xdd$!m*"\xc8\x82\xea\xbe\x9c\x01\x85\xc9\x996\x1d\xf8\xc1\xe3~\x9d\xff9\xef\x7f\xaf\xcf\xe7\xbb\x19\xfc4\xec^\xcb\x9b\xfbz\xa6\xbe\xb3\x90_\xef/\x8d\x9e\xad\xbe\xe4\xcb0\xd2\xec\xad\x12X:\xc8\x12\x12\xd9:\x95\xba \x1cG\xb7$\xc5\xc44\x1c(\x1d\x03\x03\xdb\x84\x0cK#\xe0\x8a\xb8\x1b\x00\x1a\x08p\xb2SF\xa3\x01\x8f\x00%q\xa1Ny{k!8\xe5t>[{\xe2j\xddl\xc3\xcf\xee\xd0\xddW\x9ff3U\x9djobj\xbb\x87E\x88\x05l\x001\x12\x18\x13\xc6 \xb7(\xe3\x02a\x80\x81\xcel.u\x9b\x1b\x8c\x91\x80Z\x0c\x15\x15 (esc)
823a7d79ef82 hgweb: make the escape filter remove null characters (issue2567)
Siddharth Agarwal <sid0@fb.com>
parents: 17742
diff changeset
1894 \x7f0\xdc\xe4\x92\xa6\xb87\x16\xf2\xcaT\x14\xef\xe1\\pM\r (no-eol) (esc)
823a7d79ef82 hgweb: make the escape filter remove null characters (issue2567)
Siddharth Agarwal <sid0@fb.com>
parents: 17742
diff changeset
1895 kz\x10h2\x1a\xd3X\x98D\x9aD\\\xb8\x1a\x14\x12\x10f#\x87\xe8H\xad\x1d\xd9\xb2\xf5}cV{}\xf6:\xb3\xbd\xad\xaf\xd5?\xb9\xe3\xf6\xd4\xcf\x15\x84.\x8bT{\x97\x16\xa4Z\xeaX\x10\xabL\xc8\x81DJ\xc8\x18\x00\xccq\x80A-j2j \x83\x1b\x02\x03O|PQ\xae\xc8W\x9d\xd7h\x8cDX\xb8<\xee\x12\xda,\xfe\xfc\x005\xb3K\xc1\x14\xd9\x8b\xb3^C\xc7\xa6\xb3\xea\x83\xdd\xdf.d\x17]\xe9\xbf\xff}\xe3\xf0#\xff\xaam+\x88Z\x16\xa9\xf6&tT+\xf2\x96\xe8h\x8d$\x94\xa8\xf1}\x8aC\x8a\xc2\xc59\x8dE[Z\x8e\xb9\xda\xc9cnX\x8b\xb467{\xad\x8e\x11\xe6\x8aX\xb9\x96L52\xbf\xb0\xff\xe3\x81M\x9fk\x07\xf3\x7f\xf4\x1c\xbe\xbc\x80s\xea^\x7fY\xc1\xca\xcb"\x8d\xbb\x1a\x16]\xea\x83\x82Cb8:$\x80Bd\x02\x08\x90!\x88P^\x12\x88B\xdba:\xa6\x0e\xe0<\xf0O\x8bU\x82\x81\xe3wr\xb2\xba\xe6{&\xcaNL\xceutln\xfb\xdc\xb6{,\xd3\x82\xd28IO\xb8\xd7G\x0cF!\x16\x86\x8d\x11@\x02A\xcb\xc2\x94Q\x04L\x01\x00u8\x86&0\xb0EtO\xd0\xc5\x9c#\xb4'\xef`\xc9\xaf\xd2\xd1\xf5\x83\xab\x9f<\x1e\x8fT\x84:R\x89L%\xe8/\xee \x8a>E\x99\xd7\x1dlZ\x08B\x1dc\xf5\\0\x83\x01B\x95Im\x1d[\x92s*\x99`L\xd7\x894e qfn\xb2 (esc)
823a7d79ef82 hgweb: make the escape filter remove null characters (issue2567)
Siddharth Agarwal <sid0@fb.com>
parents: 17742
diff changeset
1896 \xa5mh\xbc\xf8\xdd\xa9\xca\x9a*\xd9;^y\xd4\xf7t\xbah\xf5\xf9\x1b\x99\xfe\xe94\xcd*[zu\x05\x92\xa6ML\x82!D\x16"\xc0\x01\x90Y\xd2\x96\x08a\xe9\xdd\xfa\xa4\xb6\xc4#\xa6\xbexpjh\xa0$\xb7\xb0V\xdb\xfba\xbef\xee\xe1\xe9\x17\xbd\xfd3\x99JKc\xc25\x89+\xeaE\xce\xffK\x17>\xc7\xb7\x16tE^\x8e\xde\x0bu\x17Dg\x9e\xbf\x99\xd8\xf0\xa01\xd3\xbc+\xbc\x13k\x14~\x12\x89\xbaa\x11K\x96\xe5\xfb\r (no-eol) (esc)
823a7d79ef82 hgweb: make the escape filter remove null characters (issue2567)
Siddharth Agarwal <sid0@fb.com>
parents: 17742
diff changeset
1897 \x95)\xbe\xf6 (no-eol) (esc)
12433
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1898
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1899 stream_out
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1900
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1901 $ "$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
1902 200 Script output follows
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1903
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1904 1
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1905
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1906 failing unbundle, requires POST request
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1907
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1908 $ "$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
1909 405 push requires POST request
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1910
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1911 0
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1912 push requires POST request
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1913 [1]
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1914
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1915 Static files
11765
aff419e260f9 templatefilters: make json filter handle multibyte characters correctly
Yuya Nishihara <yuya@tcha.org>
parents: 10414
diff changeset
1916
17017
953faba28e91 tests: prepare get-with-headers.py for MSYS
Mads Kiilerich <mads@kiilerich.com>
parents: 16913
diff changeset
1917 $ "$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
1918 200 Script output follows
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1919
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1920 a { text-decoration:none; }
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1921 .age { white-space:nowrap; }
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1922 .date { white-space:nowrap; }
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1923 .indexlinks { white-space:nowrap; }
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1924 .parity0 { background-color: #ddd; }
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1925 .parity1 { background-color: #eee; }
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1926 .lineno { width: 60px; color: #aaa; font-size: smaller;
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1927 text-align: right; }
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1928 .plusline { color: green; }
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1929 .minusline { color: red; }
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1930 .atline { color: purple; }
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1931 .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
1932 .buttons a {
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1933 background-color: #666;
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1934 padding: 2pt;
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1935 color: white;
19075
6bc76c0e60b9 css: fixed font-family
Alexander Plavin <me@aplavin.ru>
parents: 18563
diff changeset
1936 font-family: sans-serif;
12433
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1937 font-weight: bold;
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1938 }
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1939 .navigate a {
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1940 background-color: #ccc;
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1941 padding: 2pt;
19075
6bc76c0e60b9 css: fixed font-family
Alexander Plavin <me@aplavin.ru>
parents: 18563
diff changeset
1942 font-family: sans-serif;
12433
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1943 color: black;
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1944 }
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1945
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1946 .metatag {
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1947 background-color: #888;
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1948 color: white;
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1949 text-align: right;
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1950 }
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1951
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1952 /* Common */
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1953 pre { margin: 0; }
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1954
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1955 .logo {
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1956 float: right;
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1957 clear: right;
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1958 }
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1959
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1960 /* Changelog/Filelog entries */
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1961 .logEntry { width: 100%; }
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1962 .logEntry .age { width: 15%; }
21124
a65714215377 hgweb: align entries in "changelog" and "revisions" pages of "spartan" style
FUJIWARA Katsunori <foozy@lares.dti.ne.jp>
parents: 21122
diff changeset
1963 .logEntry th.label { width: 16em; }
12433
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1964 .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
1965 .logEntry th.age, .logEntry th.firstline { font-weight: bold; }
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1966 .logEntry th.firstline { text-align: left; width: inherit; }
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1967
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1968 /* Shortlog entries */
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1969 .slogEntry { width: 100%; }
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1970 .slogEntry .age { width: 8em; }
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1971 .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
1972 .slogEntry td.author { width: 15em; }
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1973
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1974 /* Tag entries */
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1975 #tagEntries { list-style: none; margin: 0; padding: 0; }
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1976 #tagEntries .tagEntry { list-style: none; margin: 0; padding: 0; }
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1977
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1978 /* Changeset entry */
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1979 #changesetEntry { }
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1980 #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
1981 #changesetEntry th.files, #changesetEntry th.description { vertical-align: top; }
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1982
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1983 /* File diff view */
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1984 #filediffEntry { }
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1985 #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
1986
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1987 /* Graph */
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1988 div#wrapper {
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1989 position: relative;
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1990 margin: 0;
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1991 padding: 0;
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1992 }
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1993
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1994 canvas {
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1995 position: absolute;
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1996 z-index: 5;
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1997 top: -0.6em;
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1998 margin: 0;
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
1999 }
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
2000
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
2001 ul#nodebgs {
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
2002 list-style: none inside none;
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
2003 padding: 0;
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
2004 margin: 0;
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
2005 top: -0.7em;
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
2006 }
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
2007
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
2008 ul#graphnodes li, ul#nodebgs li {
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
2009 height: 39px;
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
2010 }
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
2011
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
2012 ul#graphnodes {
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
2013 position: absolute;
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
2014 z-index: 10;
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
2015 top: -0.85em;
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
2016 list-style: none inside none;
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
2017 padding: 0;
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
2018 }
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
2019
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
2020 ul#graphnodes li .info {
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
2021 display: block;
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
2022 font-size: 70%;
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
2023 position: relative;
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
2024 top: -1px;
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
2025 }
11765
aff419e260f9 templatefilters: make json filter handle multibyte characters correctly
Yuya Nishihara <yuya@tcha.org>
parents: 10414
diff changeset
2026
16361
6097ede2be4d protocol: Add the stream-preferred capability
Benoit Allard <benoit@aeteurope.nl>
parents: 16138
diff changeset
2027 Stop and restart with HGENCODING=cp932 and preferuncompressed
12433
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
2028
17466
d5a3bda6e170 killdaemons: take file argument explicitely
Patrick Mezard <patrick@mezard.eu>
parents: 17421
diff changeset
2029 $ "$TESTDIR/killdaemons.py" $DAEMON_PIDS
16361
6097ede2be4d protocol: Add the stream-preferred capability
Benoit Allard <benoit@aeteurope.nl>
parents: 16138
diff changeset
2030 $ 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
2031 > -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
2032 $ cat hg.pid >> $DAEMON_PIDS
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
2033
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
2034 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
2035
12433
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
2036 $ echo foo >> foo
22947
c63a09b6b337 tests: use $PYTHON instead of hardcoding python
Augie Fackler <raf@durin42.com>
parents: 22046
diff changeset
2037 $ HGENCODING=cp932 hg ci -m `$PYTHON -c 'print("\x94\x5c")'`
12433
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
2038
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
2039 Graph json escape of multibyte character
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
2040
19626
cf6b086d64cc solaris: test cases can't use grep -a
Danek Duvall <danek.duvall@oracle.com>
parents: 19532
diff changeset
2041 $ "$TESTDIR/get-with-headers.py" 127.0.0.1:$HGPORT 'graph/' > out
cf6b086d64cc solaris: test cases can't use grep -a
Danek Duvall <danek.duvall@oracle.com>
parents: 19532
diff changeset
2042 >>> for line in open("out"):
cf6b086d64cc solaris: test cases can't use grep -a
Danek Duvall <danek.duvall@oracle.com>
parents: 19532
diff changeset
2043 ... if line.startswith("var data ="):
cf6b086d64cc solaris: test cases can't use grep -a
Danek Duvall <danek.duvall@oracle.com>
parents: 19532
diff changeset
2044 ... print line,
21867
829f2dd99f5c templates: escape NUL bytes in jsonescape (issue4303)
Matt Mackall <mpm@selenic.com>
parents: 21124
diff changeset
2045 var data = [["061dd13ba3c3", [0, 1], [[0, 0, 1, -1, ""]], "\u80fd", "test", "1970-01-01", ["unstable", true], ["tip"], ["something"]], ["cad8025a2e87", [0, 1], [[0, 0, 1, 3, "FF0000"]], "branch commit with null character: \u0000", "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
2046
16361
6097ede2be4d protocol: Add the stream-preferred capability
Benoit Allard <benoit@aeteurope.nl>
parents: 16138
diff changeset
2047 capabilities
6097ede2be4d protocol: Add the stream-preferred capability
Benoit Allard <benoit@aeteurope.nl>
parents: 16138
diff changeset
2048
6097ede2be4d protocol: Add the stream-preferred capability
Benoit Allard <benoit@aeteurope.nl>
parents: 16138
diff changeset
2049 $ "$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
2050 200 Script output follows
6097ede2be4d protocol: Add the stream-preferred capability
Benoit Allard <benoit@aeteurope.nl>
parents: 16138
diff changeset
2051
6097ede2be4d protocol: Add the stream-preferred capability
Benoit Allard <benoit@aeteurope.nl>
parents: 16138
diff changeset
2052 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
2053
6097ede2be4d protocol: Add the stream-preferred capability
Benoit Allard <benoit@aeteurope.nl>
parents: 16138
diff changeset
2054 heads
6097ede2be4d protocol: Add the stream-preferred capability
Benoit Allard <benoit@aeteurope.nl>
parents: 16138
diff changeset
2055
12433
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
2056 ERRORS ENCOUNTERED
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
2057
abbe2e979948 tests: unify test-hgweb-commands
Matt Mackall <mpm@selenic.com>
parents: 11766
diff changeset
2058 $ cat errors.log
17466
d5a3bda6e170 killdaemons: take file argument explicitely
Patrick Mezard <patrick@mezard.eu>
parents: 17421
diff changeset
2059 $ "$TESTDIR/killdaemons.py" $DAEMON_PIDS
16913
f2719b387380 tests: add missing trailing 'cd ..'
Mads Kiilerich <mads@kiilerich.com>
parents: 16773
diff changeset
2060
f2719b387380 tests: add missing trailing 'cd ..'
Mads Kiilerich <mads@kiilerich.com>
parents: 16773
diff changeset
2061 $ cd ..
17318
7ac5800dbc8f hgweb: fix graph view paging
Patrick Mezard <patrick@mezard.eu>
parents: 17288
diff changeset
2062
7ac5800dbc8f hgweb: fix graph view paging
Patrick Mezard <patrick@mezard.eu>
parents: 17288
diff changeset
2063 Test graph paging
7ac5800dbc8f hgweb: fix graph view paging
Patrick Mezard <patrick@mezard.eu>
parents: 17288
diff changeset
2064
7ac5800dbc8f hgweb: fix graph view paging
Patrick Mezard <patrick@mezard.eu>
parents: 17288
diff changeset
2065 $ mkcommit() {
7ac5800dbc8f hgweb: fix graph view paging
Patrick Mezard <patrick@mezard.eu>
parents: 17288
diff changeset
2066 > echo $1 >> a
7ac5800dbc8f hgweb: fix graph view paging
Patrick Mezard <patrick@mezard.eu>
parents: 17288
diff changeset
2067 > hg ci -Am $1 a
7ac5800dbc8f hgweb: fix graph view paging
Patrick Mezard <patrick@mezard.eu>
parents: 17288
diff changeset
2068 > }
7ac5800dbc8f hgweb: fix graph view paging
Patrick Mezard <patrick@mezard.eu>
parents: 17288
diff changeset
2069
7ac5800dbc8f hgweb: fix graph view paging
Patrick Mezard <patrick@mezard.eu>
parents: 17288
diff changeset
2070 $ hg init graph
7ac5800dbc8f hgweb: fix graph view paging
Patrick Mezard <patrick@mezard.eu>
parents: 17288
diff changeset
2071 $ cd graph
7ac5800dbc8f hgweb: fix graph view paging
Patrick Mezard <patrick@mezard.eu>
parents: 17288
diff changeset
2072 $ mkcommit 0
7ac5800dbc8f hgweb: fix graph view paging
Patrick Mezard <patrick@mezard.eu>
parents: 17288
diff changeset
2073 $ mkcommit 1
7ac5800dbc8f hgweb: fix graph view paging
Patrick Mezard <patrick@mezard.eu>
parents: 17288
diff changeset
2074 $ mkcommit 2
7ac5800dbc8f hgweb: fix graph view paging
Patrick Mezard <patrick@mezard.eu>
parents: 17288
diff changeset
2075 $ mkcommit 3
7ac5800dbc8f hgweb: fix graph view paging
Patrick Mezard <patrick@mezard.eu>
parents: 17288
diff changeset
2076 $ mkcommit 4
7ac5800dbc8f hgweb: fix graph view paging
Patrick Mezard <patrick@mezard.eu>
parents: 17288
diff changeset
2077 $ mkcommit 5
7ac5800dbc8f hgweb: fix graph view paging
Patrick Mezard <patrick@mezard.eu>
parents: 17288
diff changeset
2078 $ hg serve --config server.uncompressed=False \
7ac5800dbc8f hgweb: fix graph view paging
Patrick Mezard <patrick@mezard.eu>
parents: 17288
diff changeset
2079 > --config web.maxshortchanges=2 \
7ac5800dbc8f hgweb: fix graph view paging
Patrick Mezard <patrick@mezard.eu>
parents: 17288
diff changeset
2080 > -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
2081 $ cat hg.pid >> $DAEMON_PIDS
7ac5800dbc8f hgweb: fix graph view paging
Patrick Mezard <patrick@mezard.eu>
parents: 17288
diff changeset
2082 $ hg log -G --template '{rev}:{node|short} {desc}\n'
7ac5800dbc8f hgweb: fix graph view paging
Patrick Mezard <patrick@mezard.eu>
parents: 17288
diff changeset
2083 @ 5:aed2d9c1d0e7 5
7ac5800dbc8f hgweb: fix graph view paging
Patrick Mezard <patrick@mezard.eu>
parents: 17288
diff changeset
2084 |
7ac5800dbc8f hgweb: fix graph view paging
Patrick Mezard <patrick@mezard.eu>
parents: 17288
diff changeset
2085 o 4:b60a39a85a01 4
7ac5800dbc8f hgweb: fix graph view paging
Patrick Mezard <patrick@mezard.eu>
parents: 17288
diff changeset
2086 |
7ac5800dbc8f hgweb: fix graph view paging
Patrick Mezard <patrick@mezard.eu>
parents: 17288
diff changeset
2087 o 3:ada793dcc118 3
7ac5800dbc8f hgweb: fix graph view paging
Patrick Mezard <patrick@mezard.eu>
parents: 17288
diff changeset
2088 |
7ac5800dbc8f hgweb: fix graph view paging
Patrick Mezard <patrick@mezard.eu>
parents: 17288
diff changeset
2089 o 2:ab4f1438558b 2
7ac5800dbc8f hgweb: fix graph view paging
Patrick Mezard <patrick@mezard.eu>
parents: 17288
diff changeset
2090 |
7ac5800dbc8f hgweb: fix graph view paging
Patrick Mezard <patrick@mezard.eu>
parents: 17288
diff changeset
2091 o 1:e06180cbfb0c 1
7ac5800dbc8f hgweb: fix graph view paging
Patrick Mezard <patrick@mezard.eu>
parents: 17288
diff changeset
2092 |
7ac5800dbc8f hgweb: fix graph view paging
Patrick Mezard <patrick@mezard.eu>
parents: 17288
diff changeset
2093 o 0:b4e73ffab476 0
7ac5800dbc8f hgweb: fix graph view paging
Patrick Mezard <patrick@mezard.eu>
parents: 17288
diff changeset
2094
7ac5800dbc8f hgweb: fix graph view paging
Patrick Mezard <patrick@mezard.eu>
parents: 17288
diff changeset
2095
7ac5800dbc8f hgweb: fix graph view paging
Patrick Mezard <patrick@mezard.eu>
parents: 17288
diff changeset
2096 Test paging
7ac5800dbc8f hgweb: fix graph view paging
Patrick Mezard <patrick@mezard.eu>
parents: 17288
diff changeset
2097
7ac5800dbc8f hgweb: fix graph view paging
Patrick Mezard <patrick@mezard.eu>
parents: 17288
diff changeset
2098 $ "$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
2099 > 'graph/?style=raw' | grep changeset
7ac5800dbc8f hgweb: fix graph view paging
Patrick Mezard <patrick@mezard.eu>
parents: 17288
diff changeset
2100 changeset: aed2d9c1d0e7
7ac5800dbc8f hgweb: fix graph view paging
Patrick Mezard <patrick@mezard.eu>
parents: 17288
diff changeset
2101 changeset: b60a39a85a01
7ac5800dbc8f hgweb: fix graph view paging
Patrick Mezard <patrick@mezard.eu>
parents: 17288
diff changeset
2102
7ac5800dbc8f hgweb: fix graph view paging
Patrick Mezard <patrick@mezard.eu>
parents: 17288
diff changeset
2103 $ "$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
2104 > 'graph/?style=raw&revcount=3' | grep changeset
7ac5800dbc8f hgweb: fix graph view paging
Patrick Mezard <patrick@mezard.eu>
parents: 17288
diff changeset
2105 changeset: aed2d9c1d0e7
7ac5800dbc8f hgweb: fix graph view paging
Patrick Mezard <patrick@mezard.eu>
parents: 17288
diff changeset
2106 changeset: b60a39a85a01
7ac5800dbc8f hgweb: fix graph view paging
Patrick Mezard <patrick@mezard.eu>
parents: 17288
diff changeset
2107 changeset: ada793dcc118
7ac5800dbc8f hgweb: fix graph view paging
Patrick Mezard <patrick@mezard.eu>
parents: 17288
diff changeset
2108
7ac5800dbc8f hgweb: fix graph view paging
Patrick Mezard <patrick@mezard.eu>
parents: 17288
diff changeset
2109 $ "$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
2110 > 'graph/e06180cbfb0?style=raw&revcount=3' | grep changeset
7ac5800dbc8f hgweb: fix graph view paging
Patrick Mezard <patrick@mezard.eu>
parents: 17288
diff changeset
2111 changeset: e06180cbfb0c
7ac5800dbc8f hgweb: fix graph view paging
Patrick Mezard <patrick@mezard.eu>
parents: 17288
diff changeset
2112 changeset: b4e73ffab476
7ac5800dbc8f hgweb: fix graph view paging
Patrick Mezard <patrick@mezard.eu>
parents: 17288
diff changeset
2113
7ac5800dbc8f hgweb: fix graph view paging
Patrick Mezard <patrick@mezard.eu>
parents: 17288
diff changeset
2114 $ "$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
2115 > 'graph/b4e73ffab47?style=raw&revcount=3' | grep changeset
7ac5800dbc8f hgweb: fix graph view paging
Patrick Mezard <patrick@mezard.eu>
parents: 17288
diff changeset
2116 changeset: b4e73ffab476
7ac5800dbc8f hgweb: fix graph view paging
Patrick Mezard <patrick@mezard.eu>
parents: 17288
diff changeset
2117
7ac5800dbc8f hgweb: fix graph view paging
Patrick Mezard <patrick@mezard.eu>
parents: 17288
diff changeset
2118 $ cat errors.log
7ac5800dbc8f hgweb: fix graph view paging
Patrick Mezard <patrick@mezard.eu>
parents: 17288
diff changeset
2119
18480
5ef3c7081008 tests: improve description of hgweb secret bookmarks test
Kevin Bullock <kbullock@ringworld.org>
parents: 18478
diff changeset
2120 bookmarks view doesn't choke on bookmarks on secret changesets (issue3774)
18478
886936ecc21b hgweb: don't attempt to show hidden bookmarks (issue3774)
Kevin Bullock <kbullock@ringworld.org>
parents: 18367
diff changeset
2121
886936ecc21b hgweb: don't attempt to show hidden bookmarks (issue3774)
Kevin Bullock <kbullock@ringworld.org>
parents: 18367
diff changeset
2122 $ hg phase -fs 4
886936ecc21b hgweb: don't attempt to show hidden bookmarks (issue3774)
Kevin Bullock <kbullock@ringworld.org>
parents: 18367
diff changeset
2123 $ hg bookmark -r4 secret
886936ecc21b hgweb: don't attempt to show hidden bookmarks (issue3774)
Kevin Bullock <kbullock@ringworld.org>
parents: 18367
diff changeset
2124 $ cat > hgweb.cgi <<HGWEB
886936ecc21b hgweb: don't attempt to show hidden bookmarks (issue3774)
Kevin Bullock <kbullock@ringworld.org>
parents: 18367
diff changeset
2125 > from mercurial import demandimport; demandimport.enable()
886936ecc21b hgweb: don't attempt to show hidden bookmarks (issue3774)
Kevin Bullock <kbullock@ringworld.org>
parents: 18367
diff changeset
2126 > from mercurial.hgweb import hgweb
886936ecc21b hgweb: don't attempt to show hidden bookmarks (issue3774)
Kevin Bullock <kbullock@ringworld.org>
parents: 18367
diff changeset
2127 > from mercurial.hgweb import wsgicgi
886936ecc21b hgweb: don't attempt to show hidden bookmarks (issue3774)
Kevin Bullock <kbullock@ringworld.org>
parents: 18367
diff changeset
2128 > app = hgweb('.', 'test')
886936ecc21b hgweb: don't attempt to show hidden bookmarks (issue3774)
Kevin Bullock <kbullock@ringworld.org>
parents: 18367
diff changeset
2129 > wsgicgi.launch(app)
886936ecc21b hgweb: don't attempt to show hidden bookmarks (issue3774)
Kevin Bullock <kbullock@ringworld.org>
parents: 18367
diff changeset
2130 > HGWEB
886936ecc21b hgweb: don't attempt to show hidden bookmarks (issue3774)
Kevin Bullock <kbullock@ringworld.org>
parents: 18367
diff changeset
2131 $ . "$TESTDIR/cgienv"
886936ecc21b hgweb: don't attempt to show hidden bookmarks (issue3774)
Kevin Bullock <kbullock@ringworld.org>
parents: 18367
diff changeset
2132 $ PATH_INFO=/bookmarks; export PATH_INFO
886936ecc21b hgweb: don't attempt to show hidden bookmarks (issue3774)
Kevin Bullock <kbullock@ringworld.org>
parents: 18367
diff changeset
2133 $ QUERY_STRING='style=raw'
18552
e8efcc8ff5c0 hgweb.cgi: fix internal WSGI emulation (issue3804)
Mads Kiilerich <madski@unity3d.com>
parents: 18521
diff changeset
2134 $ python hgweb.cgi | grep -v ETag:
e8efcc8ff5c0 hgweb.cgi: fix internal WSGI emulation (issue3804)
Mads Kiilerich <madski@unity3d.com>
parents: 18521
diff changeset
2135 Status: 200 Script output follows\r (esc)
e8efcc8ff5c0 hgweb.cgi: fix internal WSGI emulation (issue3804)
Mads Kiilerich <madski@unity3d.com>
parents: 18521
diff changeset
2136 Content-Type: text/plain; charset=ascii\r (esc)
e8efcc8ff5c0 hgweb.cgi: fix internal WSGI emulation (issue3804)
Mads Kiilerich <madski@unity3d.com>
parents: 18521
diff changeset
2137 \r (esc)
18478
886936ecc21b hgweb: don't attempt to show hidden bookmarks (issue3774)
Kevin Bullock <kbullock@ringworld.org>
parents: 18367
diff changeset
2138
18496
d1c13a4dc638 bookmarks: hide bookmarks on filtered revs from listkeys
Kevin Bullock <kbullock@ringworld.org>
parents: 18480
diff changeset
2139 listbookmarks hides secret bookmarks
d1c13a4dc638 bookmarks: hide bookmarks on filtered revs from listkeys
Kevin Bullock <kbullock@ringworld.org>
parents: 18480
diff changeset
2140
d1c13a4dc638 bookmarks: hide bookmarks on filtered revs from listkeys
Kevin Bullock <kbullock@ringworld.org>
parents: 18480
diff changeset
2141 $ PATH_INFO=/; export PATH_INFO
d1c13a4dc638 bookmarks: hide bookmarks on filtered revs from listkeys
Kevin Bullock <kbullock@ringworld.org>
parents: 18480
diff changeset
2142 $ QUERY_STRING='cmd=listkeys&namespace=bookmarks'
d1c13a4dc638 bookmarks: hide bookmarks on filtered revs from listkeys
Kevin Bullock <kbullock@ringworld.org>
parents: 18480
diff changeset
2143 $ python hgweb.cgi
18552
e8efcc8ff5c0 hgweb.cgi: fix internal WSGI emulation (issue3804)
Mads Kiilerich <madski@unity3d.com>
parents: 18521
diff changeset
2144 Status: 200 Script output follows\r (esc)
e8efcc8ff5c0 hgweb.cgi: fix internal WSGI emulation (issue3804)
Mads Kiilerich <madski@unity3d.com>
parents: 18521
diff changeset
2145 Content-Type: application/mercurial-0.1\r (esc)
e8efcc8ff5c0 hgweb.cgi: fix internal WSGI emulation (issue3804)
Mads Kiilerich <madski@unity3d.com>
parents: 18521
diff changeset
2146 Content-Length: 0\r (esc)
e8efcc8ff5c0 hgweb.cgi: fix internal WSGI emulation (issue3804)
Mads Kiilerich <madski@unity3d.com>
parents: 18521
diff changeset
2147 \r (esc)
18496
d1c13a4dc638 bookmarks: hide bookmarks on filtered revs from listkeys
Kevin Bullock <kbullock@ringworld.org>
parents: 18480
diff changeset
2148
18497
a58d8936647a hgweb: prevent traceback during search when filtered (issue3783)
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents: 18496
diff changeset
2149 search works with filtering
a58d8936647a hgweb: prevent traceback during search when filtered (issue3783)
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents: 18496
diff changeset
2150
a58d8936647a hgweb: prevent traceback during search when filtered (issue3783)
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents: 18496
diff changeset
2151 $ PATH_INFO=/log; export PATH_INFO
a58d8936647a hgweb: prevent traceback during search when filtered (issue3783)
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents: 18496
diff changeset
2152 $ QUERY_STRING='rev=babar'
a58d8936647a hgweb: prevent traceback during search when filtered (issue3783)
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents: 18496
diff changeset
2153 $ python hgweb.cgi > search
a58d8936647a hgweb: prevent traceback during search when filtered (issue3783)
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents: 18496
diff changeset
2154 $ grep Status search
a58d8936647a hgweb: prevent traceback during search when filtered (issue3783)
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents: 18496
diff changeset
2155 Status: 200 Script output follows\r (esc)
a58d8936647a hgweb: prevent traceback during search when filtered (issue3783)
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents: 18496
diff changeset
2156
18563
6d098adc5a46 hgweb: make 'summary' work with hidden changesets (issue3810)
Kevin Bullock <kbullock@ringworld.org>
parents: 18552
diff changeset
2157 summary works with filtering (issue3810)
6d098adc5a46 hgweb: make 'summary' work with hidden changesets (issue3810)
Kevin Bullock <kbullock@ringworld.org>
parents: 18552
diff changeset
2158
6d098adc5a46 hgweb: make 'summary' work with hidden changesets (issue3810)
Kevin Bullock <kbullock@ringworld.org>
parents: 18552
diff changeset
2159 $ PATH_INFO=/summary; export PATH_INFO
6d098adc5a46 hgweb: make 'summary' work with hidden changesets (issue3810)
Kevin Bullock <kbullock@ringworld.org>
parents: 18552
diff changeset
2160 $ QUERY_STRING='style=monoblue'; export QUERY_STRING
6d098adc5a46 hgweb: make 'summary' work with hidden changesets (issue3810)
Kevin Bullock <kbullock@ringworld.org>
parents: 18552
diff changeset
2161 $ python hgweb.cgi > summary.out
6d098adc5a46 hgweb: make 'summary' work with hidden changesets (issue3810)
Kevin Bullock <kbullock@ringworld.org>
parents: 18552
diff changeset
2162 $ grep "^Status" summary.out
6d098adc5a46 hgweb: make 'summary' work with hidden changesets (issue3810)
Kevin Bullock <kbullock@ringworld.org>
parents: 18552
diff changeset
2163 Status: 200 Script output follows\r (esc)
6d098adc5a46 hgweb: make 'summary' work with hidden changesets (issue3810)
Kevin Bullock <kbullock@ringworld.org>
parents: 18552
diff changeset
2164
18521
0af2fe7b3274 hgweb: returns 404 for unknow revision instead of 500
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents: 18517
diff changeset
2165 proper status for filtered revision
0af2fe7b3274 hgweb: returns 404 for unknow revision instead of 500
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents: 18517
diff changeset
2166
0af2fe7b3274 hgweb: returns 404 for unknow revision instead of 500
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents: 18517
diff changeset
2167
0af2fe7b3274 hgweb: returns 404 for unknow revision instead of 500
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents: 18517
diff changeset
2168 (missing rev)
0af2fe7b3274 hgweb: returns 404 for unknow revision instead of 500
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents: 18517
diff changeset
2169
0af2fe7b3274 hgweb: returns 404 for unknow revision instead of 500
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents: 18517
diff changeset
2170 $ PATH_INFO=/rev/5; export PATH_INFO
0af2fe7b3274 hgweb: returns 404 for unknow revision instead of 500
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents: 18517
diff changeset
2171 $ QUERY_STRING='style=raw'
0af2fe7b3274 hgweb: returns 404 for unknow revision instead of 500
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents: 18517
diff changeset
2172 $ python hgweb.cgi #> search
0af2fe7b3274 hgweb: returns 404 for unknow revision instead of 500
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents: 18517
diff changeset
2173 Status: 404 Not Found\r (esc)
0af2fe7b3274 hgweb: returns 404 for unknow revision instead of 500
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents: 18517
diff changeset
2174 ETag: *\r (glob) (esc)
0af2fe7b3274 hgweb: returns 404 for unknow revision instead of 500
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents: 18517
diff changeset
2175 Content-Type: text/plain; charset=ascii\r (esc)
0af2fe7b3274 hgweb: returns 404 for unknow revision instead of 500
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents: 18517
diff changeset
2176 \r (esc)
0af2fe7b3274 hgweb: returns 404 for unknow revision instead of 500
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents: 18517
diff changeset
2177
23045
a4dd270a419c repoview: include the filter name in filtered revision error messages
Pierre-Yves David <pierre-yves.david@fb.com>
parents: 23017
diff changeset
2178 error: filtered revision '5' (not in 'served' subset)
18521
0af2fe7b3274 hgweb: returns 404 for unknow revision instead of 500
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents: 18517
diff changeset
2179
0af2fe7b3274 hgweb: returns 404 for unknow revision instead of 500
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents: 18517
diff changeset
2180
0af2fe7b3274 hgweb: returns 404 for unknow revision instead of 500
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents: 18517
diff changeset
2181
0af2fe7b3274 hgweb: returns 404 for unknow revision instead of 500
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents: 18517
diff changeset
2182 (filtered rev)
0af2fe7b3274 hgweb: returns 404 for unknow revision instead of 500
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents: 18517
diff changeset
2183
0af2fe7b3274 hgweb: returns 404 for unknow revision instead of 500
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents: 18517
diff changeset
2184 $ PATH_INFO=/rev/4; export PATH_INFO
0af2fe7b3274 hgweb: returns 404 for unknow revision instead of 500
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents: 18517
diff changeset
2185 $ QUERY_STRING='style=raw'
0af2fe7b3274 hgweb: returns 404 for unknow revision instead of 500
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents: 18517
diff changeset
2186 $ python hgweb.cgi #> search
0af2fe7b3274 hgweb: returns 404 for unknow revision instead of 500
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents: 18517
diff changeset
2187 Status: 404 Not Found\r (esc)
0af2fe7b3274 hgweb: returns 404 for unknow revision instead of 500
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents: 18517
diff changeset
2188 ETag: *\r (glob) (esc)
0af2fe7b3274 hgweb: returns 404 for unknow revision instead of 500
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents: 18517
diff changeset
2189 Content-Type: text/plain; charset=ascii\r (esc)
0af2fe7b3274 hgweb: returns 404 for unknow revision instead of 500
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents: 18517
diff changeset
2190 \r (esc)
0af2fe7b3274 hgweb: returns 404 for unknow revision instead of 500
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents: 18517
diff changeset
2191
23045
a4dd270a419c repoview: include the filter name in filtered revision error messages
Pierre-Yves David <pierre-yves.david@fb.com>
parents: 23017
diff changeset
2192 error: filtered revision '4' (not in 'served' subset)
18521
0af2fe7b3274 hgweb: returns 404 for unknow revision instead of 500
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents: 18517
diff changeset
2193
19094
fc1b77db123f hgweb: handle filtered "0" rev in navigation
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents: 19075
diff changeset
2194 filtered '0' changeset
fc1b77db123f hgweb: handle filtered "0" rev in navigation
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents: 19075
diff changeset
2195
fc1b77db123f hgweb: handle filtered "0" rev in navigation
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents: 19075
diff changeset
2196 (create new root)
fc1b77db123f hgweb: handle filtered "0" rev in navigation
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents: 19075
diff changeset
2197 $ hg up null
fc1b77db123f hgweb: handle filtered "0" rev in navigation
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents: 19075
diff changeset
2198 0 files updated, 0 files merged, 1 files removed, 0 files unresolved
fc1b77db123f hgweb: handle filtered "0" rev in navigation
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents: 19075
diff changeset
2199 $ echo 'babar' > jungle
fc1b77db123f hgweb: handle filtered "0" rev in navigation
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents: 19075
diff changeset
2200 $ hg add jungle
fc1b77db123f hgweb: handle filtered "0" rev in navigation
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents: 19075
diff changeset
2201 $ hg ci -m 'Babar is in the jungle!'
fc1b77db123f hgweb: handle filtered "0" rev in navigation
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents: 19075
diff changeset
2202 created new head
fc1b77db123f hgweb: handle filtered "0" rev in navigation
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents: 19075
diff changeset
2203 $ hg graft 0::
23505
bd5dbb8a05c8 graft: show more useful status information while grafting
Mads Kiilerich <madski@unity3d.com>
parents: 23377
diff changeset
2204 grafting 0:b4e73ffab476 "0"
bd5dbb8a05c8 graft: show more useful status information while grafting
Mads Kiilerich <madski@unity3d.com>
parents: 23377
diff changeset
2205 grafting 1:e06180cbfb0c "1"
bd5dbb8a05c8 graft: show more useful status information while grafting
Mads Kiilerich <madski@unity3d.com>
parents: 23377
diff changeset
2206 grafting 2:ab4f1438558b "2"
bd5dbb8a05c8 graft: show more useful status information while grafting
Mads Kiilerich <madski@unity3d.com>
parents: 23377
diff changeset
2207 grafting 3:ada793dcc118 "3"
bd5dbb8a05c8 graft: show more useful status information while grafting
Mads Kiilerich <madski@unity3d.com>
parents: 23377
diff changeset
2208 grafting 4:b60a39a85a01 "4" (secret)
bd5dbb8a05c8 graft: show more useful status information while grafting
Mads Kiilerich <madski@unity3d.com>
parents: 23377
diff changeset
2209 grafting 5:aed2d9c1d0e7 "5"
19094
fc1b77db123f hgweb: handle filtered "0" rev in navigation
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents: 19075
diff changeset
2210 (turning the initial root secret (filtered))
fc1b77db123f hgweb: handle filtered "0" rev in navigation
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents: 19075
diff changeset
2211 $ hg phase --force --secret 0
fc1b77db123f hgweb: handle filtered "0" rev in navigation
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents: 19075
diff changeset
2212 $ PATH_INFO=/graph/; export PATH_INFO
fc1b77db123f hgweb: handle filtered "0" rev in navigation
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents: 19075
diff changeset
2213 $ QUERY_STRING=''
fc1b77db123f hgweb: handle filtered "0" rev in navigation
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents: 19075
diff changeset
2214 $ python hgweb.cgi | grep Status
fc1b77db123f hgweb: handle filtered "0" rev in navigation
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents: 19075
diff changeset
2215 Status: 200 Script output follows\r (esc)
fc1b77db123f hgweb: handle filtered "0" rev in navigation
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents: 19075
diff changeset
2216 (check rendered revision)
fc1b77db123f hgweb: handle filtered "0" rev in navigation
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents: 19075
diff changeset
2217 $ QUERY_STRING='style=raw'
fc1b77db123f hgweb: handle filtered "0" rev in navigation
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents: 19075
diff changeset
2218 $ python hgweb.cgi | grep -v ETag
fc1b77db123f hgweb: handle filtered "0" rev in navigation
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents: 19075
diff changeset
2219 Status: 200 Script output follows\r (esc)
fc1b77db123f hgweb: handle filtered "0" rev in navigation
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents: 19075
diff changeset
2220 Content-Type: text/plain; charset=ascii\r (esc)
fc1b77db123f hgweb: handle filtered "0" rev in navigation
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents: 19075
diff changeset
2221 \r (esc)
fc1b77db123f hgweb: handle filtered "0" rev in navigation
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents: 19075
diff changeset
2222
fc1b77db123f hgweb: handle filtered "0" rev in navigation
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents: 19075
diff changeset
2223 # HG graph
fc1b77db123f hgweb: handle filtered "0" rev in navigation
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents: 19075
diff changeset
2224 # Node ID 1d9b947fef1fbb382a95c11a8f5a67e9a10b5026
fc1b77db123f hgweb: handle filtered "0" rev in navigation
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents: 19075
diff changeset
2225 # Rows shown 7
fc1b77db123f hgweb: handle filtered "0" rev in navigation
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents: 19075
diff changeset
2226
fc1b77db123f hgweb: handle filtered "0" rev in navigation
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents: 19075
diff changeset
2227 changeset: 1d9b947fef1f
fc1b77db123f hgweb: handle filtered "0" rev in navigation
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents: 19075
diff changeset
2228 user: test
fc1b77db123f hgweb: handle filtered "0" rev in navigation
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents: 19075
diff changeset
2229 date: 1970-01-01
fc1b77db123f hgweb: handle filtered "0" rev in navigation
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents: 19075
diff changeset
2230 summary: 5
fc1b77db123f hgweb: handle filtered "0" rev in navigation
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents: 19075
diff changeset
2231 branch: default
fc1b77db123f hgweb: handle filtered "0" rev in navigation
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents: 19075
diff changeset
2232 tag: tip
fc1b77db123f hgweb: handle filtered "0" rev in navigation
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents: 19075
diff changeset
2233
fc1b77db123f hgweb: handle filtered "0" rev in navigation
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents: 19075
diff changeset
2234 node: (0, 0) (color 1)
fc1b77db123f hgweb: handle filtered "0" rev in navigation
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents: 19075
diff changeset
2235 edge: (0, 0) -> (0, 1) (color 1)
fc1b77db123f hgweb: handle filtered "0" rev in navigation
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents: 19075
diff changeset
2236
fc1b77db123f hgweb: handle filtered "0" rev in navigation
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents: 19075
diff changeset
2237 changeset: 0cfd435fd222
fc1b77db123f hgweb: handle filtered "0" rev in navigation
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents: 19075
diff changeset
2238 user: test
fc1b77db123f hgweb: handle filtered "0" rev in navigation
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents: 19075
diff changeset
2239 date: 1970-01-01
fc1b77db123f hgweb: handle filtered "0" rev in navigation
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents: 19075
diff changeset
2240 summary: 4
fc1b77db123f hgweb: handle filtered "0" rev in navigation
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents: 19075
diff changeset
2241
fc1b77db123f hgweb: handle filtered "0" rev in navigation
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents: 19075
diff changeset
2242 node: (0, 1) (color 1)
fc1b77db123f hgweb: handle filtered "0" rev in navigation
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents: 19075
diff changeset
2243 edge: (0, 1) -> (0, 2) (color 1)
fc1b77db123f hgweb: handle filtered "0" rev in navigation
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents: 19075
diff changeset
2244
fc1b77db123f hgweb: handle filtered "0" rev in navigation
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents: 19075
diff changeset
2245 changeset: 6768b9939e82
fc1b77db123f hgweb: handle filtered "0" rev in navigation
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents: 19075
diff changeset
2246 user: test
fc1b77db123f hgweb: handle filtered "0" rev in navigation
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents: 19075
diff changeset
2247 date: 1970-01-01
fc1b77db123f hgweb: handle filtered "0" rev in navigation
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents: 19075
diff changeset
2248 summary: 3
fc1b77db123f hgweb: handle filtered "0" rev in navigation
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents: 19075
diff changeset
2249
fc1b77db123f hgweb: handle filtered "0" rev in navigation
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents: 19075
diff changeset
2250 node: (0, 2) (color 1)
fc1b77db123f hgweb: handle filtered "0" rev in navigation
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents: 19075
diff changeset
2251 edge: (0, 2) -> (0, 3) (color 1)
fc1b77db123f hgweb: handle filtered "0" rev in navigation
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents: 19075
diff changeset
2252
fc1b77db123f hgweb: handle filtered "0" rev in navigation
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents: 19075
diff changeset
2253 changeset: 05b0497fd125
fc1b77db123f hgweb: handle filtered "0" rev in navigation
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents: 19075
diff changeset
2254 user: test
fc1b77db123f hgweb: handle filtered "0" rev in navigation
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents: 19075
diff changeset
2255 date: 1970-01-01
fc1b77db123f hgweb: handle filtered "0" rev in navigation
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents: 19075
diff changeset
2256 summary: 2
fc1b77db123f hgweb: handle filtered "0" rev in navigation
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents: 19075
diff changeset
2257
fc1b77db123f hgweb: handle filtered "0" rev in navigation
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents: 19075
diff changeset
2258 node: (0, 3) (color 1)
fc1b77db123f hgweb: handle filtered "0" rev in navigation
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents: 19075
diff changeset
2259 edge: (0, 3) -> (0, 4) (color 1)
fc1b77db123f hgweb: handle filtered "0" rev in navigation
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents: 19075
diff changeset
2260
fc1b77db123f hgweb: handle filtered "0" rev in navigation
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents: 19075
diff changeset
2261 changeset: 9c102df67cfb
fc1b77db123f hgweb: handle filtered "0" rev in navigation
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents: 19075
diff changeset
2262 user: test
fc1b77db123f hgweb: handle filtered "0" rev in navigation
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents: 19075
diff changeset
2263 date: 1970-01-01
fc1b77db123f hgweb: handle filtered "0" rev in navigation
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents: 19075
diff changeset
2264 summary: 1
fc1b77db123f hgweb: handle filtered "0" rev in navigation
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents: 19075
diff changeset
2265
fc1b77db123f hgweb: handle filtered "0" rev in navigation
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents: 19075
diff changeset
2266 node: (0, 4) (color 1)
fc1b77db123f hgweb: handle filtered "0" rev in navigation
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents: 19075
diff changeset
2267 edge: (0, 4) -> (0, 5) (color 1)
fc1b77db123f hgweb: handle filtered "0" rev in navigation
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents: 19075
diff changeset
2268
fc1b77db123f hgweb: handle filtered "0" rev in navigation
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents: 19075
diff changeset
2269 changeset: 3ebcd7db11bf
fc1b77db123f hgweb: handle filtered "0" rev in navigation
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents: 19075
diff changeset
2270 user: test
fc1b77db123f hgweb: handle filtered "0" rev in navigation
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents: 19075
diff changeset
2271 date: 1970-01-01
fc1b77db123f hgweb: handle filtered "0" rev in navigation
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents: 19075
diff changeset
2272 summary: 0
fc1b77db123f hgweb: handle filtered "0" rev in navigation
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents: 19075
diff changeset
2273
fc1b77db123f hgweb: handle filtered "0" rev in navigation
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents: 19075
diff changeset
2274 node: (0, 5) (color 1)
fc1b77db123f hgweb: handle filtered "0" rev in navigation
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents: 19075
diff changeset
2275 edge: (0, 5) -> (0, 6) (color 1)
fc1b77db123f hgweb: handle filtered "0" rev in navigation
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents: 19075
diff changeset
2276
fc1b77db123f hgweb: handle filtered "0" rev in navigation
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents: 19075
diff changeset
2277 changeset: c5e9bd96ae01
fc1b77db123f hgweb: handle filtered "0" rev in navigation
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents: 19075
diff changeset
2278 user: test
fc1b77db123f hgweb: handle filtered "0" rev in navigation
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents: 19075
diff changeset
2279 date: 1970-01-01
fc1b77db123f hgweb: handle filtered "0" rev in navigation
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents: 19075
diff changeset
2280 summary: Babar is in the jungle!
fc1b77db123f hgweb: handle filtered "0" rev in navigation
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents: 19075
diff changeset
2281
fc1b77db123f hgweb: handle filtered "0" rev in navigation
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents: 19075
diff changeset
2282 node: (0, 6) (color 1)
fc1b77db123f hgweb: handle filtered "0" rev in navigation
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents: 19075
diff changeset
2283
fc1b77db123f hgweb: handle filtered "0" rev in navigation
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents: 19075
diff changeset
2284
fc1b77db123f hgweb: handle filtered "0" rev in navigation
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents: 19075
diff changeset
2285
fc1b77db123f hgweb: handle filtered "0" rev in navigation
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents: 19075
diff changeset
2286
fc1b77db123f hgweb: handle filtered "0" rev in navigation
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents: 19075
diff changeset
2287
17318
7ac5800dbc8f hgweb: fix graph view paging
Patrick Mezard <patrick@mezard.eu>
parents: 17288
diff changeset
2288 $ cd ..
19094
fc1b77db123f hgweb: handle filtered "0" rev in navigation
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents: 19075
diff changeset
2289