Mercurial > hg
annotate tests/test-hgweb-no-path-info.t @ 45774:450e17e59603
commit: leverage cmdutil.check_incompatible_arguments()
Differential Revision: https://phab.mercurial-scm.org/D9218
author | Martin von Zweigbergk <martinvonz@google.com> |
---|---|
date | Thu, 15 Oct 2020 22:23:02 -0700 |
parents | f80f7a67e176 |
children | 42d2b31cee0b |
rev | line source |
---|---|
12438
922d2078017a
tests: unify test-hgweb-no-path-info
Matt Mackall <mpm@selenic.com>
parents:
12183
diff
changeset
|
1 This tests if hgweb and hgwebdir still work if the REQUEST_URI variable is |
922d2078017a
tests: unify test-hgweb-no-path-info
Matt Mackall <mpm@selenic.com>
parents:
12183
diff
changeset
|
2 no longer passed with the request. Instead, SCRIPT_NAME and PATH_INFO |
922d2078017a
tests: unify test-hgweb-no-path-info
Matt Mackall <mpm@selenic.com>
parents:
12183
diff
changeset
|
3 should be used from d74fc8dec2b4 onward to route the request. |
6459
8189e03adb44
hgweb: make hgwebdir work in the absence of PATH_INFO
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 |
12438
922d2078017a
tests: unify test-hgweb-no-path-info
Matt Mackall <mpm@selenic.com>
parents:
12183
diff
changeset
|
6 $ cd repo |
922d2078017a
tests: unify test-hgweb-no-path-info
Matt Mackall <mpm@selenic.com>
parents:
12183
diff
changeset
|
7 $ echo foo > bar |
922d2078017a
tests: unify test-hgweb-no-path-info
Matt Mackall <mpm@selenic.com>
parents:
12183
diff
changeset
|
8 $ hg add bar |
922d2078017a
tests: unify test-hgweb-no-path-info
Matt Mackall <mpm@selenic.com>
parents:
12183
diff
changeset
|
9 $ hg commit -m "test" |
922d2078017a
tests: unify test-hgweb-no-path-info
Matt Mackall <mpm@selenic.com>
parents:
12183
diff
changeset
|
10 $ hg tip |
922d2078017a
tests: unify test-hgweb-no-path-info
Matt Mackall <mpm@selenic.com>
parents:
12183
diff
changeset
|
11 changeset: 0:61c9426e69fe |
922d2078017a
tests: unify test-hgweb-no-path-info
Matt Mackall <mpm@selenic.com>
parents:
12183
diff
changeset
|
12 tag: tip |
922d2078017a
tests: unify test-hgweb-no-path-info
Matt Mackall <mpm@selenic.com>
parents:
12183
diff
changeset
|
13 user: test |
922d2078017a
tests: unify test-hgweb-no-path-info
Matt Mackall <mpm@selenic.com>
parents:
12183
diff
changeset
|
14 date: Thu Jan 01 00:00:00 1970 +0000 |
922d2078017a
tests: unify test-hgweb-no-path-info
Matt Mackall <mpm@selenic.com>
parents:
12183
diff
changeset
|
15 summary: test |
922d2078017a
tests: unify test-hgweb-no-path-info
Matt Mackall <mpm@selenic.com>
parents:
12183
diff
changeset
|
16 |
922d2078017a
tests: unify test-hgweb-no-path-info
Matt Mackall <mpm@selenic.com>
parents:
12183
diff
changeset
|
17 $ cat > request.py <<EOF |
28857
9f67cf7cc28e
py3: use absolute_import in test-hgweb-no-path-info.t
timeless <timeless@mozdev.org>
parents:
21117
diff
changeset
|
18 > from __future__ import absolute_import |
9f67cf7cc28e
py3: use absolute_import in test-hgweb-no-path-info.t
timeless <timeless@mozdev.org>
parents:
21117
diff
changeset
|
19 > import os |
9f67cf7cc28e
py3: use absolute_import in test-hgweb-no-path-info.t
timeless <timeless@mozdev.org>
parents:
21117
diff
changeset
|
20 > import sys |
40203
f80f7a67e176
tests: fix style issue of importing hgweb in embedded code fragments
FUJIWARA Katsunori <foozy@lares.dti.ne.jp>
parents:
40161
diff
changeset
|
21 > from mercurial import ( |
28857
9f67cf7cc28e
py3: use absolute_import in test-hgweb-no-path-info.t
timeless <timeless@mozdev.org>
parents:
21117
diff
changeset
|
22 > hgweb, |
28861
86db5cb55d46
pycompat: switch to util.stringio for py3 compat
timeless <timeless@mozdev.org>
parents:
28857
diff
changeset
|
23 > util, |
86db5cb55d46
pycompat: switch to util.stringio for py3 compat
timeless <timeless@mozdev.org>
parents:
28857
diff
changeset
|
24 > ) |
86db5cb55d46
pycompat: switch to util.stringio for py3 compat
timeless <timeless@mozdev.org>
parents:
28857
diff
changeset
|
25 > stringio = util.stringio |
12438
922d2078017a
tests: unify test-hgweb-no-path-info
Matt Mackall <mpm@selenic.com>
parents:
12183
diff
changeset
|
26 > |
28861
86db5cb55d46
pycompat: switch to util.stringio for py3 compat
timeless <timeless@mozdev.org>
parents:
28857
diff
changeset
|
27 > errors = stringio() |
86db5cb55d46
pycompat: switch to util.stringio for py3 compat
timeless <timeless@mozdev.org>
parents:
28857
diff
changeset
|
28 > input = stringio() |
12438
922d2078017a
tests: unify test-hgweb-no-path-info
Matt Mackall <mpm@selenic.com>
parents:
12183
diff
changeset
|
29 > |
922d2078017a
tests: unify test-hgweb-no-path-info
Matt Mackall <mpm@selenic.com>
parents:
12183
diff
changeset
|
30 > 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
|
31 > print('---- STATUS') |
27fb986e54d0
tests: fix simple heredoc print statements to work on Py3
Augie Fackler <augie@google.com>
parents:
32940
diff
changeset
|
32 > print(status) |
27fb986e54d0
tests: fix simple heredoc print statements to work on Py3
Augie Fackler <augie@google.com>
parents:
32940
diff
changeset
|
33 > print('---- HEADERS') |
27fb986e54d0
tests: fix simple heredoc print statements to work on Py3
Augie Fackler <augie@google.com>
parents:
32940
diff
changeset
|
34 > 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
|
35 > print('---- DATA') |
40161
3eea8e83c261
py3: tweak stdout writing in test-hgweb-no-path-info.t
Gregory Szorc <gregory.szorc@gmail.com>
parents:
39707
diff
changeset
|
36 > sys.stdout.flush() |
12743
4c4aeaab2339
check-code: add 'no tab indent' check for unified tests
Adrian Buehlmann <adrian@cadifra.com>
parents:
12643
diff
changeset
|
37 > return output.write |
12438
922d2078017a
tests: unify test-hgweb-no-path-info
Matt Mackall <mpm@selenic.com>
parents:
12183
diff
changeset
|
38 > |
922d2078017a
tests: unify test-hgweb-no-path-info
Matt Mackall <mpm@selenic.com>
parents:
12183
diff
changeset
|
39 > env = { |
12743
4c4aeaab2339
check-code: add 'no tab indent' check for unified tests
Adrian Buehlmann <adrian@cadifra.com>
parents:
12643
diff
changeset
|
40 > 'wsgi.version': (1, 0), |
4c4aeaab2339
check-code: add 'no tab indent' check for unified tests
Adrian Buehlmann <adrian@cadifra.com>
parents:
12643
diff
changeset
|
41 > 'wsgi.url_scheme': 'http', |
4c4aeaab2339
check-code: add 'no tab indent' check for unified tests
Adrian Buehlmann <adrian@cadifra.com>
parents:
12643
diff
changeset
|
42 > 'wsgi.errors': errors, |
4c4aeaab2339
check-code: add 'no tab indent' check for unified tests
Adrian Buehlmann <adrian@cadifra.com>
parents:
12643
diff
changeset
|
43 > 'wsgi.input': input, |
4c4aeaab2339
check-code: add 'no tab indent' check for unified tests
Adrian Buehlmann <adrian@cadifra.com>
parents:
12643
diff
changeset
|
44 > 'wsgi.multithread': False, |
4c4aeaab2339
check-code: add 'no tab indent' check for unified tests
Adrian Buehlmann <adrian@cadifra.com>
parents:
12643
diff
changeset
|
45 > 'wsgi.multiprocess': False, |
4c4aeaab2339
check-code: add 'no tab indent' check for unified tests
Adrian Buehlmann <adrian@cadifra.com>
parents:
12643
diff
changeset
|
46 > 'wsgi.run_once': False, |
4c4aeaab2339
check-code: add 'no tab indent' check for unified tests
Adrian Buehlmann <adrian@cadifra.com>
parents:
12643
diff
changeset
|
47 > 'REQUEST_METHOD': 'GET', |
18646
c6a81e54c209
hgweb: make the test suite use hgweb in a more WSGI compliant way
Mads Kiilerich <mads@kiilerich.com>
parents:
16913
diff
changeset
|
48 > 'PATH_INFO': '/', |
12743
4c4aeaab2339
check-code: add 'no tab indent' check for unified tests
Adrian Buehlmann <adrian@cadifra.com>
parents:
12643
diff
changeset
|
49 > 'SCRIPT_NAME': '', |
31008 | 50 > 'SERVER_NAME': '$LOCALIP', |
12743
4c4aeaab2339
check-code: add 'no tab indent' check for unified tests
Adrian Buehlmann <adrian@cadifra.com>
parents:
12643
diff
changeset
|
51 > '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
|
52 > 'SERVER_PROTOCOL': 'HTTP/1.0' |
12438
922d2078017a
tests: unify test-hgweb-no-path-info
Matt Mackall <mpm@selenic.com>
parents:
12183
diff
changeset
|
53 > } |
922d2078017a
tests: unify test-hgweb-no-path-info
Matt Mackall <mpm@selenic.com>
parents:
12183
diff
changeset
|
54 > |
922d2078017a
tests: unify test-hgweb-no-path-info
Matt Mackall <mpm@selenic.com>
parents:
12183
diff
changeset
|
55 > def process(app): |
40161
3eea8e83c261
py3: tweak stdout writing in test-hgweb-no-path-info.t
Gregory Szorc <gregory.szorc@gmail.com>
parents:
39707
diff
changeset
|
56 > try: |
3eea8e83c261
py3: tweak stdout writing in test-hgweb-no-path-info.t
Gregory Szorc <gregory.szorc@gmail.com>
parents:
39707
diff
changeset
|
57 > stdout = sys.stdout.buffer |
3eea8e83c261
py3: tweak stdout writing in test-hgweb-no-path-info.t
Gregory Szorc <gregory.szorc@gmail.com>
parents:
39707
diff
changeset
|
58 > except AttributeError: |
3eea8e83c261
py3: tweak stdout writing in test-hgweb-no-path-info.t
Gregory Szorc <gregory.szorc@gmail.com>
parents:
39707
diff
changeset
|
59 > stdout = sys.stdout |
12438
922d2078017a
tests: unify test-hgweb-no-path-info
Matt Mackall <mpm@selenic.com>
parents:
12183
diff
changeset
|
60 > content = app(env, startrsp) |
40161
3eea8e83c261
py3: tweak stdout writing in test-hgweb-no-path-info.t
Gregory Szorc <gregory.szorc@gmail.com>
parents:
39707
diff
changeset
|
61 > stdout.write(output.getvalue()) |
3eea8e83c261
py3: tweak stdout writing in test-hgweb-no-path-info.t
Gregory Szorc <gregory.szorc@gmail.com>
parents:
39707
diff
changeset
|
62 > stdout.write(b''.join(content)) |
3eea8e83c261
py3: tweak stdout writing in test-hgweb-no-path-info.t
Gregory Szorc <gregory.szorc@gmail.com>
parents:
39707
diff
changeset
|
63 > stdout.flush() |
18646
c6a81e54c209
hgweb: make the test suite use hgweb in a more WSGI compliant way
Mads Kiilerich <mads@kiilerich.com>
parents:
16913
diff
changeset
|
64 > getattr(content, 'close', lambda : None)() |
40161
3eea8e83c261
py3: tweak stdout writing in test-hgweb-no-path-info.t
Gregory Szorc <gregory.szorc@gmail.com>
parents:
39707
diff
changeset
|
65 > if errors.getvalue(): |
3eea8e83c261
py3: tweak stdout writing in test-hgweb-no-path-info.t
Gregory Szorc <gregory.szorc@gmail.com>
parents:
39707
diff
changeset
|
66 > print('---- ERRORS') |
3eea8e83c261
py3: tweak stdout writing in test-hgweb-no-path-info.t
Gregory Szorc <gregory.szorc@gmail.com>
parents:
39707
diff
changeset
|
67 > print(errors.getvalue()) |
3eea8e83c261
py3: tweak stdout writing in test-hgweb-no-path-info.t
Gregory Szorc <gregory.szorc@gmail.com>
parents:
39707
diff
changeset
|
68 > sys.stdout.flush() |
12438
922d2078017a
tests: unify test-hgweb-no-path-info
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:
28857
diff
changeset
|
70 > output = stringio() |
12438
922d2078017a
tests: unify test-hgweb-no-path-info
Matt Mackall <mpm@selenic.com>
parents:
12183
diff
changeset
|
71 > env['QUERY_STRING'] = 'style=atom' |
40203
f80f7a67e176
tests: fix style issue of importing hgweb in embedded code fragments
FUJIWARA Katsunori <foozy@lares.dti.ne.jp>
parents:
40161
diff
changeset
|
72 > process(hgweb.hgweb(b'.', name=b'repo')) |
12438
922d2078017a
tests: unify test-hgweb-no-path-info
Matt Mackall <mpm@selenic.com>
parents:
12183
diff
changeset
|
73 > |
28861
86db5cb55d46
pycompat: switch to util.stringio for py3 compat
timeless <timeless@mozdev.org>
parents:
28857
diff
changeset
|
74 > output = stringio() |
12438
922d2078017a
tests: unify test-hgweb-no-path-info
Matt Mackall <mpm@selenic.com>
parents:
12183
diff
changeset
|
75 > env['QUERY_STRING'] = 'style=raw' |
40203
f80f7a67e176
tests: fix style issue of importing hgweb in embedded code fragments
FUJIWARA Katsunori <foozy@lares.dti.ne.jp>
parents:
40161
diff
changeset
|
76 > process(hgweb.hgwebdir({b'repo': b'.'})) |
12438
922d2078017a
tests: unify test-hgweb-no-path-info
Matt Mackall <mpm@selenic.com>
parents:
12183
diff
changeset
|
77 > EOF |
39707
5abc47d4ca6b
tests: quote PYTHON usage
Matt Harbison <matt_harbison@yahoo.com>
parents:
39664
diff
changeset
|
78 $ "$PYTHON" request.py |
12438
922d2078017a
tests: unify test-hgweb-no-path-info
Matt Mackall <mpm@selenic.com>
parents:
12183
diff
changeset
|
79 ---- STATUS |
922d2078017a
tests: unify test-hgweb-no-path-info
Matt Mackall <mpm@selenic.com>
parents:
12183
diff
changeset
|
80 200 Script output follows |
922d2078017a
tests: unify test-hgweb-no-path-info
Matt Mackall <mpm@selenic.com>
parents:
12183
diff
changeset
|
81 ---- HEADERS |
922d2078017a
tests: unify test-hgweb-no-path-info
Matt Mackall <mpm@selenic.com>
parents:
12183
diff
changeset
|
82 [('Content-Type', 'application/atom+xml; charset=ascii')] |
922d2078017a
tests: unify test-hgweb-no-path-info
Matt Mackall <mpm@selenic.com>
parents:
12183
diff
changeset
|
83 ---- DATA |
922d2078017a
tests: unify test-hgweb-no-path-info
Matt Mackall <mpm@selenic.com>
parents:
12183
diff
changeset
|
84 <?xml version="1.0" encoding="ascii"?> |
922d2078017a
tests: unify test-hgweb-no-path-info
Matt Mackall <mpm@selenic.com>
parents:
12183
diff
changeset
|
85 <feed xmlns="http://www.w3.org/2005/Atom"> |
922d2078017a
tests: unify test-hgweb-no-path-info
Matt Mackall <mpm@selenic.com>
parents:
12183
diff
changeset
|
86 <!-- Changelog --> |
31008 | 87 <id>http://$LOCALIP:$HGPORT/</id> (glob) |
88 <link rel="self" href="http://$LOCALIP:$HGPORT/atom-log"/> (glob) | |
89 <link rel="alternate" href="http://$LOCALIP:$HGPORT/"/> (glob) | |
12438
922d2078017a
tests: unify test-hgweb-no-path-info
Matt Mackall <mpm@selenic.com>
parents:
12183
diff
changeset
|
90 <title>repo Changelog</title> |
922d2078017a
tests: unify test-hgweb-no-path-info
Matt Mackall <mpm@selenic.com>
parents:
12183
diff
changeset
|
91 <updated>1970-01-01T00:00:00+00:00</updated> |
922d2078017a
tests: unify test-hgweb-no-path-info
Matt Mackall <mpm@selenic.com>
parents:
12183
diff
changeset
|
92 |
922d2078017a
tests: unify test-hgweb-no-path-info
Matt Mackall <mpm@selenic.com>
parents:
12183
diff
changeset
|
93 <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
|
94 <title>[default] test</title> |
31008 | 95 <id>http://$LOCALIP:$HGPORT/#changeset-61c9426e69fef294feed5e2bbfc97d39944a5b1c</id> (glob) |
96 <link href="http://$LOCALIP:$HGPORT/rev/61c9426e69fe"/> (glob) | |
12438
922d2078017a
tests: unify test-hgweb-no-path-info
Matt Mackall <mpm@selenic.com>
parents:
12183
diff
changeset
|
97 <author> |
922d2078017a
tests: unify test-hgweb-no-path-info
Matt Mackall <mpm@selenic.com>
parents:
12183
diff
changeset
|
98 <name>test</name> |
922d2078017a
tests: unify test-hgweb-no-path-info
Matt Mackall <mpm@selenic.com>
parents:
12183
diff
changeset
|
99 <email>test</email> |
922d2078017a
tests: unify test-hgweb-no-path-info
Matt Mackall <mpm@selenic.com>
parents:
12183
diff
changeset
|
100 </author> |
922d2078017a
tests: unify test-hgweb-no-path-info
Matt Mackall <mpm@selenic.com>
parents:
12183
diff
changeset
|
101 <updated>1970-01-01T00:00:00+00:00</updated> |
922d2078017a
tests: unify test-hgweb-no-path-info
Matt Mackall <mpm@selenic.com>
parents:
12183
diff
changeset
|
102 <published>1970-01-01T00:00:00+00:00</published> |
922d2078017a
tests: unify test-hgweb-no-path-info
Matt Mackall <mpm@selenic.com>
parents:
12183
diff
changeset
|
103 <content type="xhtml"> |
29439
c42a3fd5c1fc
hgweb: reindent atom/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents:
28861
diff
changeset
|
104 <table xmlns="http://www.w3.org/1999/xhtml"> |
c42a3fd5c1fc
hgweb: reindent atom/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents:
28861
diff
changeset
|
105 <tr> |
c42a3fd5c1fc
hgweb: reindent atom/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents:
28861
diff
changeset
|
106 <th style="text-align:left;">changeset</th> |
c42a3fd5c1fc
hgweb: reindent atom/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents:
28861
diff
changeset
|
107 <td>61c9426e69fe</td> |
c42a3fd5c1fc
hgweb: reindent atom/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents:
28861
diff
changeset
|
108 </tr> |
c42a3fd5c1fc
hgweb: reindent atom/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents:
28861
diff
changeset
|
109 <tr> |
c42a3fd5c1fc
hgweb: reindent atom/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents:
28861
diff
changeset
|
110 <th style="text-align:left;">branch</th> |
c42a3fd5c1fc
hgweb: reindent atom/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents:
28861
diff
changeset
|
111 <td>default</td> |
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 <tr> |
c42a3fd5c1fc
hgweb: reindent atom/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents:
28861
diff
changeset
|
114 <th style="text-align:left;">bookmark</th> |
c42a3fd5c1fc
hgweb: reindent atom/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents:
28861
diff
changeset
|
115 <td></td> |
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 <tr> |
c42a3fd5c1fc
hgweb: reindent atom/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents:
28861
diff
changeset
|
118 <th style="text-align:left;">tag</th> |
c42a3fd5c1fc
hgweb: reindent atom/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents:
28861
diff
changeset
|
119 <td>tip</td> |
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 <tr> |
c42a3fd5c1fc
hgweb: reindent atom/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents:
28861
diff
changeset
|
122 <th style="text-align:left;">user</th> |
c42a3fd5c1fc
hgweb: reindent atom/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents:
28861
diff
changeset
|
123 <td>test</td> |
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 <tr> |
c42a3fd5c1fc
hgweb: reindent atom/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents:
28861
diff
changeset
|
126 <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
|
127 <td>test</td> |
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 <tr> |
c42a3fd5c1fc
hgweb: reindent atom/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents:
28861
diff
changeset
|
130 <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
|
131 <td>bar<br /></td> |
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 </table> |
12438
922d2078017a
tests: unify test-hgweb-no-path-info
Matt Mackall <mpm@selenic.com>
parents:
12183
diff
changeset
|
134 </content> |
922d2078017a
tests: unify test-hgweb-no-path-info
Matt Mackall <mpm@selenic.com>
parents:
12183
diff
changeset
|
135 </entry> |
922d2078017a
tests: unify test-hgweb-no-path-info
Matt Mackall <mpm@selenic.com>
parents:
12183
diff
changeset
|
136 |
922d2078017a
tests: unify test-hgweb-no-path-info
Matt Mackall <mpm@selenic.com>
parents:
12183
diff
changeset
|
137 </feed> |
922d2078017a
tests: unify test-hgweb-no-path-info
Matt Mackall <mpm@selenic.com>
parents:
12183
diff
changeset
|
138 ---- STATUS |
922d2078017a
tests: unify test-hgweb-no-path-info
Matt Mackall <mpm@selenic.com>
parents:
12183
diff
changeset
|
139 200 Script output follows |
922d2078017a
tests: unify test-hgweb-no-path-info
Matt Mackall <mpm@selenic.com>
parents:
12183
diff
changeset
|
140 ---- HEADERS |
922d2078017a
tests: unify test-hgweb-no-path-info
Matt Mackall <mpm@selenic.com>
parents:
12183
diff
changeset
|
141 [('Content-Type', 'text/plain; charset=ascii')] |
922d2078017a
tests: unify test-hgweb-no-path-info
Matt Mackall <mpm@selenic.com>
parents:
12183
diff
changeset
|
142 ---- DATA |
922d2078017a
tests: unify test-hgweb-no-path-info
Matt Mackall <mpm@selenic.com>
parents:
12183
diff
changeset
|
143 |
18646
c6a81e54c209
hgweb: make the test suite use hgweb in a more WSGI compliant way
Mads Kiilerich <mads@kiilerich.com>
parents:
16913
diff
changeset
|
144 /repo/ |
12438
922d2078017a
tests: unify test-hgweb-no-path-info
Matt Mackall <mpm@selenic.com>
parents:
12183
diff
changeset
|
145 |
16913
f2719b387380
tests: add missing trailing 'cd ..'
Mads Kiilerich <mads@kiilerich.com>
parents:
13956
diff
changeset
|
146 |
f2719b387380
tests: add missing trailing 'cd ..'
Mads Kiilerich <mads@kiilerich.com>
parents:
13956
diff
changeset
|
147 $ cd .. |