Mercurial > hg
annotate tests/test-hgweb-no-path-info.t @ 29196:bf7b8157c483 stable
strip: invalidate phase cache after stripping changeset (issue5235)
When we remove a changeset from the changelog, the phase cache must be
invalidated, otherwise it could refer to changesets that are no longer in the
repo.
To reproduce the failure, I created an extension querying the phase cache after
the strip transaction is over.
To do that, I stripped two commits with a bookmark on one of them to force
another transaction (we open a transaction for moving bookmarks)
after the strip transaction.
Without the fix in this patch, the test leads to a stacktrace showing the issue:
repair.strip(ui, repo, revs, backup)
File "/Users/lcharignon/facebook-hg-rpms/hg-crew/mercurial/repair.py", line 205, in strip
tr.close()
File "/Users/lcharignon/facebook-hg-rpms/hg-crew/mercurial/transaction.py", line 44, in _active
return func(self, *args, **kwds)
File "/Users/lcharignon/facebook-hg-rpms/hg-crew/mercurial/transaction.py", line 490, in close
self._postclosecallback[cat](self)
File "$TESTTMP/crashstrip2.py", line 4, in test
[repo.changelog.node(r) for r in repo.revs("not public()")]
File "/Users/lcharignon/facebook-hg-rpms/hg-crew/mercurial/changelog.py", line 337, in node
return super(changelog, self).node(rev)
File "/Users/lcharignon/facebook-hg-rpms/hg-crew/mercurial/revlog.py", line 377, in node
return self.index[rev][7]
IndexError: revlog index out of range
The situation was encountered in inhibit (evolve's repo) where we would crash
following the volatile set invalidation submitted by Augie in
e6f490e328635312ee214a12bc7fd3c7d46bf9ce. Before his patch the issue was masked
as we were not accessing the phasecache after stripping a revision.
This bug uncovered another but in histedit (see explanation in issue5235).
I changed the histedit test accordingly to avoid fixing two things at once.
author | Laurent Charignon <lcharignon@fb.com> |
---|---|
date | Thu, 12 May 2016 06:13:59 -0700 |
parents | 86db5cb55d46 |
children | c42a3fd5c1fc |
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 |
9f67cf7cc28e
py3: use absolute_import in test-hgweb-no-path-info.t
timeless <timeless@mozdev.org>
parents:
21117
diff
changeset
|
21 > from mercurial.hgweb import ( |
9f67cf7cc28e
py3: use absolute_import in test-hgweb-no-path-info.t
timeless <timeless@mozdev.org>
parents:
21117
diff
changeset
|
22 > hgweb, |
9f67cf7cc28e
py3: use absolute_import in test-hgweb-no-path-info.t
timeless <timeless@mozdev.org>
parents:
21117
diff
changeset
|
23 > hgwebdir, |
9f67cf7cc28e
py3: use absolute_import in test-hgweb-no-path-info.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:
28857
diff
changeset
|
25 > from mercurial import ( |
86db5cb55d46
pycompat: switch to util.stringio for py3 compat
timeless <timeless@mozdev.org>
parents:
28857
diff
changeset
|
26 > util, |
86db5cb55d46
pycompat: switch to util.stringio for py3 compat
timeless <timeless@mozdev.org>
parents:
28857
diff
changeset
|
27 > ) |
86db5cb55d46
pycompat: switch to util.stringio for py3 compat
timeless <timeless@mozdev.org>
parents:
28857
diff
changeset
|
28 > stringio = util.stringio |
12438
922d2078017a
tests: unify test-hgweb-no-path-info
Matt Mackall <mpm@selenic.com>
parents:
12183
diff
changeset
|
29 > |
28861
86db5cb55d46
pycompat: switch to util.stringio for py3 compat
timeless <timeless@mozdev.org>
parents:
28857
diff
changeset
|
30 > errors = stringio() |
86db5cb55d46
pycompat: switch to util.stringio for py3 compat
timeless <timeless@mozdev.org>
parents:
28857
diff
changeset
|
31 > input = stringio() |
12438
922d2078017a
tests: unify test-hgweb-no-path-info
Matt Mackall <mpm@selenic.com>
parents:
12183
diff
changeset
|
32 > |
922d2078017a
tests: unify test-hgweb-no-path-info
Matt Mackall <mpm@selenic.com>
parents:
12183
diff
changeset
|
33 > def startrsp(status, headers): |
12743
4c4aeaab2339
check-code: add 'no tab indent' check for unified tests
Adrian Buehlmann <adrian@cadifra.com>
parents:
12643
diff
changeset
|
34 > print '---- STATUS' |
4c4aeaab2339
check-code: add 'no tab indent' check for unified tests
Adrian Buehlmann <adrian@cadifra.com>
parents:
12643
diff
changeset
|
35 > print status |
4c4aeaab2339
check-code: add 'no tab indent' check for unified tests
Adrian Buehlmann <adrian@cadifra.com>
parents:
12643
diff
changeset
|
36 > print '---- HEADERS' |
4c4aeaab2339
check-code: add 'no tab indent' check for unified tests
Adrian Buehlmann <adrian@cadifra.com>
parents:
12643
diff
changeset
|
37 > print [i for i in headers if i[0] != 'ETag'] |
4c4aeaab2339
check-code: add 'no tab indent' check for unified tests
Adrian Buehlmann <adrian@cadifra.com>
parents:
12643
diff
changeset
|
38 > print '---- DATA' |
4c4aeaab2339
check-code: add 'no tab indent' check for unified tests
Adrian Buehlmann <adrian@cadifra.com>
parents:
12643
diff
changeset
|
39 > return output.write |
12438
922d2078017a
tests: unify test-hgweb-no-path-info
Matt Mackall <mpm@selenic.com>
parents:
12183
diff
changeset
|
40 > |
922d2078017a
tests: unify test-hgweb-no-path-info
Matt Mackall <mpm@selenic.com>
parents:
12183
diff
changeset
|
41 > env = { |
12743
4c4aeaab2339
check-code: add 'no tab indent' check for unified tests
Adrian Buehlmann <adrian@cadifra.com>
parents:
12643
diff
changeset
|
42 > 'wsgi.version': (1, 0), |
4c4aeaab2339
check-code: add 'no tab indent' check for unified tests
Adrian Buehlmann <adrian@cadifra.com>
parents:
12643
diff
changeset
|
43 > 'wsgi.url_scheme': 'http', |
4c4aeaab2339
check-code: add 'no tab indent' check for unified tests
Adrian Buehlmann <adrian@cadifra.com>
parents:
12643
diff
changeset
|
44 > 'wsgi.errors': errors, |
4c4aeaab2339
check-code: add 'no tab indent' check for unified tests
Adrian Buehlmann <adrian@cadifra.com>
parents:
12643
diff
changeset
|
45 > 'wsgi.input': input, |
4c4aeaab2339
check-code: add 'no tab indent' check for unified tests
Adrian Buehlmann <adrian@cadifra.com>
parents:
12643
diff
changeset
|
46 > 'wsgi.multithread': False, |
4c4aeaab2339
check-code: add 'no tab indent' check for unified tests
Adrian Buehlmann <adrian@cadifra.com>
parents:
12643
diff
changeset
|
47 > 'wsgi.multiprocess': False, |
4c4aeaab2339
check-code: add 'no tab indent' check for unified tests
Adrian Buehlmann <adrian@cadifra.com>
parents:
12643
diff
changeset
|
48 > 'wsgi.run_once': False, |
4c4aeaab2339
check-code: add 'no tab indent' check for unified tests
Adrian Buehlmann <adrian@cadifra.com>
parents:
12643
diff
changeset
|
49 > '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
|
50 > 'PATH_INFO': '/', |
12743
4c4aeaab2339
check-code: add 'no tab indent' check for unified tests
Adrian Buehlmann <adrian@cadifra.com>
parents:
12643
diff
changeset
|
51 > 'SCRIPT_NAME': '', |
4c4aeaab2339
check-code: add 'no tab indent' check for unified tests
Adrian Buehlmann <adrian@cadifra.com>
parents:
12643
diff
changeset
|
52 > 'SERVER_NAME': '127.0.0.1', |
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' |
12438
922d2078017a
tests: unify test-hgweb-no-path-info
Matt Mackall <mpm@selenic.com>
parents:
12183
diff
changeset
|
55 > } |
922d2078017a
tests: unify test-hgweb-no-path-info
Matt Mackall <mpm@selenic.com>
parents:
12183
diff
changeset
|
56 > |
922d2078017a
tests: unify test-hgweb-no-path-info
Matt Mackall <mpm@selenic.com>
parents:
12183
diff
changeset
|
57 > def process(app): |
922d2078017a
tests: unify test-hgweb-no-path-info
Matt Mackall <mpm@selenic.com>
parents:
12183
diff
changeset
|
58 > content = app(env, startrsp) |
922d2078017a
tests: unify test-hgweb-no-path-info
Matt Mackall <mpm@selenic.com>
parents:
12183
diff
changeset
|
59 > sys.stdout.write(output.getvalue()) |
922d2078017a
tests: unify test-hgweb-no-path-info
Matt Mackall <mpm@selenic.com>
parents:
12183
diff
changeset
|
60 > sys.stdout.write(''.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)() |
12438
922d2078017a
tests: unify test-hgweb-no-path-info
Matt Mackall <mpm@selenic.com>
parents:
12183
diff
changeset
|
62 > print '---- ERRORS' |
922d2078017a
tests: unify test-hgweb-no-path-info
Matt Mackall <mpm@selenic.com>
parents:
12183
diff
changeset
|
63 > print errors.getvalue() |
922d2078017a
tests: unify test-hgweb-no-path-info
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:
28857
diff
changeset
|
65 > output = stringio() |
12438
922d2078017a
tests: unify test-hgweb-no-path-info
Matt Mackall <mpm@selenic.com>
parents:
12183
diff
changeset
|
66 > env['QUERY_STRING'] = 'style=atom' |
922d2078017a
tests: unify test-hgweb-no-path-info
Matt Mackall <mpm@selenic.com>
parents:
12183
diff
changeset
|
67 > process(hgweb('.', name='repo')) |
922d2078017a
tests: unify test-hgweb-no-path-info
Matt Mackall <mpm@selenic.com>
parents:
12183
diff
changeset
|
68 > |
28861
86db5cb55d46
pycompat: switch to util.stringio for py3 compat
timeless <timeless@mozdev.org>
parents:
28857
diff
changeset
|
69 > output = stringio() |
12438
922d2078017a
tests: unify test-hgweb-no-path-info
Matt Mackall <mpm@selenic.com>
parents:
12183
diff
changeset
|
70 > env['QUERY_STRING'] = 'style=raw' |
922d2078017a
tests: unify test-hgweb-no-path-info
Matt Mackall <mpm@selenic.com>
parents:
12183
diff
changeset
|
71 > process(hgwebdir({'repo': '.'})) |
922d2078017a
tests: unify test-hgweb-no-path-info
Matt Mackall <mpm@selenic.com>
parents:
12183
diff
changeset
|
72 > EOF |
922d2078017a
tests: unify test-hgweb-no-path-info
Matt Mackall <mpm@selenic.com>
parents:
12183
diff
changeset
|
73 $ python request.py |
922d2078017a
tests: unify test-hgweb-no-path-info
Matt Mackall <mpm@selenic.com>
parents:
12183
diff
changeset
|
74 ---- STATUS |
922d2078017a
tests: unify test-hgweb-no-path-info
Matt Mackall <mpm@selenic.com>
parents:
12183
diff
changeset
|
75 200 Script output follows |
922d2078017a
tests: unify test-hgweb-no-path-info
Matt Mackall <mpm@selenic.com>
parents:
12183
diff
changeset
|
76 ---- HEADERS |
922d2078017a
tests: unify test-hgweb-no-path-info
Matt Mackall <mpm@selenic.com>
parents:
12183
diff
changeset
|
77 [('Content-Type', 'application/atom+xml; charset=ascii')] |
922d2078017a
tests: unify test-hgweb-no-path-info
Matt Mackall <mpm@selenic.com>
parents:
12183
diff
changeset
|
78 ---- DATA |
922d2078017a
tests: unify test-hgweb-no-path-info
Matt Mackall <mpm@selenic.com>
parents:
12183
diff
changeset
|
79 <?xml version="1.0" encoding="ascii"?> |
922d2078017a
tests: unify test-hgweb-no-path-info
Matt Mackall <mpm@selenic.com>
parents:
12183
diff
changeset
|
80 <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
|
81 <!-- Changelog --> |
12643
d08bb64888bc
tests: reintroduce ":$HGPORT" in test output
Mads Kiilerich <mads@kiilerich.com>
parents:
12438
diff
changeset
|
82 <id>http://127.0.0.1:$HGPORT/</id> |
d08bb64888bc
tests: reintroduce ":$HGPORT" in test output
Mads Kiilerich <mads@kiilerich.com>
parents:
12438
diff
changeset
|
83 <link rel="self" href="http://127.0.0.1:$HGPORT/atom-log"/> |
d08bb64888bc
tests: reintroduce ":$HGPORT" in test output
Mads Kiilerich <mads@kiilerich.com>
parents:
12438
diff
changeset
|
84 <link rel="alternate" href="http://127.0.0.1:$HGPORT/"/> |
12438
922d2078017a
tests: unify test-hgweb-no-path-info
Matt Mackall <mpm@selenic.com>
parents:
12183
diff
changeset
|
85 <title>repo Changelog</title> |
922d2078017a
tests: unify test-hgweb-no-path-info
Matt Mackall <mpm@selenic.com>
parents:
12183
diff
changeset
|
86 <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
|
87 |
922d2078017a
tests: unify test-hgweb-no-path-info
Matt Mackall <mpm@selenic.com>
parents:
12183
diff
changeset
|
88 <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
|
89 <title>[default] test</title> |
12643
d08bb64888bc
tests: reintroduce ":$HGPORT" in test output
Mads Kiilerich <mads@kiilerich.com>
parents:
12438
diff
changeset
|
90 <id>http://127.0.0.1:$HGPORT/#changeset-61c9426e69fef294feed5e2bbfc97d39944a5b1c</id> |
d08bb64888bc
tests: reintroduce ":$HGPORT" in test output
Mads Kiilerich <mads@kiilerich.com>
parents:
12438
diff
changeset
|
91 <link href="http://127.0.0.1:$HGPORT/rev/61c9426e69fe"/> |
12438
922d2078017a
tests: unify test-hgweb-no-path-info
Matt Mackall <mpm@selenic.com>
parents:
12183
diff
changeset
|
92 <author> |
922d2078017a
tests: unify test-hgweb-no-path-info
Matt Mackall <mpm@selenic.com>
parents:
12183
diff
changeset
|
93 <name>test</name> |
922d2078017a
tests: unify test-hgweb-no-path-info
Matt Mackall <mpm@selenic.com>
parents:
12183
diff
changeset
|
94 <email>test</email> |
922d2078017a
tests: unify test-hgweb-no-path-info
Matt Mackall <mpm@selenic.com>
parents:
12183
diff
changeset
|
95 </author> |
922d2078017a
tests: unify test-hgweb-no-path-info
Matt Mackall <mpm@selenic.com>
parents:
12183
diff
changeset
|
96 <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
|
97 <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
|
98 <content type="xhtml"> |
21056
d70703954a2a
hgweb: adding branch, tags, bookmarks, user, and file list to atom feed entries
Aaron Jensen <ajensen@webmd.net>
parents:
18646
diff
changeset
|
99 <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:
18646
diff
changeset
|
100 <tr> |
d70703954a2a
hgweb: adding branch, tags, bookmarks, user, and file list to atom feed entries
Aaron Jensen <ajensen@webmd.net>
parents:
18646
diff
changeset
|
101 <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:
18646
diff
changeset
|
102 <td>61c9426e69fe</td> |
21117
91eb605022f5
hgweb: adding branch names from inbranch template to atom feed
Aaron Jensen <ajensen@webmd.net>
parents:
21056
diff
changeset
|
103 </tr> |
91eb605022f5
hgweb: adding branch names from inbranch template to atom feed
Aaron Jensen <ajensen@webmd.net>
parents:
21056
diff
changeset
|
104 <tr> |
91eb605022f5
hgweb: adding branch names from inbranch template to atom feed
Aaron Jensen <ajensen@webmd.net>
parents:
21056
diff
changeset
|
105 <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
|
106 <td>default</td> |
91eb605022f5
hgweb: adding branch names from inbranch template to atom feed
Aaron Jensen <ajensen@webmd.net>
parents:
21056
diff
changeset
|
107 </tr> |
91eb605022f5
hgweb: adding branch names from inbranch template to atom feed
Aaron Jensen <ajensen@webmd.net>
parents:
21056
diff
changeset
|
108 <tr> |
91eb605022f5
hgweb: adding branch names from inbranch template to atom feed
Aaron Jensen <ajensen@webmd.net>
parents:
21056
diff
changeset
|
109 <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:
18646
diff
changeset
|
110 <td></td> |
d70703954a2a
hgweb: adding branch, tags, bookmarks, user, and file list to atom feed entries
Aaron Jensen <ajensen@webmd.net>
parents:
18646
diff
changeset
|
111 </tr> |
d70703954a2a
hgweb: adding branch, tags, bookmarks, user, and file list to atom feed entries
Aaron Jensen <ajensen@webmd.net>
parents:
18646
diff
changeset
|
112 <tr> |
d70703954a2a
hgweb: adding branch, tags, bookmarks, user, and file list to atom feed entries
Aaron Jensen <ajensen@webmd.net>
parents:
18646
diff
changeset
|
113 <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:
18646
diff
changeset
|
114 <td>tip</td> |
d70703954a2a
hgweb: adding branch, tags, bookmarks, user, and file list to atom feed entries
Aaron Jensen <ajensen@webmd.net>
parents:
18646
diff
changeset
|
115 </tr> |
d70703954a2a
hgweb: adding branch, tags, bookmarks, user, and file list to atom feed entries
Aaron Jensen <ajensen@webmd.net>
parents:
18646
diff
changeset
|
116 <tr> |
d70703954a2a
hgweb: adding branch, tags, bookmarks, user, and file list to atom feed entries
Aaron Jensen <ajensen@webmd.net>
parents:
18646
diff
changeset
|
117 <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:
18646
diff
changeset
|
118 <td>test</td> |
d70703954a2a
hgweb: adding branch, tags, bookmarks, user, and file list to atom feed entries
Aaron Jensen <ajensen@webmd.net>
parents:
18646
diff
changeset
|
119 </tr> |
d70703954a2a
hgweb: adding branch, tags, bookmarks, user, and file list to atom feed entries
Aaron Jensen <ajensen@webmd.net>
parents:
18646
diff
changeset
|
120 <tr> |
d70703954a2a
hgweb: adding branch, tags, bookmarks, user, and file list to atom feed entries
Aaron Jensen <ajensen@webmd.net>
parents:
18646
diff
changeset
|
121 <th style="text-align:left;vertical-align:top;">description</th> |
d70703954a2a
hgweb: adding branch, tags, bookmarks, user, and file list to atom feed entries
Aaron Jensen <ajensen@webmd.net>
parents:
18646
diff
changeset
|
122 <td>test</td> |
d70703954a2a
hgweb: adding branch, tags, bookmarks, user, and file list to atom feed entries
Aaron Jensen <ajensen@webmd.net>
parents:
18646
diff
changeset
|
123 </tr> |
d70703954a2a
hgweb: adding branch, tags, bookmarks, user, and file list to atom feed entries
Aaron Jensen <ajensen@webmd.net>
parents:
18646
diff
changeset
|
124 <tr> |
d70703954a2a
hgweb: adding branch, tags, bookmarks, user, and file list to atom feed entries
Aaron Jensen <ajensen@webmd.net>
parents:
18646
diff
changeset
|
125 <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:
18646
diff
changeset
|
126 <td>bar<br /></td> |
d70703954a2a
hgweb: adding branch, tags, bookmarks, user, and file list to atom feed entries
Aaron Jensen <ajensen@webmd.net>
parents:
18646
diff
changeset
|
127 </tr> |
d70703954a2a
hgweb: adding branch, tags, bookmarks, user, and file list to atom feed entries
Aaron Jensen <ajensen@webmd.net>
parents:
18646
diff
changeset
|
128 </table> |
12438
922d2078017a
tests: unify test-hgweb-no-path-info
Matt Mackall <mpm@selenic.com>
parents:
12183
diff
changeset
|
129 </content> |
922d2078017a
tests: unify test-hgweb-no-path-info
Matt Mackall <mpm@selenic.com>
parents:
12183
diff
changeset
|
130 </entry> |
922d2078017a
tests: unify test-hgweb-no-path-info
Matt Mackall <mpm@selenic.com>
parents:
12183
diff
changeset
|
131 |
922d2078017a
tests: unify test-hgweb-no-path-info
Matt Mackall <mpm@selenic.com>
parents:
12183
diff
changeset
|
132 </feed> |
922d2078017a
tests: unify test-hgweb-no-path-info
Matt Mackall <mpm@selenic.com>
parents:
12183
diff
changeset
|
133 ---- ERRORS |
922d2078017a
tests: unify test-hgweb-no-path-info
Matt Mackall <mpm@selenic.com>
parents:
12183
diff
changeset
|
134 |
922d2078017a
tests: unify test-hgweb-no-path-info
Matt Mackall <mpm@selenic.com>
parents:
12183
diff
changeset
|
135 ---- STATUS |
922d2078017a
tests: unify test-hgweb-no-path-info
Matt Mackall <mpm@selenic.com>
parents:
12183
diff
changeset
|
136 200 Script output follows |
922d2078017a
tests: unify test-hgweb-no-path-info
Matt Mackall <mpm@selenic.com>
parents:
12183
diff
changeset
|
137 ---- HEADERS |
922d2078017a
tests: unify test-hgweb-no-path-info
Matt Mackall <mpm@selenic.com>
parents:
12183
diff
changeset
|
138 [('Content-Type', 'text/plain; charset=ascii')] |
922d2078017a
tests: unify test-hgweb-no-path-info
Matt Mackall <mpm@selenic.com>
parents:
12183
diff
changeset
|
139 ---- DATA |
922d2078017a
tests: unify test-hgweb-no-path-info
Matt Mackall <mpm@selenic.com>
parents:
12183
diff
changeset
|
140 |
18646
c6a81e54c209
hgweb: make the test suite use hgweb in a more WSGI compliant way
Mads Kiilerich <mads@kiilerich.com>
parents:
16913
diff
changeset
|
141 /repo/ |
12438
922d2078017a
tests: unify test-hgweb-no-path-info
Matt Mackall <mpm@selenic.com>
parents:
12183
diff
changeset
|
142 |
922d2078017a
tests: unify test-hgweb-no-path-info
Matt Mackall <mpm@selenic.com>
parents:
12183
diff
changeset
|
143 ---- ERRORS |
922d2078017a
tests: unify test-hgweb-no-path-info
Matt Mackall <mpm@selenic.com>
parents:
12183
diff
changeset
|
144 |
16913
f2719b387380
tests: add missing trailing 'cd ..'
Mads Kiilerich <mads@kiilerich.com>
parents:
13956
diff
changeset
|
145 |
f2719b387380
tests: add missing trailing 'cd ..'
Mads Kiilerich <mads@kiilerich.com>
parents:
13956
diff
changeset
|
146 $ cd .. |