annotate tests/test-hgweb-no-request-uri.t @ 40075:ad8d8dc9be3f

narrow: move adding of narrow server capabilities to core We use the experimental.narrow config option introduced in one of the previous patch and move the functionality of adding narrow server capabilities to core. Differential Revision: https://phab.mercurial-scm.org/D4891
author Pulkit Goyal <pulkit@yandex-team.ru>
date Fri, 05 Oct 2018 22:52:24 +0300
parents b55747ca518f
children f80f7a67e176
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
12439
31ea3ce83a92 tests: unify test-hgweb-no-request-uri
Matt Mackall <mpm@selenic.com>
parents: 12183
diff changeset
1 This tests if hgweb and hgwebdir still work if the REQUEST_URI variable is
31ea3ce83a92 tests: unify test-hgweb-no-request-uri
Matt Mackall <mpm@selenic.com>
parents: 12183
diff changeset
2 no longer passed with the request. Instead, SCRIPT_NAME and PATH_INFO
31ea3ce83a92 tests: unify test-hgweb-no-request-uri
Matt Mackall <mpm@selenic.com>
parents: 12183
diff changeset
3 should be used from d74fc8dec2b4 onward to route the request.
5579
e15f7db0f0ee Use SCRIPT_NAME and PATH_INFO instead of REQUEST_URI. This is required by WSGI (fixes issue846).
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents:
diff changeset
4
13956
ffb5c09ba822 tests: remove redundant mkdir
Martin Geisler <mg@lazybytes.net>
parents: 12743
diff changeset
5 $ hg init repo
12439
31ea3ce83a92 tests: unify test-hgweb-no-request-uri
Matt Mackall <mpm@selenic.com>
parents: 12183
diff changeset
6 $ cd repo
31ea3ce83a92 tests: unify test-hgweb-no-request-uri
Matt Mackall <mpm@selenic.com>
parents: 12183
diff changeset
7 $ echo foo > bar
31ea3ce83a92 tests: unify test-hgweb-no-request-uri
Matt Mackall <mpm@selenic.com>
parents: 12183
diff changeset
8 $ hg add bar
31ea3ce83a92 tests: unify test-hgweb-no-request-uri
Matt Mackall <mpm@selenic.com>
parents: 12183
diff changeset
9 $ hg commit -m "test"
31ea3ce83a92 tests: unify test-hgweb-no-request-uri
Matt Mackall <mpm@selenic.com>
parents: 12183
diff changeset
10 $ hg tip
31ea3ce83a92 tests: unify test-hgweb-no-request-uri
Matt Mackall <mpm@selenic.com>
parents: 12183
diff changeset
11 changeset: 0:61c9426e69fe
31ea3ce83a92 tests: unify test-hgweb-no-request-uri
Matt Mackall <mpm@selenic.com>
parents: 12183
diff changeset
12 tag: tip
31ea3ce83a92 tests: unify test-hgweb-no-request-uri
Matt Mackall <mpm@selenic.com>
parents: 12183
diff changeset
13 user: test
31ea3ce83a92 tests: unify test-hgweb-no-request-uri
Matt Mackall <mpm@selenic.com>
parents: 12183
diff changeset
14 date: Thu Jan 01 00:00:00 1970 +0000
31ea3ce83a92 tests: unify test-hgweb-no-request-uri
Matt Mackall <mpm@selenic.com>
parents: 12183
diff changeset
15 summary: test
31ea3ce83a92 tests: unify test-hgweb-no-request-uri
Matt Mackall <mpm@selenic.com>
parents: 12183
diff changeset
16
31ea3ce83a92 tests: unify test-hgweb-no-request-uri
Matt Mackall <mpm@selenic.com>
parents: 12183
diff changeset
17 $ cat > request.py <<EOF
28858
ba7809b053fd py3: use absolute_import in test-hgweb-no-request-uri.t
timeless <timeless@mozdev.org>
parents: 21117
diff changeset
18 > from __future__ import absolute_import
ba7809b053fd py3: use absolute_import in test-hgweb-no-request-uri.t
timeless <timeless@mozdev.org>
parents: 21117
diff changeset
19 > import os
ba7809b053fd py3: use absolute_import in test-hgweb-no-request-uri.t
timeless <timeless@mozdev.org>
parents: 21117
diff changeset
20 > import sys
ba7809b053fd py3: use absolute_import in test-hgweb-no-request-uri.t
timeless <timeless@mozdev.org>
parents: 21117
diff changeset
21 > from mercurial.hgweb import (
ba7809b053fd py3: use absolute_import in test-hgweb-no-request-uri.t
timeless <timeless@mozdev.org>
parents: 21117
diff changeset
22 > hgweb,
ba7809b053fd py3: use absolute_import in test-hgweb-no-request-uri.t
timeless <timeless@mozdev.org>
parents: 21117
diff changeset
23 > hgwebdir,
ba7809b053fd py3: use absolute_import in test-hgweb-no-request-uri.t
timeless <timeless@mozdev.org>
parents: 21117
diff changeset
24 > )
28861
86db5cb55d46 pycompat: switch to util.stringio for py3 compat
timeless <timeless@mozdev.org>
parents: 28858
diff changeset
25 > from mercurial import (
39892
b55747ca518f py3: ensure printing to stdout uses str in test-hgweb-no-request-uri.t
Matt Harbison <matt_harbison@yahoo.com>
parents: 39707
diff changeset
26 > encoding,
28861
86db5cb55d46 pycompat: switch to util.stringio for py3 compat
timeless <timeless@mozdev.org>
parents: 28858
diff changeset
27 > util,
86db5cb55d46 pycompat: switch to util.stringio for py3 compat
timeless <timeless@mozdev.org>
parents: 28858
diff changeset
28 > )
86db5cb55d46 pycompat: switch to util.stringio for py3 compat
timeless <timeless@mozdev.org>
parents: 28858
diff changeset
29 > stringio = util.stringio
12439
31ea3ce83a92 tests: unify test-hgweb-no-request-uri
Matt Mackall <mpm@selenic.com>
parents: 12183
diff changeset
30 >
28861
86db5cb55d46 pycompat: switch to util.stringio for py3 compat
timeless <timeless@mozdev.org>
parents: 28858
diff changeset
31 > errors = stringio()
86db5cb55d46 pycompat: switch to util.stringio for py3 compat
timeless <timeless@mozdev.org>
parents: 28858
diff changeset
32 > input = stringio()
12439
31ea3ce83a92 tests: unify test-hgweb-no-request-uri
Matt Mackall <mpm@selenic.com>
parents: 12183
diff changeset
33 >
31ea3ce83a92 tests: unify test-hgweb-no-request-uri
Matt Mackall <mpm@selenic.com>
parents: 12183
diff changeset
34 > def startrsp(status, headers):
33720
27fb986e54d0 tests: fix simple heredoc print statements to work on Py3
Augie Fackler <augie@google.com>
parents: 32940
diff changeset
35 > print('---- STATUS')
27fb986e54d0 tests: fix simple heredoc print statements to work on Py3
Augie Fackler <augie@google.com>
parents: 32940
diff changeset
36 > print(status)
27fb986e54d0 tests: fix simple heredoc print statements to work on Py3
Augie Fackler <augie@google.com>
parents: 32940
diff changeset
37 > print('---- HEADERS')
27fb986e54d0 tests: fix simple heredoc print statements to work on Py3
Augie Fackler <augie@google.com>
parents: 32940
diff changeset
38 > print([i for i in headers if i[0] != 'ETag'])
27fb986e54d0 tests: fix simple heredoc print statements to work on Py3
Augie Fackler <augie@google.com>
parents: 32940
diff changeset
39 > print('---- DATA')
12743
4c4aeaab2339 check-code: add 'no tab indent' check for unified tests
Adrian Buehlmann <adrian@cadifra.com>
parents: 12643
diff changeset
40 > return output.write
12439
31ea3ce83a92 tests: unify test-hgweb-no-request-uri
Matt Mackall <mpm@selenic.com>
parents: 12183
diff changeset
41 >
31ea3ce83a92 tests: unify test-hgweb-no-request-uri
Matt Mackall <mpm@selenic.com>
parents: 12183
diff changeset
42 > env = {
12743
4c4aeaab2339 check-code: add 'no tab indent' check for unified tests
Adrian Buehlmann <adrian@cadifra.com>
parents: 12643
diff changeset
43 > 'wsgi.version': (1, 0),
4c4aeaab2339 check-code: add 'no tab indent' check for unified tests
Adrian Buehlmann <adrian@cadifra.com>
parents: 12643
diff changeset
44 > 'wsgi.url_scheme': 'http',
4c4aeaab2339 check-code: add 'no tab indent' check for unified tests
Adrian Buehlmann <adrian@cadifra.com>
parents: 12643
diff changeset
45 > 'wsgi.errors': errors,
4c4aeaab2339 check-code: add 'no tab indent' check for unified tests
Adrian Buehlmann <adrian@cadifra.com>
parents: 12643
diff changeset
46 > 'wsgi.input': input,
4c4aeaab2339 check-code: add 'no tab indent' check for unified tests
Adrian Buehlmann <adrian@cadifra.com>
parents: 12643
diff changeset
47 > 'wsgi.multithread': False,
4c4aeaab2339 check-code: add 'no tab indent' check for unified tests
Adrian Buehlmann <adrian@cadifra.com>
parents: 12643
diff changeset
48 > 'wsgi.multiprocess': False,
4c4aeaab2339 check-code: add 'no tab indent' check for unified tests
Adrian Buehlmann <adrian@cadifra.com>
parents: 12643
diff changeset
49 > 'wsgi.run_once': False,
4c4aeaab2339 check-code: add 'no tab indent' check for unified tests
Adrian Buehlmann <adrian@cadifra.com>
parents: 12643
diff changeset
50 > 'REQUEST_METHOD': 'GET',
4c4aeaab2339 check-code: add 'no tab indent' check for unified tests
Adrian Buehlmann <adrian@cadifra.com>
parents: 12643
diff changeset
51 > 'SCRIPT_NAME': '',
31008
636cf3f7620d tests: use LOCALIP
Jun Wu <quark@fb.com>
parents: 29519
diff changeset
52 > 'SERVER_NAME': '$LOCALIP',
12743
4c4aeaab2339 check-code: add 'no tab indent' check for unified tests
Adrian Buehlmann <adrian@cadifra.com>
parents: 12643
diff changeset
53 > 'SERVER_PORT': os.environ['HGPORT'],
4c4aeaab2339 check-code: add 'no tab indent' check for unified tests
Adrian Buehlmann <adrian@cadifra.com>
parents: 12643
diff changeset
54 > 'SERVER_PROTOCOL': 'HTTP/1.0'
12439
31ea3ce83a92 tests: unify test-hgweb-no-request-uri
Matt Mackall <mpm@selenic.com>
parents: 12183
diff changeset
55 > }
31ea3ce83a92 tests: unify test-hgweb-no-request-uri
Matt Mackall <mpm@selenic.com>
parents: 12183
diff changeset
56 >
31ea3ce83a92 tests: unify test-hgweb-no-request-uri
Matt Mackall <mpm@selenic.com>
parents: 12183
diff changeset
57 > def process(app):
12743
4c4aeaab2339 check-code: add 'no tab indent' check for unified tests
Adrian Buehlmann <adrian@cadifra.com>
parents: 12643
diff changeset
58 > content = app(env, startrsp)
39892
b55747ca518f py3: ensure printing to stdout uses str in test-hgweb-no-request-uri.t
Matt Harbison <matt_harbison@yahoo.com>
parents: 39707
diff changeset
59 > sys.stdout.write(encoding.strfromlocal(output.getvalue()))
b55747ca518f py3: ensure printing to stdout uses str in test-hgweb-no-request-uri.t
Matt Harbison <matt_harbison@yahoo.com>
parents: 39707
diff changeset
60 > sys.stdout.write(encoding.strfromlocal(b''.join(content)))
18646
c6a81e54c209 hgweb: make the test suite use hgweb in a more WSGI compliant way
Mads Kiilerich <mads@kiilerich.com>
parents: 16913
diff changeset
61 > getattr(content, 'close', lambda : None)()
33720
27fb986e54d0 tests: fix simple heredoc print statements to work on Py3
Augie Fackler <augie@google.com>
parents: 32940
diff changeset
62 > print('---- ERRORS')
39892
b55747ca518f py3: ensure printing to stdout uses str in test-hgweb-no-request-uri.t
Matt Harbison <matt_harbison@yahoo.com>
parents: 39707
diff changeset
63 > print(encoding.strfromlocal(errors.getvalue())) # avoid b'' output diff
12439
31ea3ce83a92 tests: unify test-hgweb-no-request-uri
Matt Mackall <mpm@selenic.com>
parents: 12183
diff changeset
64 >
28861
86db5cb55d46 pycompat: switch to util.stringio for py3 compat
timeless <timeless@mozdev.org>
parents: 28858
diff changeset
65 > output = stringio()
12439
31ea3ce83a92 tests: unify test-hgweb-no-request-uri
Matt Mackall <mpm@selenic.com>
parents: 12183
diff changeset
66 > env['PATH_INFO'] = '/'
31ea3ce83a92 tests: unify test-hgweb-no-request-uri
Matt Mackall <mpm@selenic.com>
parents: 12183
diff changeset
67 > env['QUERY_STRING'] = 'style=atom'
39660
a12916cfef9e py3: add b'' prefixes in tests/test-hgweb-no-request-uri.t
Pulkit Goyal <pulkit@yandex-team.ru>
parents: 33720
diff changeset
68 > process(hgweb(b'.', name = b'repo'))
12439
31ea3ce83a92 tests: unify test-hgweb-no-request-uri
Matt Mackall <mpm@selenic.com>
parents: 12183
diff changeset
69 >
28861
86db5cb55d46 pycompat: switch to util.stringio for py3 compat
timeless <timeless@mozdev.org>
parents: 28858
diff changeset
70 > output = stringio()
12439
31ea3ce83a92 tests: unify test-hgweb-no-request-uri
Matt Mackall <mpm@selenic.com>
parents: 12183
diff changeset
71 > env['PATH_INFO'] = '/file/tip/'
31ea3ce83a92 tests: unify test-hgweb-no-request-uri
Matt Mackall <mpm@selenic.com>
parents: 12183
diff changeset
72 > env['QUERY_STRING'] = 'style=raw'
39660
a12916cfef9e py3: add b'' prefixes in tests/test-hgweb-no-request-uri.t
Pulkit Goyal <pulkit@yandex-team.ru>
parents: 33720
diff changeset
73 > process(hgweb(b'.', name = b'repo'))
12439
31ea3ce83a92 tests: unify test-hgweb-no-request-uri
Matt Mackall <mpm@selenic.com>
parents: 12183
diff changeset
74 >
28861
86db5cb55d46 pycompat: switch to util.stringio for py3 compat
timeless <timeless@mozdev.org>
parents: 28858
diff changeset
75 > output = stringio()
12439
31ea3ce83a92 tests: unify test-hgweb-no-request-uri
Matt Mackall <mpm@selenic.com>
parents: 12183
diff changeset
76 > env['PATH_INFO'] = '/'
31ea3ce83a92 tests: unify test-hgweb-no-request-uri
Matt Mackall <mpm@selenic.com>
parents: 12183
diff changeset
77 > env['QUERY_STRING'] = 'style=raw'
39664
322aaf80acf3 py3: add missing b'' prefixes in couple of test files
Pulkit Goyal <pulkit@yandex-team.ru>
parents: 39660
diff changeset
78 > process(hgwebdir({b'repo': b'.'}))
12439
31ea3ce83a92 tests: unify test-hgweb-no-request-uri
Matt Mackall <mpm@selenic.com>
parents: 12183
diff changeset
79 >
28861
86db5cb55d46 pycompat: switch to util.stringio for py3 compat
timeless <timeless@mozdev.org>
parents: 28858
diff changeset
80 > output = stringio()
12439
31ea3ce83a92 tests: unify test-hgweb-no-request-uri
Matt Mackall <mpm@selenic.com>
parents: 12183
diff changeset
81 > env['PATH_INFO'] = '/repo/file/tip/'
31ea3ce83a92 tests: unify test-hgweb-no-request-uri
Matt Mackall <mpm@selenic.com>
parents: 12183
diff changeset
82 > env['QUERY_STRING'] = 'style=raw'
39664
322aaf80acf3 py3: add missing b'' prefixes in couple of test files
Pulkit Goyal <pulkit@yandex-team.ru>
parents: 39660
diff changeset
83 > process(hgwebdir({b'repo': b'.'}))
12439
31ea3ce83a92 tests: unify test-hgweb-no-request-uri
Matt Mackall <mpm@selenic.com>
parents: 12183
diff changeset
84 > EOF
39707
5abc47d4ca6b tests: quote PYTHON usage
Matt Harbison <matt_harbison@yahoo.com>
parents: 39664
diff changeset
85 $ "$PYTHON" request.py
12439
31ea3ce83a92 tests: unify test-hgweb-no-request-uri
Matt Mackall <mpm@selenic.com>
parents: 12183
diff changeset
86 ---- STATUS
31ea3ce83a92 tests: unify test-hgweb-no-request-uri
Matt Mackall <mpm@selenic.com>
parents: 12183
diff changeset
87 200 Script output follows
31ea3ce83a92 tests: unify test-hgweb-no-request-uri
Matt Mackall <mpm@selenic.com>
parents: 12183
diff changeset
88 ---- HEADERS
31ea3ce83a92 tests: unify test-hgweb-no-request-uri
Matt Mackall <mpm@selenic.com>
parents: 12183
diff changeset
89 [('Content-Type', 'application/atom+xml; charset=ascii')]
31ea3ce83a92 tests: unify test-hgweb-no-request-uri
Matt Mackall <mpm@selenic.com>
parents: 12183
diff changeset
90 ---- DATA
31ea3ce83a92 tests: unify test-hgweb-no-request-uri
Matt Mackall <mpm@selenic.com>
parents: 12183
diff changeset
91 <?xml version="1.0" encoding="ascii"?>
31ea3ce83a92 tests: unify test-hgweb-no-request-uri
Matt Mackall <mpm@selenic.com>
parents: 12183
diff changeset
92 <feed xmlns="http://www.w3.org/2005/Atom">
31ea3ce83a92 tests: unify test-hgweb-no-request-uri
Matt Mackall <mpm@selenic.com>
parents: 12183
diff changeset
93 <!-- Changelog -->
31008
636cf3f7620d tests: use LOCALIP
Jun Wu <quark@fb.com>
parents: 29519
diff changeset
94 <id>http://$LOCALIP:$HGPORT/</id> (glob)
636cf3f7620d tests: use LOCALIP
Jun Wu <quark@fb.com>
parents: 29519
diff changeset
95 <link rel="self" href="http://$LOCALIP:$HGPORT/atom-log"/> (glob)
636cf3f7620d tests: use LOCALIP
Jun Wu <quark@fb.com>
parents: 29519
diff changeset
96 <link rel="alternate" href="http://$LOCALIP:$HGPORT/"/> (glob)
12439
31ea3ce83a92 tests: unify test-hgweb-no-request-uri
Matt Mackall <mpm@selenic.com>
parents: 12183
diff changeset
97 <title>repo Changelog</title>
31ea3ce83a92 tests: unify test-hgweb-no-request-uri
Matt Mackall <mpm@selenic.com>
parents: 12183
diff changeset
98 <updated>1970-01-01T00:00:00+00:00</updated>
31ea3ce83a92 tests: unify test-hgweb-no-request-uri
Matt Mackall <mpm@selenic.com>
parents: 12183
diff changeset
99
31ea3ce83a92 tests: unify test-hgweb-no-request-uri
Matt Mackall <mpm@selenic.com>
parents: 12183
diff changeset
100 <entry>
21056
d70703954a2a hgweb: adding branch, tags, bookmarks, user, and file list to atom feed entries
Aaron Jensen <ajensen@webmd.net>
parents: 18646
diff changeset
101 <title>[default] test</title>
31008
636cf3f7620d tests: use LOCALIP
Jun Wu <quark@fb.com>
parents: 29519
diff changeset
102 <id>http://$LOCALIP:$HGPORT/#changeset-61c9426e69fef294feed5e2bbfc97d39944a5b1c</id> (glob)
636cf3f7620d tests: use LOCALIP
Jun Wu <quark@fb.com>
parents: 29519
diff changeset
103 <link href="http://$LOCALIP:$HGPORT/rev/61c9426e69fe"/> (glob)
12439
31ea3ce83a92 tests: unify test-hgweb-no-request-uri
Matt Mackall <mpm@selenic.com>
parents: 12183
diff changeset
104 <author>
31ea3ce83a92 tests: unify test-hgweb-no-request-uri
Matt Mackall <mpm@selenic.com>
parents: 12183
diff changeset
105 <name>test</name>
31ea3ce83a92 tests: unify test-hgweb-no-request-uri
Matt Mackall <mpm@selenic.com>
parents: 12183
diff changeset
106 <email>&#116;&#101;&#115;&#116;</email>
31ea3ce83a92 tests: unify test-hgweb-no-request-uri
Matt Mackall <mpm@selenic.com>
parents: 12183
diff changeset
107 </author>
31ea3ce83a92 tests: unify test-hgweb-no-request-uri
Matt Mackall <mpm@selenic.com>
parents: 12183
diff changeset
108 <updated>1970-01-01T00:00:00+00:00</updated>
31ea3ce83a92 tests: unify test-hgweb-no-request-uri
Matt Mackall <mpm@selenic.com>
parents: 12183
diff changeset
109 <published>1970-01-01T00:00:00+00:00</published>
31ea3ce83a92 tests: unify test-hgweb-no-request-uri
Matt Mackall <mpm@selenic.com>
parents: 12183
diff changeset
110 <content type="xhtml">
29439
c42a3fd5c1fc hgweb: reindent atom/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 28861
diff changeset
111 <table xmlns="http://www.w3.org/1999/xhtml">
c42a3fd5c1fc hgweb: reindent atom/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 28861
diff changeset
112 <tr>
c42a3fd5c1fc hgweb: reindent atom/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 28861
diff changeset
113 <th style="text-align:left;">changeset</th>
c42a3fd5c1fc hgweb: reindent atom/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 28861
diff changeset
114 <td>61c9426e69fe</td>
c42a3fd5c1fc hgweb: reindent atom/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 28861
diff changeset
115 </tr>
c42a3fd5c1fc hgweb: reindent atom/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 28861
diff changeset
116 <tr>
c42a3fd5c1fc hgweb: reindent atom/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 28861
diff changeset
117 <th style="text-align:left;">branch</th>
c42a3fd5c1fc hgweb: reindent atom/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 28861
diff changeset
118 <td>default</td>
c42a3fd5c1fc hgweb: reindent atom/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 28861
diff changeset
119 </tr>
c42a3fd5c1fc hgweb: reindent atom/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 28861
diff changeset
120 <tr>
c42a3fd5c1fc hgweb: reindent atom/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 28861
diff changeset
121 <th style="text-align:left;">bookmark</th>
c42a3fd5c1fc hgweb: reindent atom/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 28861
diff changeset
122 <td></td>
c42a3fd5c1fc hgweb: reindent atom/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 28861
diff changeset
123 </tr>
c42a3fd5c1fc hgweb: reindent atom/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 28861
diff changeset
124 <tr>
c42a3fd5c1fc hgweb: reindent atom/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 28861
diff changeset
125 <th style="text-align:left;">tag</th>
c42a3fd5c1fc hgweb: reindent atom/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 28861
diff changeset
126 <td>tip</td>
c42a3fd5c1fc hgweb: reindent atom/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 28861
diff changeset
127 </tr>
c42a3fd5c1fc hgweb: reindent atom/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 28861
diff changeset
128 <tr>
c42a3fd5c1fc hgweb: reindent atom/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 28861
diff changeset
129 <th style="text-align:left;">user</th>
c42a3fd5c1fc hgweb: reindent atom/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 28861
diff changeset
130 <td>&#116;&#101;&#115;&#116;</td>
c42a3fd5c1fc hgweb: reindent atom/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 28861
diff changeset
131 </tr>
c42a3fd5c1fc hgweb: reindent atom/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 28861
diff changeset
132 <tr>
c42a3fd5c1fc hgweb: reindent atom/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 28861
diff changeset
133 <th style="text-align:left;vertical-align:top;">description</th>
c42a3fd5c1fc hgweb: reindent atom/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 28861
diff changeset
134 <td>test</td>
c42a3fd5c1fc hgweb: reindent atom/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 28861
diff changeset
135 </tr>
c42a3fd5c1fc hgweb: reindent atom/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 28861
diff changeset
136 <tr>
c42a3fd5c1fc hgweb: reindent atom/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 28861
diff changeset
137 <th style="text-align:left;vertical-align:top;">files</th>
c42a3fd5c1fc hgweb: reindent atom/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 28861
diff changeset
138 <td>bar<br /></td>
c42a3fd5c1fc hgweb: reindent atom/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 28861
diff changeset
139 </tr>
c42a3fd5c1fc hgweb: reindent atom/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 28861
diff changeset
140 </table>
12439
31ea3ce83a92 tests: unify test-hgweb-no-request-uri
Matt Mackall <mpm@selenic.com>
parents: 12183
diff changeset
141 </content>
31ea3ce83a92 tests: unify test-hgweb-no-request-uri
Matt Mackall <mpm@selenic.com>
parents: 12183
diff changeset
142 </entry>
31ea3ce83a92 tests: unify test-hgweb-no-request-uri
Matt Mackall <mpm@selenic.com>
parents: 12183
diff changeset
143
31ea3ce83a92 tests: unify test-hgweb-no-request-uri
Matt Mackall <mpm@selenic.com>
parents: 12183
diff changeset
144 </feed>
31ea3ce83a92 tests: unify test-hgweb-no-request-uri
Matt Mackall <mpm@selenic.com>
parents: 12183
diff changeset
145 ---- ERRORS
31ea3ce83a92 tests: unify test-hgweb-no-request-uri
Matt Mackall <mpm@selenic.com>
parents: 12183
diff changeset
146
31ea3ce83a92 tests: unify test-hgweb-no-request-uri
Matt Mackall <mpm@selenic.com>
parents: 12183
diff changeset
147 ---- STATUS
31ea3ce83a92 tests: unify test-hgweb-no-request-uri
Matt Mackall <mpm@selenic.com>
parents: 12183
diff changeset
148 200 Script output follows
31ea3ce83a92 tests: unify test-hgweb-no-request-uri
Matt Mackall <mpm@selenic.com>
parents: 12183
diff changeset
149 ---- HEADERS
31ea3ce83a92 tests: unify test-hgweb-no-request-uri
Matt Mackall <mpm@selenic.com>
parents: 12183
diff changeset
150 [('Content-Type', 'text/plain; charset=ascii')]
31ea3ce83a92 tests: unify test-hgweb-no-request-uri
Matt Mackall <mpm@selenic.com>
parents: 12183
diff changeset
151 ---- DATA
31ea3ce83a92 tests: unify test-hgweb-no-request-uri
Matt Mackall <mpm@selenic.com>
parents: 12183
diff changeset
152
31ea3ce83a92 tests: unify test-hgweb-no-request-uri
Matt Mackall <mpm@selenic.com>
parents: 12183
diff changeset
153 -rw-r--r-- 4 bar
31ea3ce83a92 tests: unify test-hgweb-no-request-uri
Matt Mackall <mpm@selenic.com>
parents: 12183
diff changeset
154
31ea3ce83a92 tests: unify test-hgweb-no-request-uri
Matt Mackall <mpm@selenic.com>
parents: 12183
diff changeset
155
31ea3ce83a92 tests: unify test-hgweb-no-request-uri
Matt Mackall <mpm@selenic.com>
parents: 12183
diff changeset
156 ---- ERRORS
31ea3ce83a92 tests: unify test-hgweb-no-request-uri
Matt Mackall <mpm@selenic.com>
parents: 12183
diff changeset
157
31ea3ce83a92 tests: unify test-hgweb-no-request-uri
Matt Mackall <mpm@selenic.com>
parents: 12183
diff changeset
158 ---- STATUS
31ea3ce83a92 tests: unify test-hgweb-no-request-uri
Matt Mackall <mpm@selenic.com>
parents: 12183
diff changeset
159 200 Script output follows
31ea3ce83a92 tests: unify test-hgweb-no-request-uri
Matt Mackall <mpm@selenic.com>
parents: 12183
diff changeset
160 ---- HEADERS
31ea3ce83a92 tests: unify test-hgweb-no-request-uri
Matt Mackall <mpm@selenic.com>
parents: 12183
diff changeset
161 [('Content-Type', 'text/plain; charset=ascii')]
31ea3ce83a92 tests: unify test-hgweb-no-request-uri
Matt Mackall <mpm@selenic.com>
parents: 12183
diff changeset
162 ---- DATA
31ea3ce83a92 tests: unify test-hgweb-no-request-uri
Matt Mackall <mpm@selenic.com>
parents: 12183
diff changeset
163
31ea3ce83a92 tests: unify test-hgweb-no-request-uri
Matt Mackall <mpm@selenic.com>
parents: 12183
diff changeset
164 /repo/
31ea3ce83a92 tests: unify test-hgweb-no-request-uri
Matt Mackall <mpm@selenic.com>
parents: 12183
diff changeset
165
31ea3ce83a92 tests: unify test-hgweb-no-request-uri
Matt Mackall <mpm@selenic.com>
parents: 12183
diff changeset
166 ---- ERRORS
31ea3ce83a92 tests: unify test-hgweb-no-request-uri
Matt Mackall <mpm@selenic.com>
parents: 12183
diff changeset
167
31ea3ce83a92 tests: unify test-hgweb-no-request-uri
Matt Mackall <mpm@selenic.com>
parents: 12183
diff changeset
168 ---- STATUS
31ea3ce83a92 tests: unify test-hgweb-no-request-uri
Matt Mackall <mpm@selenic.com>
parents: 12183
diff changeset
169 200 Script output follows
31ea3ce83a92 tests: unify test-hgweb-no-request-uri
Matt Mackall <mpm@selenic.com>
parents: 12183
diff changeset
170 ---- HEADERS
31ea3ce83a92 tests: unify test-hgweb-no-request-uri
Matt Mackall <mpm@selenic.com>
parents: 12183
diff changeset
171 [('Content-Type', 'text/plain; charset=ascii')]
31ea3ce83a92 tests: unify test-hgweb-no-request-uri
Matt Mackall <mpm@selenic.com>
parents: 12183
diff changeset
172 ---- DATA
31ea3ce83a92 tests: unify test-hgweb-no-request-uri
Matt Mackall <mpm@selenic.com>
parents: 12183
diff changeset
173
31ea3ce83a92 tests: unify test-hgweb-no-request-uri
Matt Mackall <mpm@selenic.com>
parents: 12183
diff changeset
174 -rw-r--r-- 4 bar
31ea3ce83a92 tests: unify test-hgweb-no-request-uri
Matt Mackall <mpm@selenic.com>
parents: 12183
diff changeset
175
31ea3ce83a92 tests: unify test-hgweb-no-request-uri
Matt Mackall <mpm@selenic.com>
parents: 12183
diff changeset
176
31ea3ce83a92 tests: unify test-hgweb-no-request-uri
Matt Mackall <mpm@selenic.com>
parents: 12183
diff changeset
177 ---- ERRORS
31ea3ce83a92 tests: unify test-hgweb-no-request-uri
Matt Mackall <mpm@selenic.com>
parents: 12183
diff changeset
178
16913
f2719b387380 tests: add missing trailing 'cd ..'
Mads Kiilerich <mads@kiilerich.com>
parents: 13956
diff changeset
179
f2719b387380 tests: add missing trailing 'cd ..'
Mads Kiilerich <mads@kiilerich.com>
parents: 13956
diff changeset
180 $ cd ..