author | Martin Geisler <mg@lazybytes.net> |
Thu, 14 May 2009 13:21:47 +0200 | |
changeset 8379 | 10fd7fb65110 |
parent 8353 | 6058d291abdf |
child 8447 | d5ebcf8f6855 |
permissions | -rw-r--r-- |
6355
3b841c189ab7
tests: add highlight extension tests
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents:
diff
changeset
|
1 |
adding get-with-headers.py |
7959
5fb6edbf0ab8
tests: guess lexer by filename for recent pygments
Christian Ebert <blacktrash@gmx.net>
parents:
7725
diff
changeset
|
2 |
adding isolatin.txt |
6355
3b841c189ab7
tests: add highlight extension tests
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents:
diff
changeset
|
3 |
% hg serve |
6987
d09e813b21e3
highlight: only pygmentize for HTML mimetypes
Rocco Rutte <pdmef@gmx.net>
parents:
6907
diff
changeset
|
4 |
% hgweb filerevision, html |
6355
3b841c189ab7
tests: add highlight extension tests
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents:
diff
changeset
|
5 |
200 Script output follows |
3b841c189ab7
tests: add highlight extension tests
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents:
diff
changeset
|
6 |
|
7725
6a888d491eaf
coal/paper: switch to XHTML 1.1
Benoit Allard <benoit@aeteurope.nl>
parents:
7544
diff
changeset
|
7 |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> |
6a888d491eaf
coal/paper: switch to XHTML 1.1
Benoit Allard <benoit@aeteurope.nl>
parents:
7544
diff
changeset
|
8 |
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en-US"> |
6355
3b841c189ab7
tests: add highlight extension tests
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents:
diff
changeset
|
9 |
<head> |
7725
6a888d491eaf
coal/paper: switch to XHTML 1.1
Benoit Allard <benoit@aeteurope.nl>
parents:
7544
diff
changeset
|
10 |
<link rel="icon" href="/static/hgicon.png" type="image/png" /> |
6355
3b841c189ab7
tests: add highlight extension tests
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents:
diff
changeset
|
11 |
<meta name="robots" content="index, nofollow" /> |
7339
d11473955d30
hgweb: update tests for paper style
Matt Mackall <mpm@selenic.com>
parents:
7120
diff
changeset
|
12 |
<link rel="stylesheet" href="/static/style-paper.css" type="text/css" /> |
6355
3b841c189ab7
tests: add highlight extension tests
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents:
diff
changeset
|
13 |
|
6485
938319418d8c
highlight: Generate pygments style sheet dynamically
Isaac Jurado <diptongo@gmail.com>
parents:
6355
diff
changeset
|
14 |
<link rel="stylesheet" href="/highlightcss" type="text/css" /> |
7959
5fb6edbf0ab8
tests: guess lexer by filename for recent pygments
Christian Ebert <blacktrash@gmx.net>
parents:
7725
diff
changeset
|
15 |
<title>test: 7c3facd7c58a get-with-headers.py</title> |
6355
3b841c189ab7
tests: add highlight extension tests
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents:
diff
changeset
|
16 |
</head> |
3b841c189ab7
tests: add highlight extension tests
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents:
diff
changeset
|
17 |
<body> |
3b841c189ab7
tests: add highlight extension tests
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents:
diff
changeset
|
18 |
|
7339
d11473955d30
hgweb: update tests for paper style
Matt Mackall <mpm@selenic.com>
parents:
7120
diff
changeset
|
19 |
<div class="container"> |
d11473955d30
hgweb: update tests for paper style
Matt Mackall <mpm@selenic.com>
parents:
7120
diff
changeset
|
20 |
<div class="menu"> |
6355
3b841c189ab7
tests: add highlight extension tests
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents:
diff
changeset
|
21 |
<div class="logo"> |
3b841c189ab7
tests: add highlight extension tests
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents:
diff
changeset
|
22 |
<a href="http://www.selenic.com/mercurial/"> |
7725
6a888d491eaf
coal/paper: switch to XHTML 1.1
Benoit Allard <benoit@aeteurope.nl>
parents:
7544
diff
changeset
|
23 |
<img src="/static/hglogo.png" alt="mercurial" /></a> |
6355
3b841c189ab7
tests: add highlight extension tests
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents:
diff
changeset
|
24 |
</div> |
7339
d11473955d30
hgweb: update tests for paper style
Matt Mackall <mpm@selenic.com>
parents:
7120
diff
changeset
|
25 |
<ul> |
7959
5fb6edbf0ab8
tests: guess lexer by filename for recent pygments
Christian Ebert <blacktrash@gmx.net>
parents:
7725
diff
changeset
|
26 |
<li><a href="/shortlog/7c3facd7c58a">log</a></li> |
5fb6edbf0ab8
tests: guess lexer by filename for recent pygments
Christian Ebert <blacktrash@gmx.net>
parents:
7725
diff
changeset
|
27 |
<li><a href="/graph/7c3facd7c58a">graph</a></li> |
7339
d11473955d30
hgweb: update tests for paper style
Matt Mackall <mpm@selenic.com>
parents:
7120
diff
changeset
|
28 |
<li><a href="/tags">tags</a></li> |
8353
6058d291abdf
paper/coal: add branches page
Sune Foldager <cryo@cyanite.org>
parents:
8083
diff
changeset
|
29 |
<li><a href="/branches">branches</a></li> |
7339
d11473955d30
hgweb: update tests for paper style
Matt Mackall <mpm@selenic.com>
parents:
7120
diff
changeset
|
30 |
</ul> |
d11473955d30
hgweb: update tests for paper style
Matt Mackall <mpm@selenic.com>
parents:
7120
diff
changeset
|
31 |
<ul> |
7959
5fb6edbf0ab8
tests: guess lexer by filename for recent pygments
Christian Ebert <blacktrash@gmx.net>
parents:
7725
diff
changeset
|
32 |
<li><a href="/rev/7c3facd7c58a">changeset</a></li> |
5fb6edbf0ab8
tests: guess lexer by filename for recent pygments
Christian Ebert <blacktrash@gmx.net>
parents:
7725
diff
changeset
|
33 |
<li><a href="/file/7c3facd7c58a/">browse</a></li> |
7339
d11473955d30
hgweb: update tests for paper style
Matt Mackall <mpm@selenic.com>
parents:
7120
diff
changeset
|
34 |
</ul> |
d11473955d30
hgweb: update tests for paper style
Matt Mackall <mpm@selenic.com>
parents:
7120
diff
changeset
|
35 |
<ul> |
d11473955d30
hgweb: update tests for paper style
Matt Mackall <mpm@selenic.com>
parents:
7120
diff
changeset
|
36 |
<li class="active">file</li> |
7959
5fb6edbf0ab8
tests: guess lexer by filename for recent pygments
Christian Ebert <blacktrash@gmx.net>
parents:
7725
diff
changeset
|
37 |
<li><a href="/diff/7c3facd7c58a/get-with-headers.py">diff</a></li> |
5fb6edbf0ab8
tests: guess lexer by filename for recent pygments
Christian Ebert <blacktrash@gmx.net>
parents:
7725
diff
changeset
|
38 |
<li><a href="/annotate/7c3facd7c58a/get-with-headers.py">annotate</a></li> |
5fb6edbf0ab8
tests: guess lexer by filename for recent pygments
Christian Ebert <blacktrash@gmx.net>
parents:
7725
diff
changeset
|
39 |
<li><a href="/log/7c3facd7c58a/get-with-headers.py">file log</a></li> |
5fb6edbf0ab8
tests: guess lexer by filename for recent pygments
Christian Ebert <blacktrash@gmx.net>
parents:
7725
diff
changeset
|
40 |
<li><a href="/raw-file/7c3facd7c58a/get-with-headers.py">raw</a></li> |
7339
d11473955d30
hgweb: update tests for paper style
Matt Mackall <mpm@selenic.com>
parents:
7120
diff
changeset
|
41 |
</ul> |
d11473955d30
hgweb: update tests for paper style
Matt Mackall <mpm@selenic.com>
parents:
7120
diff
changeset
|
42 |
</div> |
d11473955d30
hgweb: update tests for paper style
Matt Mackall <mpm@selenic.com>
parents:
7120
diff
changeset
|
43 |
|
d11473955d30
hgweb: update tests for paper style
Matt Mackall <mpm@selenic.com>
parents:
7120
diff
changeset
|
44 |
<div class="main"> |
d11473955d30
hgweb: update tests for paper style
Matt Mackall <mpm@selenic.com>
parents:
7120
diff
changeset
|
45 |
<h2><a href="/">test</a></h2> |
7959
5fb6edbf0ab8
tests: guess lexer by filename for recent pygments
Christian Ebert <blacktrash@gmx.net>
parents:
7725
diff
changeset
|
46 |
<h3>view get-with-headers.py @ 0:7c3facd7c58a</h3> |
7339
d11473955d30
hgweb: update tests for paper style
Matt Mackall <mpm@selenic.com>
parents:
7120
diff
changeset
|
47 |
|
d11473955d30
hgweb: update tests for paper style
Matt Mackall <mpm@selenic.com>
parents:
7120
diff
changeset
|
48 |
<form class="search" action="/log"> |
d11473955d30
hgweb: update tests for paper style
Matt Mackall <mpm@selenic.com>
parents:
7120
diff
changeset
|
49 |
|
7725
6a888d491eaf
coal/paper: switch to XHTML 1.1
Benoit Allard <benoit@aeteurope.nl>
parents:
7544
diff
changeset
|
50 |
<p><input name="rev" id="search1" type="text" size="30" /></p> |
6a888d491eaf
coal/paper: switch to XHTML 1.1
Benoit Allard <benoit@aeteurope.nl>
parents:
7544
diff
changeset
|
51 |
<div id="hint">find changesets by author, revision, |
6a888d491eaf
coal/paper: switch to XHTML 1.1
Benoit Allard <benoit@aeteurope.nl>
parents:
7544
diff
changeset
|
52 |
files, or words in the commit message</div> |
7339
d11473955d30
hgweb: update tests for paper style
Matt Mackall <mpm@selenic.com>
parents:
7120
diff
changeset
|
53 |
</form> |
d11473955d30
hgweb: update tests for paper style
Matt Mackall <mpm@selenic.com>
parents:
7120
diff
changeset
|
54 |
|
d11473955d30
hgweb: update tests for paper style
Matt Mackall <mpm@selenic.com>
parents:
7120
diff
changeset
|
55 |
<div class="description">a</div> |
d11473955d30
hgweb: update tests for paper style
Matt Mackall <mpm@selenic.com>
parents:
7120
diff
changeset
|
56 |
|
d11473955d30
hgweb: update tests for paper style
Matt Mackall <mpm@selenic.com>
parents:
7120
diff
changeset
|
57 |
<table id="changesetEntry"> |
d11473955d30
hgweb: update tests for paper style
Matt Mackall <mpm@selenic.com>
parents:
7120
diff
changeset
|
58 |
<tr> |
d11473955d30
hgweb: update tests for paper style
Matt Mackall <mpm@selenic.com>
parents:
7120
diff
changeset
|
59 |
<th class="author">author</th> |
d11473955d30
hgweb: update tests for paper style
Matt Mackall <mpm@selenic.com>
parents:
7120
diff
changeset
|
60 |
<td class="author">test</td> |
d11473955d30
hgweb: update tests for paper style
Matt Mackall <mpm@selenic.com>
parents:
7120
diff
changeset
|
61 |
</tr> |
d11473955d30
hgweb: update tests for paper style
Matt Mackall <mpm@selenic.com>
parents:
7120
diff
changeset
|
62 |
<tr> |
d11473955d30
hgweb: update tests for paper style
Matt Mackall <mpm@selenic.com>
parents:
7120
diff
changeset
|
63 |
<th class="date">date</th> |
7544
c5e37dc38a52
test-hgweb-*: replace "XX years ago" by a fixed string in get-with-headers.py
Gilles Moris <gilles.moris@free.fr>
parents:
7395
diff
changeset
|
64 |
<td class="date">Thu Jan 01 00:00:00 1970 +0000 (many years ago)</td> |
7339
d11473955d30
hgweb: update tests for paper style
Matt Mackall <mpm@selenic.com>
parents:
7120
diff
changeset
|
65 |
</tr> |
d11473955d30
hgweb: update tests for paper style
Matt Mackall <mpm@selenic.com>
parents:
7120
diff
changeset
|
66 |
<tr> |
d11473955d30
hgweb: update tests for paper style
Matt Mackall <mpm@selenic.com>
parents:
7120
diff
changeset
|
67 |
<th class="author">parents</th> |
d11473955d30
hgweb: update tests for paper style
Matt Mackall <mpm@selenic.com>
parents:
7120
diff
changeset
|
68 |
<td class="author"></td> |
d11473955d30
hgweb: update tests for paper style
Matt Mackall <mpm@selenic.com>
parents:
7120
diff
changeset
|
69 |
</tr> |
d11473955d30
hgweb: update tests for paper style
Matt Mackall <mpm@selenic.com>
parents:
7120
diff
changeset
|
70 |
<tr> |
d11473955d30
hgweb: update tests for paper style
Matt Mackall <mpm@selenic.com>
parents:
7120
diff
changeset
|
71 |
<th class="author">children</th> |
d11473955d30
hgweb: update tests for paper style
Matt Mackall <mpm@selenic.com>
parents:
7120
diff
changeset
|
72 |
<td class="author"></td> |
d11473955d30
hgweb: update tests for paper style
Matt Mackall <mpm@selenic.com>
parents:
7120
diff
changeset
|
73 |
</tr> |
d11473955d30
hgweb: update tests for paper style
Matt Mackall <mpm@selenic.com>
parents:
7120
diff
changeset
|
74 |
|
d11473955d30
hgweb: update tests for paper style
Matt Mackall <mpm@selenic.com>
parents:
7120
diff
changeset
|
75 |
</table> |
d11473955d30
hgweb: update tests for paper style
Matt Mackall <mpm@selenic.com>
parents:
7120
diff
changeset
|
76 |
|
d11473955d30
hgweb: update tests for paper style
Matt Mackall <mpm@selenic.com>
parents:
7120
diff
changeset
|
77 |
<div class="overflow"> |
7395
e2048f5c7bf5
tests: fix tests broken by 03b60f2f90bf
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents:
7347
diff
changeset
|
78 |
<div class="sourcefirst"> line source</div> |
8083
29ac24a36ed7
test-highlight: adapt output to latest pygments keeping backwards compatibility
Christian Ebert <blacktrash@gmx.net>
parents:
7959
diff
changeset
|
79 |
<div class="parity0 source"><a href="#l1" id="l1"> 1</a> <span class="c">#!/usr/bin/env python</span></div><div class="parity1 source"><a href="#l2" id="l2"> 2</a> </div><div class="parity0 source"><a href="#l3" id="l3"> 3</a> <span class="n">__doc__</span> <span class="o">=</span> <span class="s">"""This does HTTP get requests given a host:port and path and returns</span></div><div class="parity1 source"><a href="#l4" id="l4"> 4</a> <span class="s">a subset of the headers plus the body of the result."""</span></div><div class="parity0 source"><a href="#l5" id="l5"> 5</a> </div><div class="parity1 source"><a href="#l6" id="l6"> 6</a> <span class="kn">import</span> <span class="nn">httplib</span><span class="o">,</span> <span class="nn">sys</span><span class="o">,</span> <span class="nn">re</span></div><div class="parity0 source"><a href="#l7" id="l7"> 7</a> </div><div class="parity1 source"><a href="#l8" id="l8"> 8</a> <span class="kn">try</span><span class="p">:</span></div><div class="parity0 source"><a href="#l9" id="l9"> 9</a> <span class="kn">import</span> <span class="nn">msvcrt</span><span class="o">,</span> <span class="nn">os</span></div><div class="parity1 source"><a href="#l10" id="l10"> 10</a> <span class="n">msvcrt</span><span class="o">.</span><span class="n">setmode</span><span class="p">(</span><span class="n">sys</span><span class="o">.</span><span class="n">stdout</span><span class="o">.</span><span class="n">fileno</span><span class="p">(),</span> <span class="n">os</span><span class="o">.</span><span class="n">O_BINARY</span><span class="p">)</span></div><div class="parity0 source"><a href="#l11" id="l11"> 11</a> <span class="n">msvcrt</span><span class="o">.</span><span class="n">setmode</span><span class="p">(</span><span class="n">sys</span><span class="o">.</span><span class="n">stderr</span><span class="o">.</span><span class="n">fileno</span><span class="p">(),</span> <span class="n">os</span><span class="o">.</span><span class="n">O_BINARY</span><span class="p">)</span></div><div class="parity1 source"><a href="#l12" id="l12"> 12</a> <span class="kn">except</span> <span class="ne">ImportError</span><span class="p">:</span></div><div class="parity0 source"><a href="#l13" id="l13"> 13</a> <span class="kn">pass</span></div><div class="parity1 source"><a href="#l14" id="l14"> 14</a> </div><div class="parity0 source"><a href="#l15" id="l15"> 15</a> <span class="n">headers</span> <span class="o">=</span> <span class="p">[</span><span class="n">h</span><span class="o">.</span><span class="n">lower</span><span class="p">()</span> <span class="kn">for</span> <span class="n">h</span> <span class="ow">in</span> <span class="n">sys</span><span class="o">.</span><span class="n">argv</span><span class="p">[</span><span class="mi">3</span><span class="p">:]]</span></div><div class="parity1 source"><a href="#l16" id="l16"> 16</a> <span class="n">conn</span> <span class="o">=</span> <span class="n">httplib</span><span class="o">.</span><span class="n">HTTPConnection</span><span class="p">(</span><span class="n">sys</span><span class="o">.</span><span class="n">argv</span><span class="p">[</span><span class="mi">1</span><span class="p">])</span></div><div class="parity0 source"><a href="#l17" id="l17"> 17</a> <span class="n">conn</span><span class="o">.</span><span class="n">request</span><span class="p">(</span><span class="s">"GET"</span><span class="p">,</span> <span class="n">sys</span><span class="o">.</span><span class="n">argv</span><span class="p">[</span><span class="mi">2</span><span class="p">])</span></div><div class="parity1 source"><a href="#l18" id="l18"> 18</a> <span class="n">response</span> <span class="o">=</span> <span class="n">conn</span><span class="o">.</span><span class="n">getresponse</span><span class="p">()</span></div><div class="parity0 source"><a href="#l19" id="l19"> 19</a> <span class="kn">print</span> <span class="n">response</span><span class="o">.</span><span class="n">status</span><span class="p">,</span> <span class="n">response</span><span class="o">.</span><span class="n">reason</span></div><div class="parity1 source"><a href="#l20" id="l20"> 20</a> <span class="kn">for</span> <span class="n">h</span> <span class="ow">in</span> <span class="n">headers</span><span class="p">:</span></div><div class="parity0 source"><a href="#l21" id="l21"> 21</a> <span class="kn">if</span> <span class="n">response</span><span class="o">.</span><span class="n">getheader</span><span class="p">(</span><span class="n">h</span><span class="p">,</span> <span class="bp">None</span><span class="p">)</span> <span class="ow">is</span> <span class="ow">not</span> <span class="bp">None</span><span class="p">:</span></div><div class="parity1 source"><a href="#l22" id="l22"> 22</a> <span class="kn">print</span> <span class="s">"</span><span class="si">%s</span><span class="s">: </span><span class="si">%s</span><span class="s">"</span> <span class="o">%</span> <span class="p">(</span><span class="n">h</span><span class="p">,</span> <span class="n">response</span><span class="o">.</span><span class="n">getheader</span><span class="p">(</span><span class="n">h</span><span class="p">))</span></div><div class="parity0 source"><a href="#l23" id="l23"> 23</a> <span class="kn">print</span></div><div class="parity1 source"><a href="#l24" id="l24"> 24</a> <span class="n">data</span> <span class="o">=</span> <span class="n">response</span><span class="o">.</span><span class="n">read</span><span class="p">()</span></div><div class="parity0 source"><a href="#l25" id="l25"> 25</a> <span class="n">data</span> <span class="o">=</span> <span class="n">re</span><span class="o">.</span><span class="n">sub</span><span class="p">(</span><span class="s">'\d+ years'</span><span class="p">,</span> <span class="s">'many years'</span><span class="p">,</span> <span class="n">data</span><span class="p">)</span></div><div class="parity1 source"><a href="#l26" id="l26"> 26</a> <span class="n">sys</span><span class="o">.</span><span class="n">stdout</span><span class="o">.</span><span class="n">write</span><span class="p">(</span><span class="n">data</span><span class="p">)</span></div><div class="parity0 source"><a href="#l27" id="l27"> 27</a> </div><div class="parity1 source"><a href="#l28" id="l28"> 28</a> <span class="kn">if</span> <span class="mi">200</span> <span class="o"><=</span> <span class="n">response</span><span class="o">.</span><span class="n">status</span> <span class="o"><=</span> <span class="mi">299</span><span class="p">:</span></div><div class="parity0 source"><a href="#l29" id="l29"> 29</a> <span class="n">sys</span><span class="o">.</span><span class="n">exit</span><span class="p">(</span><span class="mi">0</span><span class="p">)</span></div><div class="parity1 source"><a href="#l30" id="l30"> 30</a> <span class="n">sys</span><span class="o">.</span><span class="n">exit</span><span class="p">(</span><span class="mi">1</span><span class="p">)</span></div> |
7395
e2048f5c7bf5
tests: fix tests broken by 03b60f2f90bf
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents:
7347
diff
changeset
|
80 |
<div class="sourcelast"></div> |
7339
d11473955d30
hgweb: update tests for paper style
Matt Mackall <mpm@selenic.com>
parents:
7120
diff
changeset
|
81 |
</div> |
d11473955d30
hgweb: update tests for paper style
Matt Mackall <mpm@selenic.com>
parents:
7120
diff
changeset
|
82 |
</div> |
d11473955d30
hgweb: update tests for paper style
Matt Mackall <mpm@selenic.com>
parents:
7120
diff
changeset
|
83 |
</div> |
d11473955d30
hgweb: update tests for paper style
Matt Mackall <mpm@selenic.com>
parents:
7120
diff
changeset
|
84 |
|
d11473955d30
hgweb: update tests for paper style
Matt Mackall <mpm@selenic.com>
parents:
7120
diff
changeset
|
85 |
|
6355
3b841c189ab7
tests: add highlight extension tests
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents:
diff
changeset
|
86 |
|
3b841c189ab7
tests: add highlight extension tests
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents:
diff
changeset
|
87 |
</body> |
3b841c189ab7
tests: add highlight extension tests
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents:
diff
changeset
|
88 |
</html> |
3b841c189ab7
tests: add highlight extension tests
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents:
diff
changeset
|
89 |
|
7120
db7557359636
highlight: convert text to local before passing to pygmentize (issue1341)
Christian Ebert <blacktrash@gmx.net>
parents:
7054
diff
changeset
|
90 |
% hgweb filerevision, html |
db7557359636
highlight: convert text to local before passing to pygmentize (issue1341)
Christian Ebert <blacktrash@gmx.net>
parents:
7054
diff
changeset
|
91 |
200 Script output follows |
db7557359636
highlight: convert text to local before passing to pygmentize (issue1341)
Christian Ebert <blacktrash@gmx.net>
parents:
7054
diff
changeset
|
92 |
|
7725
6a888d491eaf
coal/paper: switch to XHTML 1.1
Benoit Allard <benoit@aeteurope.nl>
parents:
7544
diff
changeset
|
93 |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> |
6a888d491eaf
coal/paper: switch to XHTML 1.1
Benoit Allard <benoit@aeteurope.nl>
parents:
7544
diff
changeset
|
94 |
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en-US"> |
7120
db7557359636
highlight: convert text to local before passing to pygmentize (issue1341)
Christian Ebert <blacktrash@gmx.net>
parents:
7054
diff
changeset
|
95 |
<head> |
7725
6a888d491eaf
coal/paper: switch to XHTML 1.1
Benoit Allard <benoit@aeteurope.nl>
parents:
7544
diff
changeset
|
96 |
<link rel="icon" href="/static/hgicon.png" type="image/png" /> |
7120
db7557359636
highlight: convert text to local before passing to pygmentize (issue1341)
Christian Ebert <blacktrash@gmx.net>
parents:
7054
diff
changeset
|
97 |
<meta name="robots" content="index, nofollow" /> |
7339
d11473955d30
hgweb: update tests for paper style
Matt Mackall <mpm@selenic.com>
parents:
7120
diff
changeset
|
98 |
<link rel="stylesheet" href="/static/style-paper.css" type="text/css" /> |
7120
db7557359636
highlight: convert text to local before passing to pygmentize (issue1341)
Christian Ebert <blacktrash@gmx.net>
parents:
7054
diff
changeset
|
99 |
|
db7557359636
highlight: convert text to local before passing to pygmentize (issue1341)
Christian Ebert <blacktrash@gmx.net>
parents:
7054
diff
changeset
|
100 |
<link rel="stylesheet" href="/highlightcss" type="text/css" /> |
7959
5fb6edbf0ab8
tests: guess lexer by filename for recent pygments
Christian Ebert <blacktrash@gmx.net>
parents:
7725
diff
changeset
|
101 |
<title>test: 7c3facd7c58a isolatin.txt</title> |
7120
db7557359636
highlight: convert text to local before passing to pygmentize (issue1341)
Christian Ebert <blacktrash@gmx.net>
parents:
7054
diff
changeset
|
102 |
</head> |
db7557359636
highlight: convert text to local before passing to pygmentize (issue1341)
Christian Ebert <blacktrash@gmx.net>
parents:
7054
diff
changeset
|
103 |
<body> |
db7557359636
highlight: convert text to local before passing to pygmentize (issue1341)
Christian Ebert <blacktrash@gmx.net>
parents:
7054
diff
changeset
|
104 |
|
7339
d11473955d30
hgweb: update tests for paper style
Matt Mackall <mpm@selenic.com>
parents:
7120
diff
changeset
|
105 |
<div class="container"> |
d11473955d30
hgweb: update tests for paper style
Matt Mackall <mpm@selenic.com>
parents:
7120
diff
changeset
|
106 |
<div class="menu"> |
7120
db7557359636
highlight: convert text to local before passing to pygmentize (issue1341)
Christian Ebert <blacktrash@gmx.net>
parents:
7054
diff
changeset
|
107 |
<div class="logo"> |
db7557359636
highlight: convert text to local before passing to pygmentize (issue1341)
Christian Ebert <blacktrash@gmx.net>
parents:
7054
diff
changeset
|
108 |
<a href="http://www.selenic.com/mercurial/"> |
7725
6a888d491eaf
coal/paper: switch to XHTML 1.1
Benoit Allard <benoit@aeteurope.nl>
parents:
7544
diff
changeset
|
109 |
<img src="/static/hglogo.png" alt="mercurial" /></a> |
7120
db7557359636
highlight: convert text to local before passing to pygmentize (issue1341)
Christian Ebert <blacktrash@gmx.net>
parents:
7054
diff
changeset
|
110 |
</div> |
7339
d11473955d30
hgweb: update tests for paper style
Matt Mackall <mpm@selenic.com>
parents:
7120
diff
changeset
|
111 |
<ul> |
7959
5fb6edbf0ab8
tests: guess lexer by filename for recent pygments
Christian Ebert <blacktrash@gmx.net>
parents:
7725
diff
changeset
|
112 |
<li><a href="/shortlog/7c3facd7c58a">log</a></li> |
5fb6edbf0ab8
tests: guess lexer by filename for recent pygments
Christian Ebert <blacktrash@gmx.net>
parents:
7725
diff
changeset
|
113 |
<li><a href="/graph/7c3facd7c58a">graph</a></li> |
7339
d11473955d30
hgweb: update tests for paper style
Matt Mackall <mpm@selenic.com>
parents:
7120
diff
changeset
|
114 |
<li><a href="/tags">tags</a></li> |
8353
6058d291abdf
paper/coal: add branches page
Sune Foldager <cryo@cyanite.org>
parents:
8083
diff
changeset
|
115 |
<li><a href="/branches">branches</a></li> |
7339
d11473955d30
hgweb: update tests for paper style
Matt Mackall <mpm@selenic.com>
parents:
7120
diff
changeset
|
116 |
</ul> |
d11473955d30
hgweb: update tests for paper style
Matt Mackall <mpm@selenic.com>
parents:
7120
diff
changeset
|
117 |
<ul> |
7959
5fb6edbf0ab8
tests: guess lexer by filename for recent pygments
Christian Ebert <blacktrash@gmx.net>
parents:
7725
diff
changeset
|
118 |
<li><a href="/rev/7c3facd7c58a">changeset</a></li> |
5fb6edbf0ab8
tests: guess lexer by filename for recent pygments
Christian Ebert <blacktrash@gmx.net>
parents:
7725
diff
changeset
|
119 |
<li><a href="/file/7c3facd7c58a/">browse</a></li> |
7339
d11473955d30
hgweb: update tests for paper style
Matt Mackall <mpm@selenic.com>
parents:
7120
diff
changeset
|
120 |
</ul> |
d11473955d30
hgweb: update tests for paper style
Matt Mackall <mpm@selenic.com>
parents:
7120
diff
changeset
|
121 |
<ul> |
d11473955d30
hgweb: update tests for paper style
Matt Mackall <mpm@selenic.com>
parents:
7120
diff
changeset
|
122 |
<li class="active">file</li> |
7959
5fb6edbf0ab8
tests: guess lexer by filename for recent pygments
Christian Ebert <blacktrash@gmx.net>
parents:
7725
diff
changeset
|
123 |
<li><a href="/diff/7c3facd7c58a/isolatin.txt">diff</a></li> |
5fb6edbf0ab8
tests: guess lexer by filename for recent pygments
Christian Ebert <blacktrash@gmx.net>
parents:
7725
diff
changeset
|
124 |
<li><a href="/annotate/7c3facd7c58a/isolatin.txt">annotate</a></li> |
5fb6edbf0ab8
tests: guess lexer by filename for recent pygments
Christian Ebert <blacktrash@gmx.net>
parents:
7725
diff
changeset
|
125 |
<li><a href="/log/7c3facd7c58a/isolatin.txt">file log</a></li> |
5fb6edbf0ab8
tests: guess lexer by filename for recent pygments
Christian Ebert <blacktrash@gmx.net>
parents:
7725
diff
changeset
|
126 |
<li><a href="/raw-file/7c3facd7c58a/isolatin.txt">raw</a></li> |
7339
d11473955d30
hgweb: update tests for paper style
Matt Mackall <mpm@selenic.com>
parents:
7120
diff
changeset
|
127 |
</ul> |
d11473955d30
hgweb: update tests for paper style
Matt Mackall <mpm@selenic.com>
parents:
7120
diff
changeset
|
128 |
</div> |
d11473955d30
hgweb: update tests for paper style
Matt Mackall <mpm@selenic.com>
parents:
7120
diff
changeset
|
129 |
|
d11473955d30
hgweb: update tests for paper style
Matt Mackall <mpm@selenic.com>
parents:
7120
diff
changeset
|
130 |
<div class="main"> |
d11473955d30
hgweb: update tests for paper style
Matt Mackall <mpm@selenic.com>
parents:
7120
diff
changeset
|
131 |
<h2><a href="/">test</a></h2> |
7959
5fb6edbf0ab8
tests: guess lexer by filename for recent pygments
Christian Ebert <blacktrash@gmx.net>
parents:
7725
diff
changeset
|
132 |
<h3>view isolatin.txt @ 0:7c3facd7c58a</h3> |
7339
d11473955d30
hgweb: update tests for paper style
Matt Mackall <mpm@selenic.com>
parents:
7120
diff
changeset
|
133 |
|
d11473955d30
hgweb: update tests for paper style
Matt Mackall <mpm@selenic.com>
parents:
7120
diff
changeset
|
134 |
<form class="search" action="/log"> |
d11473955d30
hgweb: update tests for paper style
Matt Mackall <mpm@selenic.com>
parents:
7120
diff
changeset
|
135 |
|
7725
6a888d491eaf
coal/paper: switch to XHTML 1.1
Benoit Allard <benoit@aeteurope.nl>
parents:
7544
diff
changeset
|
136 |
<p><input name="rev" id="search1" type="text" size="30" /></p> |
6a888d491eaf
coal/paper: switch to XHTML 1.1
Benoit Allard <benoit@aeteurope.nl>
parents:
7544
diff
changeset
|
137 |
<div id="hint">find changesets by author, revision, |
6a888d491eaf
coal/paper: switch to XHTML 1.1
Benoit Allard <benoit@aeteurope.nl>
parents:
7544
diff
changeset
|
138 |
files, or words in the commit message</div> |
7339
d11473955d30
hgweb: update tests for paper style
Matt Mackall <mpm@selenic.com>
parents:
7120
diff
changeset
|
139 |
</form> |
d11473955d30
hgweb: update tests for paper style
Matt Mackall <mpm@selenic.com>
parents:
7120
diff
changeset
|
140 |
|
d11473955d30
hgweb: update tests for paper style
Matt Mackall <mpm@selenic.com>
parents:
7120
diff
changeset
|
141 |
<div class="description">a</div> |
d11473955d30
hgweb: update tests for paper style
Matt Mackall <mpm@selenic.com>
parents:
7120
diff
changeset
|
142 |
|
d11473955d30
hgweb: update tests for paper style
Matt Mackall <mpm@selenic.com>
parents:
7120
diff
changeset
|
143 |
<table id="changesetEntry"> |
d11473955d30
hgweb: update tests for paper style
Matt Mackall <mpm@selenic.com>
parents:
7120
diff
changeset
|
144 |
<tr> |
d11473955d30
hgweb: update tests for paper style
Matt Mackall <mpm@selenic.com>
parents:
7120
diff
changeset
|
145 |
<th class="author">author</th> |
d11473955d30
hgweb: update tests for paper style
Matt Mackall <mpm@selenic.com>
parents:
7120
diff
changeset
|
146 |
<td class="author">test</td> |
d11473955d30
hgweb: update tests for paper style
Matt Mackall <mpm@selenic.com>
parents:
7120
diff
changeset
|
147 |
</tr> |
d11473955d30
hgweb: update tests for paper style
Matt Mackall <mpm@selenic.com>
parents:
7120
diff
changeset
|
148 |
<tr> |
d11473955d30
hgweb: update tests for paper style
Matt Mackall <mpm@selenic.com>
parents:
7120
diff
changeset
|
149 |
<th class="date">date</th> |
7544
c5e37dc38a52
test-hgweb-*: replace "XX years ago" by a fixed string in get-with-headers.py
Gilles Moris <gilles.moris@free.fr>
parents:
7395
diff
changeset
|
150 |
<td class="date">Thu Jan 01 00:00:00 1970 +0000 (many years ago)</td> |
7339
d11473955d30
hgweb: update tests for paper style
Matt Mackall <mpm@selenic.com>
parents:
7120
diff
changeset
|
151 |
</tr> |
d11473955d30
hgweb: update tests for paper style
Matt Mackall <mpm@selenic.com>
parents:
7120
diff
changeset
|
152 |
<tr> |
d11473955d30
hgweb: update tests for paper style
Matt Mackall <mpm@selenic.com>
parents:
7120
diff
changeset
|
153 |
<th class="author">parents</th> |
d11473955d30
hgweb: update tests for paper style
Matt Mackall <mpm@selenic.com>
parents:
7120
diff
changeset
|
154 |
<td class="author"></td> |
d11473955d30
hgweb: update tests for paper style
Matt Mackall <mpm@selenic.com>
parents:
7120
diff
changeset
|
155 |
</tr> |
d11473955d30
hgweb: update tests for paper style
Matt Mackall <mpm@selenic.com>
parents:
7120
diff
changeset
|
156 |
<tr> |
d11473955d30
hgweb: update tests for paper style
Matt Mackall <mpm@selenic.com>
parents:
7120
diff
changeset
|
157 |
<th class="author">children</th> |
d11473955d30
hgweb: update tests for paper style
Matt Mackall <mpm@selenic.com>
parents:
7120
diff
changeset
|
158 |
<td class="author"></td> |
d11473955d30
hgweb: update tests for paper style
Matt Mackall <mpm@selenic.com>
parents:
7120
diff
changeset
|
159 |
</tr> |
d11473955d30
hgweb: update tests for paper style
Matt Mackall <mpm@selenic.com>
parents:
7120
diff
changeset
|
160 |
|
d11473955d30
hgweb: update tests for paper style
Matt Mackall <mpm@selenic.com>
parents:
7120
diff
changeset
|
161 |
</table> |
d11473955d30
hgweb: update tests for paper style
Matt Mackall <mpm@selenic.com>
parents:
7120
diff
changeset
|
162 |
|
d11473955d30
hgweb: update tests for paper style
Matt Mackall <mpm@selenic.com>
parents:
7120
diff
changeset
|
163 |
<div class="overflow"> |
7395
e2048f5c7bf5
tests: fix tests broken by 03b60f2f90bf
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents:
7347
diff
changeset
|
164 |
<div class="sourcefirst"> line source</div> |
e2048f5c7bf5
tests: fix tests broken by 03b60f2f90bf
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents:
7347
diff
changeset
|
165 |
<div class="parity0 source"><a href="#l1" id="l1"> 1</a> h?bsch</div> |
e2048f5c7bf5
tests: fix tests broken by 03b60f2f90bf
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents:
7347
diff
changeset
|
166 |
<div class="sourcelast"></div> |
7339
d11473955d30
hgweb: update tests for paper style
Matt Mackall <mpm@selenic.com>
parents:
7120
diff
changeset
|
167 |
</div> |
d11473955d30
hgweb: update tests for paper style
Matt Mackall <mpm@selenic.com>
parents:
7120
diff
changeset
|
168 |
</div> |
d11473955d30
hgweb: update tests for paper style
Matt Mackall <mpm@selenic.com>
parents:
7120
diff
changeset
|
169 |
</div> |
d11473955d30
hgweb: update tests for paper style
Matt Mackall <mpm@selenic.com>
parents:
7120
diff
changeset
|
170 |
|
d11473955d30
hgweb: update tests for paper style
Matt Mackall <mpm@selenic.com>
parents:
7120
diff
changeset
|
171 |
|
7120
db7557359636
highlight: convert text to local before passing to pygmentize (issue1341)
Christian Ebert <blacktrash@gmx.net>
parents:
7054
diff
changeset
|
172 |
|
db7557359636
highlight: convert text to local before passing to pygmentize (issue1341)
Christian Ebert <blacktrash@gmx.net>
parents:
7054
diff
changeset
|
173 |
</body> |
db7557359636
highlight: convert text to local before passing to pygmentize (issue1341)
Christian Ebert <blacktrash@gmx.net>
parents:
7054
diff
changeset
|
174 |
</html> |
db7557359636
highlight: convert text to local before passing to pygmentize (issue1341)
Christian Ebert <blacktrash@gmx.net>
parents:
7054
diff
changeset
|
175 |
|
6987
d09e813b21e3
highlight: only pygmentize for HTML mimetypes
Rocco Rutte <pdmef@gmx.net>
parents:
6907
diff
changeset
|
176 |
% hgweb fileannotate, html |
6355
3b841c189ab7
tests: add highlight extension tests
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents:
diff
changeset
|
177 |
200 Script output follows |
3b841c189ab7
tests: add highlight extension tests
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents:
diff
changeset
|
178 |
|
7725
6a888d491eaf
coal/paper: switch to XHTML 1.1
Benoit Allard <benoit@aeteurope.nl>
parents:
7544
diff
changeset
|
179 |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> |
6a888d491eaf
coal/paper: switch to XHTML 1.1
Benoit Allard <benoit@aeteurope.nl>
parents:
7544
diff
changeset
|
180 |
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en-US"> |
6355
3b841c189ab7
tests: add highlight extension tests
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents:
diff
changeset
|
181 |
<head> |
7725
6a888d491eaf
coal/paper: switch to XHTML 1.1
Benoit Allard <benoit@aeteurope.nl>
parents:
7544
diff
changeset
|
182 |
<link rel="icon" href="/static/hgicon.png" type="image/png" /> |
6355
3b841c189ab7
tests: add highlight extension tests
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents:
diff
changeset
|
183 |
<meta name="robots" content="index, nofollow" /> |
7339
d11473955d30
hgweb: update tests for paper style
Matt Mackall <mpm@selenic.com>
parents:
7120
diff
changeset
|
184 |
<link rel="stylesheet" href="/static/style-paper.css" type="text/css" /> |
6355
3b841c189ab7
tests: add highlight extension tests
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents:
diff
changeset
|
185 |
|
6485
938319418d8c
highlight: Generate pygments style sheet dynamically
Isaac Jurado <diptongo@gmail.com>
parents:
6355
diff
changeset
|
186 |
<link rel="stylesheet" href="/highlightcss" type="text/css" /> |
6355
3b841c189ab7
tests: add highlight extension tests
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents:
diff
changeset
|
187 |
<title>test: get-with-headers.py annotate</title> |
3b841c189ab7
tests: add highlight extension tests
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents:
diff
changeset
|
188 |
</head> |
3b841c189ab7
tests: add highlight extension tests
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents:
diff
changeset
|
189 |
<body> |
3b841c189ab7
tests: add highlight extension tests
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents:
diff
changeset
|
190 |
|
7339
d11473955d30
hgweb: update tests for paper style
Matt Mackall <mpm@selenic.com>
parents:
7120
diff
changeset
|
191 |
<div class="container"> |
d11473955d30
hgweb: update tests for paper style
Matt Mackall <mpm@selenic.com>
parents:
7120
diff
changeset
|
192 |
<div class="menu"> |
d11473955d30
hgweb: update tests for paper style
Matt Mackall <mpm@selenic.com>
parents:
7120
diff
changeset
|
193 |
<div class="logo"> |
d11473955d30
hgweb: update tests for paper style
Matt Mackall <mpm@selenic.com>
parents:
7120
diff
changeset
|
194 |
<a href="http://www.selenic.com/mercurial/"> |
7725
6a888d491eaf
coal/paper: switch to XHTML 1.1
Benoit Allard <benoit@aeteurope.nl>
parents:
7544
diff
changeset
|
195 |
<img src="/static/hglogo.png" alt="mercurial" /></a> |
7339
d11473955d30
hgweb: update tests for paper style
Matt Mackall <mpm@selenic.com>
parents:
7120
diff
changeset
|
196 |
</div> |
d11473955d30
hgweb: update tests for paper style
Matt Mackall <mpm@selenic.com>
parents:
7120
diff
changeset
|
197 |
<ul> |
7959
5fb6edbf0ab8
tests: guess lexer by filename for recent pygments
Christian Ebert <blacktrash@gmx.net>
parents:
7725
diff
changeset
|
198 |
<li><a href="/shortlog/7c3facd7c58a">log</a></li> |
5fb6edbf0ab8
tests: guess lexer by filename for recent pygments
Christian Ebert <blacktrash@gmx.net>
parents:
7725
diff
changeset
|
199 |
<li><a href="/graph/7c3facd7c58a">graph</a></li> |
7339
d11473955d30
hgweb: update tests for paper style
Matt Mackall <mpm@selenic.com>
parents:
7120
diff
changeset
|
200 |
<li><a href="/tags">tags</a></li> |
8353
6058d291abdf
paper/coal: add branches page
Sune Foldager <cryo@cyanite.org>
parents:
8083
diff
changeset
|
201 |
<li><a href="/branches">branches</a></li> |
7339
d11473955d30
hgweb: update tests for paper style
Matt Mackall <mpm@selenic.com>
parents:
7120
diff
changeset
|
202 |
</ul> |
d11473955d30
hgweb: update tests for paper style
Matt Mackall <mpm@selenic.com>
parents:
7120
diff
changeset
|
203 |
|
d11473955d30
hgweb: update tests for paper style
Matt Mackall <mpm@selenic.com>
parents:
7120
diff
changeset
|
204 |
<ul> |
7959
5fb6edbf0ab8
tests: guess lexer by filename for recent pygments
Christian Ebert <blacktrash@gmx.net>
parents:
7725
diff
changeset
|
205 |
<li><a href="/rev/7c3facd7c58a">changeset</a></li> |
5fb6edbf0ab8
tests: guess lexer by filename for recent pygments
Christian Ebert <blacktrash@gmx.net>
parents:
7725
diff
changeset
|
206 |
<li><a href="/file/7c3facd7c58a/">browse</a></li> |
7339
d11473955d30
hgweb: update tests for paper style
Matt Mackall <mpm@selenic.com>
parents:
7120
diff
changeset
|
207 |
</ul> |
d11473955d30
hgweb: update tests for paper style
Matt Mackall <mpm@selenic.com>
parents:
7120
diff
changeset
|
208 |
<ul> |
7959
5fb6edbf0ab8
tests: guess lexer by filename for recent pygments
Christian Ebert <blacktrash@gmx.net>
parents:
7725
diff
changeset
|
209 |
<li><a href="/file/7c3facd7c58a/get-with-headers.py">file</a></li> |
5fb6edbf0ab8
tests: guess lexer by filename for recent pygments
Christian Ebert <blacktrash@gmx.net>
parents:
7725
diff
changeset
|
210 |
<li><a href="/diff/7c3facd7c58a/get-with-headers.py">diff</a></li> |
7339
d11473955d30
hgweb: update tests for paper style
Matt Mackall <mpm@selenic.com>
parents:
7120
diff
changeset
|
211 |
<li class="active">annotate</li> |
7959
5fb6edbf0ab8
tests: guess lexer by filename for recent pygments
Christian Ebert <blacktrash@gmx.net>
parents:
7725
diff
changeset
|
212 |
<li><a href="/log/7c3facd7c58a/get-with-headers.py">file log</a></li> |
5fb6edbf0ab8
tests: guess lexer by filename for recent pygments
Christian Ebert <blacktrash@gmx.net>
parents:
7725
diff
changeset
|
213 |
<li><a href="/raw-annotate/7c3facd7c58a/get-with-headers.py">raw</a></li> |
7339
d11473955d30
hgweb: update tests for paper style
Matt Mackall <mpm@selenic.com>
parents:
7120
diff
changeset
|
214 |
</ul> |
6355
3b841c189ab7
tests: add highlight extension tests
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents:
diff
changeset
|
215 |
</div> |
3b841c189ab7
tests: add highlight extension tests
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents:
diff
changeset
|
216 |
|
7339
d11473955d30
hgweb: update tests for paper style
Matt Mackall <mpm@selenic.com>
parents:
7120
diff
changeset
|
217 |
<div class="main"> |
d11473955d30
hgweb: update tests for paper style
Matt Mackall <mpm@selenic.com>
parents:
7120
diff
changeset
|
218 |
<h2><a href="/">test</a></h2> |
7959
5fb6edbf0ab8
tests: guess lexer by filename for recent pygments
Christian Ebert <blacktrash@gmx.net>
parents:
7725
diff
changeset
|
219 |
<h3>annotate get-with-headers.py @ 0:7c3facd7c58a</h3> |
6355
3b841c189ab7
tests: add highlight extension tests
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents:
diff
changeset
|
220 |
|
7339
d11473955d30
hgweb: update tests for paper style
Matt Mackall <mpm@selenic.com>
parents:
7120
diff
changeset
|
221 |
<form class="search" action="/log"> |
6355
3b841c189ab7
tests: add highlight extension tests
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents:
diff
changeset
|
222 |
|
7725
6a888d491eaf
coal/paper: switch to XHTML 1.1
Benoit Allard <benoit@aeteurope.nl>
parents:
7544
diff
changeset
|
223 |
<p><input name="rev" id="search1" type="text" size="30" /></p> |
6a888d491eaf
coal/paper: switch to XHTML 1.1
Benoit Allard <benoit@aeteurope.nl>
parents:
7544
diff
changeset
|
224 |
<div id="hint">find changesets by author, revision, |
6a888d491eaf
coal/paper: switch to XHTML 1.1
Benoit Allard <benoit@aeteurope.nl>
parents:
7544
diff
changeset
|
225 |
files, or words in the commit message</div> |
7339
d11473955d30
hgweb: update tests for paper style
Matt Mackall <mpm@selenic.com>
parents:
7120
diff
changeset
|
226 |
</form> |
6355
3b841c189ab7
tests: add highlight extension tests
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents:
diff
changeset
|
227 |
|
7339
d11473955d30
hgweb: update tests for paper style
Matt Mackall <mpm@selenic.com>
parents:
7120
diff
changeset
|
228 |
<div class="description">a</div> |
d11473955d30
hgweb: update tests for paper style
Matt Mackall <mpm@selenic.com>
parents:
7120
diff
changeset
|
229 |
|
d11473955d30
hgweb: update tests for paper style
Matt Mackall <mpm@selenic.com>
parents:
7120
diff
changeset
|
230 |
<table id="changesetEntry"> |
6355
3b841c189ab7
tests: add highlight extension tests
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents:
diff
changeset
|
231 |
<tr> |
7339
d11473955d30
hgweb: update tests for paper style
Matt Mackall <mpm@selenic.com>
parents:
7120
diff
changeset
|
232 |
<th class="author">author</th> |
d11473955d30
hgweb: update tests for paper style
Matt Mackall <mpm@selenic.com>
parents:
7120
diff
changeset
|
233 |
<td class="author">test</td> |
6907 | 234 |
</tr> |
6355
3b841c189ab7
tests: add highlight extension tests
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents:
diff
changeset
|
235 |
<tr> |
7339
d11473955d30
hgweb: update tests for paper style
Matt Mackall <mpm@selenic.com>
parents:
7120
diff
changeset
|
236 |
<th class="date">date</th> |
7544
c5e37dc38a52
test-hgweb-*: replace "XX years ago" by a fixed string in get-with-headers.py
Gilles Moris <gilles.moris@free.fr>
parents:
7395
diff
changeset
|
237 |
<td class="date">Thu Jan 01 00:00:00 1970 +0000 (many years ago)</td> |
6907 | 238 |
</tr> |
6355
3b841c189ab7
tests: add highlight extension tests
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents:
diff
changeset
|
239 |
<tr> |
7339
d11473955d30
hgweb: update tests for paper style
Matt Mackall <mpm@selenic.com>
parents:
7120
diff
changeset
|
240 |
<th class="author">parents</th> |
d11473955d30
hgweb: update tests for paper style
Matt Mackall <mpm@selenic.com>
parents:
7120
diff
changeset
|
241 |
<td class="author"></td> |
6355
3b841c189ab7
tests: add highlight extension tests
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents:
diff
changeset
|
242 |
</tr> |
7339
d11473955d30
hgweb: update tests for paper style
Matt Mackall <mpm@selenic.com>
parents:
7120
diff
changeset
|
243 |
<tr> |
d11473955d30
hgweb: update tests for paper style
Matt Mackall <mpm@selenic.com>
parents:
7120
diff
changeset
|
244 |
<th class="author">children</th> |
d11473955d30
hgweb: update tests for paper style
Matt Mackall <mpm@selenic.com>
parents:
7120
diff
changeset
|
245 |
<td class="author"></td> |
d11473955d30
hgweb: update tests for paper style
Matt Mackall <mpm@selenic.com>
parents:
7120
diff
changeset
|
246 |
</tr> |
d11473955d30
hgweb: update tests for paper style
Matt Mackall <mpm@selenic.com>
parents:
7120
diff
changeset
|
247 |
|
6355
3b841c189ab7
tests: add highlight extension tests
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents:
diff
changeset
|
248 |
</table> |
3b841c189ab7
tests: add highlight extension tests
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents:
diff
changeset
|
249 |
|
3b841c189ab7
tests: add highlight extension tests
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents:
diff
changeset
|
250 |
<br/> |
3b841c189ab7
tests: add highlight extension tests
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents:
diff
changeset
|
251 |
|
7339
d11473955d30
hgweb: update tests for paper style
Matt Mackall <mpm@selenic.com>
parents:
7120
diff
changeset
|
252 |
<div class="overflow"> |
d11473955d30
hgweb: update tests for paper style
Matt Mackall <mpm@selenic.com>
parents:
7120
diff
changeset
|
253 |
<table class="bigtable"> |
d11473955d30
hgweb: update tests for paper style
Matt Mackall <mpm@selenic.com>
parents:
7120
diff
changeset
|
254 |
<tr> |
d11473955d30
hgweb: update tests for paper style
Matt Mackall <mpm@selenic.com>
parents:
7120
diff
changeset
|
255 |
<th class="annotate">rev</th> |
7395
e2048f5c7bf5
tests: fix tests broken by 03b60f2f90bf
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents:
7347
diff
changeset
|
256 |
<th class="line"> line source</th> |
7339
d11473955d30
hgweb: update tests for paper style
Matt Mackall <mpm@selenic.com>
parents:
7120
diff
changeset
|
257 |
</tr> |
8379
10fd7fb65110
highlight: updated changed test output
Martin Geisler <mg@lazybytes.net>
parents:
8353
diff
changeset
|
258 |
|
10fd7fb65110
highlight: updated changed test output
Martin Geisler <mg@lazybytes.net>
parents:
8353
diff
changeset
|
259 |
<tr class="parity0"> |
10fd7fb65110
highlight: updated changed test output
Martin Geisler <mg@lazybytes.net>
parents:
8353
diff
changeset
|
260 |
<td class="annotate"> |
10fd7fb65110
highlight: updated changed test output
Martin Geisler <mg@lazybytes.net>
parents:
8353
diff
changeset
|
261 |
<a href="/annotate/7c3facd7c58a/get-with-headers.py#1" |
10fd7fb65110
highlight: updated changed test output
Martin Geisler <mg@lazybytes.net>
parents:
8353
diff
changeset
|
262 |
title="7c3facd7c58a: a">test@0</a> |
10fd7fb65110
highlight: updated changed test output
Martin Geisler <mg@lazybytes.net>
parents:
8353
diff
changeset
|
263 |
</td> |
10fd7fb65110
highlight: updated changed test output
Martin Geisler <mg@lazybytes.net>
parents:
8353
diff
changeset
|
264 |
<td class="source"><a href="#l1" id="l1"> 1</a> <span class="c">#!/usr/bin/env python</span></td> |
10fd7fb65110
highlight: updated changed test output
Martin Geisler <mg@lazybytes.net>
parents:
8353
diff
changeset
|
265 |
</tr> |
10fd7fb65110
highlight: updated changed test output
Martin Geisler <mg@lazybytes.net>
parents:
8353
diff
changeset
|
266 |
<tr class="parity1"> |
10fd7fb65110
highlight: updated changed test output
Martin Geisler <mg@lazybytes.net>
parents:
8353
diff
changeset
|
267 |
<td class="annotate"> |
10fd7fb65110
highlight: updated changed test output
Martin Geisler <mg@lazybytes.net>
parents:
8353
diff
changeset
|
268 |
<a href="/annotate/7c3facd7c58a/get-with-headers.py#2" |
10fd7fb65110
highlight: updated changed test output
Martin Geisler <mg@lazybytes.net>
parents:
8353
diff
changeset
|
269 |
title="7c3facd7c58a: a">test@0</a> |
10fd7fb65110
highlight: updated changed test output
Martin Geisler <mg@lazybytes.net>
parents:
8353
diff
changeset
|
270 |
</td> |
10fd7fb65110
highlight: updated changed test output
Martin Geisler <mg@lazybytes.net>
parents:
8353
diff
changeset
|
271 |
<td class="source"><a href="#l2" id="l2"> 2</a> </td> |
10fd7fb65110
highlight: updated changed test output
Martin Geisler <mg@lazybytes.net>
parents:
8353
diff
changeset
|
272 |
</tr> |
10fd7fb65110
highlight: updated changed test output
Martin Geisler <mg@lazybytes.net>
parents:
8353
diff
changeset
|
273 |
<tr class="parity0"> |
10fd7fb65110
highlight: updated changed test output
Martin Geisler <mg@lazybytes.net>
parents:
8353
diff
changeset
|
274 |
<td class="annotate"> |
10fd7fb65110
highlight: updated changed test output
Martin Geisler <mg@lazybytes.net>
parents:
8353
diff
changeset
|
275 |
<a href="/annotate/7c3facd7c58a/get-with-headers.py#3" |
10fd7fb65110
highlight: updated changed test output
Martin Geisler <mg@lazybytes.net>
parents:
8353
diff
changeset
|
276 |
title="7c3facd7c58a: a">test@0</a> |
10fd7fb65110
highlight: updated changed test output
Martin Geisler <mg@lazybytes.net>
parents:
8353
diff
changeset
|
277 |
</td> |
10fd7fb65110
highlight: updated changed test output
Martin Geisler <mg@lazybytes.net>
parents:
8353
diff
changeset
|
278 |
<td class="source"><a href="#l3" id="l3"> 3</a> <span class="n">__doc__</span> <span class="o">=</span> <span class="s">"""This does HTTP get requests given a host:port and path and returns</span></td> |
10fd7fb65110
highlight: updated changed test output
Martin Geisler <mg@lazybytes.net>
parents:
8353
diff
changeset
|
279 |
</tr> |
10fd7fb65110
highlight: updated changed test output
Martin Geisler <mg@lazybytes.net>
parents:
8353
diff
changeset
|
280 |
<tr class="parity1"> |
10fd7fb65110
highlight: updated changed test output
Martin Geisler <mg@lazybytes.net>
parents:
8353
diff
changeset
|
281 |
<td class="annotate"> |
10fd7fb65110
highlight: updated changed test output
Martin Geisler <mg@lazybytes.net>
parents:
8353
diff
changeset
|
282 |
<a href="/annotate/7c3facd7c58a/get-with-headers.py#4" |
10fd7fb65110
highlight: updated changed test output
Martin Geisler <mg@lazybytes.net>
parents:
8353
diff
changeset
|
283 |
title="7c3facd7c58a: a">test@0</a> |
10fd7fb65110
highlight: updated changed test output
Martin Geisler <mg@lazybytes.net>
parents:
8353
diff
changeset
|
284 |
</td> |
10fd7fb65110
highlight: updated changed test output
Martin Geisler <mg@lazybytes.net>
parents:
8353
diff
changeset
|
285 |
<td class="source"><a href="#l4" id="l4"> 4</a> <span class="s">a subset of the headers plus the body of the result."""</span></td> |
10fd7fb65110
highlight: updated changed test output
Martin Geisler <mg@lazybytes.net>
parents:
8353
diff
changeset
|
286 |
</tr> |
10fd7fb65110
highlight: updated changed test output
Martin Geisler <mg@lazybytes.net>
parents:
8353
diff
changeset
|
287 |
<tr class="parity0"> |
10fd7fb65110
highlight: updated changed test output
Martin Geisler <mg@lazybytes.net>
parents:
8353
diff
changeset
|
288 |
<td class="annotate"> |
10fd7fb65110
highlight: updated changed test output
Martin Geisler <mg@lazybytes.net>
parents:
8353
diff
changeset
|
289 |
<a href="/annotate/7c3facd7c58a/get-with-headers.py#5" |
10fd7fb65110
highlight: updated changed test output
Martin Geisler <mg@lazybytes.net>
parents:
8353
diff
changeset
|
290 |
title="7c3facd7c58a: a">test@0</a> |
10fd7fb65110
highlight: updated changed test output
Martin Geisler <mg@lazybytes.net>
parents:
8353
diff
changeset
|
291 |
</td> |
10fd7fb65110
highlight: updated changed test output
Martin Geisler <mg@lazybytes.net>
parents:
8353
diff
changeset
|
292 |
<td class="source"><a href="#l5" id="l5"> 5</a> </td> |
10fd7fb65110
highlight: updated changed test output
Martin Geisler <mg@lazybytes.net>
parents:
8353
diff
changeset
|
293 |
</tr> |
10fd7fb65110
highlight: updated changed test output
Martin Geisler <mg@lazybytes.net>
parents:
8353
diff
changeset
|
294 |
<tr class="parity1"> |
10fd7fb65110
highlight: updated changed test output
Martin Geisler <mg@lazybytes.net>
parents:
8353
diff
changeset
|
295 |
<td class="annotate"> |
10fd7fb65110
highlight: updated changed test output
Martin Geisler <mg@lazybytes.net>
parents:
8353
diff
changeset
|
296 |
<a href="/annotate/7c3facd7c58a/get-with-headers.py#6" |
10fd7fb65110
highlight: updated changed test output
Martin Geisler <mg@lazybytes.net>
parents:
8353
diff
changeset
|
297 |
title="7c3facd7c58a: a">test@0</a> |
10fd7fb65110
highlight: updated changed test output
Martin Geisler <mg@lazybytes.net>
parents:
8353
diff
changeset
|
298 |
</td> |
10fd7fb65110
highlight: updated changed test output
Martin Geisler <mg@lazybytes.net>
parents:
8353
diff
changeset
|
299 |
<td class="source"><a href="#l6" id="l6"> 6</a> <span class="kn">import</span> <span class="nn">httplib</span><span class="o">,</span> <span class="nn">sys</span><span class="o">,</span> <span class="nn">re</span></td> |
10fd7fb65110
highlight: updated changed test output
Martin Geisler <mg@lazybytes.net>
parents:
8353
diff
changeset
|
300 |
</tr> |
10fd7fb65110
highlight: updated changed test output
Martin Geisler <mg@lazybytes.net>
parents:
8353
diff
changeset
|
301 |
<tr class="parity0"> |
10fd7fb65110
highlight: updated changed test output
Martin Geisler <mg@lazybytes.net>
parents:
8353
diff
changeset
|
302 |
<td class="annotate"> |
10fd7fb65110
highlight: updated changed test output
Martin Geisler <mg@lazybytes.net>
parents:
8353
diff
changeset
|
303 |
<a href="/annotate/7c3facd7c58a/get-with-headers.py#7" |
10fd7fb65110
highlight: updated changed test output
Martin Geisler <mg@lazybytes.net>
parents:
8353
diff
changeset
|
304 |
title="7c3facd7c58a: a">test@0</a> |
10fd7fb65110
highlight: updated changed test output
Martin Geisler <mg@lazybytes.net>
parents:
8353
diff
changeset
|
305 |
</td> |
10fd7fb65110
highlight: updated changed test output
Martin Geisler <mg@lazybytes.net>
parents:
8353
diff
changeset
|
306 |
<td class="source"><a href="#l7" id="l7"> 7</a> </td> |
10fd7fb65110
highlight: updated changed test output
Martin Geisler <mg@lazybytes.net>
parents:
8353
diff
changeset
|
307 |
</tr> |
10fd7fb65110
highlight: updated changed test output
Martin Geisler <mg@lazybytes.net>
parents:
8353
diff
changeset
|
308 |
<tr class="parity1"> |
10fd7fb65110
highlight: updated changed test output
Martin Geisler <mg@lazybytes.net>
parents:
8353
diff
changeset
|
309 |
<td class="annotate"> |
10fd7fb65110
highlight: updated changed test output
Martin Geisler <mg@lazybytes.net>
parents:
8353
diff
changeset
|
310 |
<a href="/annotate/7c3facd7c58a/get-with-headers.py#8" |
10fd7fb65110
highlight: updated changed test output
Martin Geisler <mg@lazybytes.net>
parents:
8353
diff
changeset
|
311 |
title="7c3facd7c58a: a">test@0</a> |
10fd7fb65110
highlight: updated changed test output
Martin Geisler <mg@lazybytes.net>
parents:
8353
diff
changeset
|
312 |
</td> |
10fd7fb65110
highlight: updated changed test output
Martin Geisler <mg@lazybytes.net>
parents:
8353
diff
changeset
|
313 |
<td class="source"><a href="#l8" id="l8"> 8</a> <span class="kn">try</span><span class="p">:</span></td> |
10fd7fb65110
highlight: updated changed test output
Martin Geisler <mg@lazybytes.net>
parents:
8353
diff
changeset
|
314 |
</tr> |
10fd7fb65110
highlight: updated changed test output
Martin Geisler <mg@lazybytes.net>
parents:
8353
diff
changeset
|
315 |
<tr class="parity0"> |
10fd7fb65110
highlight: updated changed test output
Martin Geisler <mg@lazybytes.net>
parents:
8353
diff
changeset
|
316 |
<td class="annotate"> |
10fd7fb65110
highlight: updated changed test output
Martin Geisler <mg@lazybytes.net>
parents:
8353
diff
changeset
|
317 |
<a href="/annotate/7c3facd7c58a/get-with-headers.py#9" |
10fd7fb65110
highlight: updated changed test output
Martin Geisler <mg@lazybytes.net>
parents:
8353
diff
changeset
|
318 |
title="7c3facd7c58a: a">test@0</a> |
10fd7fb65110
highlight: updated changed test output
Martin Geisler <mg@lazybytes.net>
parents:
8353
diff
changeset
|
319 |
</td> |
10fd7fb65110
highlight: updated changed test output
Martin Geisler <mg@lazybytes.net>
parents:
8353
diff
changeset
|
320 |
<td class="source"><a href="#l9" id="l9"> 9</a> <span class="kn">import</span> <span class="nn">msvcrt</span><span class="o">,</span> <span class="nn">os</span></td> |
10fd7fb65110
highlight: updated changed test output
Martin Geisler <mg@lazybytes.net>
parents:
8353
diff
changeset
|
321 |
</tr> |
10fd7fb65110
highlight: updated changed test output
Martin Geisler <mg@lazybytes.net>
parents:
8353
diff
changeset
|
322 |
<tr class="parity1"> |
10fd7fb65110
highlight: updated changed test output
Martin Geisler <mg@lazybytes.net>
parents:
8353
diff
changeset
|
323 |
<td class="annotate"> |
10fd7fb65110
highlight: updated changed test output
Martin Geisler <mg@lazybytes.net>
parents:
8353
diff
changeset
|
324 |
<a href="/annotate/7c3facd7c58a/get-with-headers.py#10" |
10fd7fb65110
highlight: updated changed test output
Martin Geisler <mg@lazybytes.net>
parents:
8353
diff
changeset
|
325 |
title="7c3facd7c58a: a">test@0</a> |
10fd7fb65110
highlight: updated changed test output
Martin Geisler <mg@lazybytes.net>
parents:
8353
diff
changeset
|
326 |
</td> |
10fd7fb65110
highlight: updated changed test output
Martin Geisler <mg@lazybytes.net>
parents:
8353
diff
changeset
|
327 |
<td class="source"><a href="#l10" id="l10"> 10</a> <span class="n">msvcrt</span><span class="o">.</span><span class="n">setmode</span><span class="p">(</span><span class="n">sys</span><span class="o">.</span><span class="n">stdout</span><span class="o">.</span><span class="n">fileno</span><span class="p">(),</span> <span class="n">os</span><span class="o">.</span><span class="n">O_BINARY</span><span class="p">)</span></td> |
10fd7fb65110
highlight: updated changed test output
Martin Geisler <mg@lazybytes.net>
parents:
8353
diff
changeset
|
328 |
</tr> |
10fd7fb65110
highlight: updated changed test output
Martin Geisler <mg@lazybytes.net>
parents:
8353
diff
changeset
|
329 |
<tr class="parity0"> |
10fd7fb65110
highlight: updated changed test output
Martin Geisler <mg@lazybytes.net>
parents:
8353
diff
changeset
|
330 |
<td class="annotate"> |
10fd7fb65110
highlight: updated changed test output
Martin Geisler <mg@lazybytes.net>
parents:
8353
diff
changeset
|
331 |
<a href="/annotate/7c3facd7c58a/get-with-headers.py#11" |
10fd7fb65110
highlight: updated changed test output
Martin Geisler <mg@lazybytes.net>
parents:
8353
diff
changeset
|
332 |
title="7c3facd7c58a: a">test@0</a> |
10fd7fb65110
highlight: updated changed test output
Martin Geisler <mg@lazybytes.net>
parents:
8353
diff
changeset
|
333 |
</td> |
10fd7fb65110
highlight: updated changed test output
Martin Geisler <mg@lazybytes.net>
parents:
8353
diff
changeset
|
334 |
<td class="source"><a href="#l11" id="l11"> 11</a> <span class="n">msvcrt</span><span class="o">.</span><span class="n">setmode</span><span class="p">(</span><span class="n">sys</span><span class="o">.</span><span class="n">stderr</span><span class="o">.</span><span class="n">fileno</span><span class="p">(),</span> <span class="n">os</span><span class="o">.</span><span class="n">O_BINARY</span><span class="p">)</span></td> |
10fd7fb65110
highlight: updated changed test output
Martin Geisler <mg@lazybytes.net>
parents:
8353
diff
changeset
|
335 |
</tr> |
10fd7fb65110
highlight: updated changed test output
Martin Geisler <mg@lazybytes.net>
parents:
8353
diff
changeset
|
336 |
<tr class="parity1"> |
10fd7fb65110
highlight: updated changed test output
Martin Geisler <mg@lazybytes.net>
parents:
8353
diff
changeset
|
337 |
<td class="annotate"> |
10fd7fb65110
highlight: updated changed test output
Martin Geisler <mg@lazybytes.net>
parents:
8353
diff
changeset
|
338 |
<a href="/annotate/7c3facd7c58a/get-with-headers.py#12" |
10fd7fb65110
highlight: updated changed test output
Martin Geisler <mg@lazybytes.net>
parents:
8353
diff
changeset
|
339 |
title="7c3facd7c58a: a">test@0</a> |
10fd7fb65110
highlight: updated changed test output
Martin Geisler <mg@lazybytes.net>
parents:
8353
diff
changeset
|
340 |
</td> |
10fd7fb65110
highlight: updated changed test output
Martin Geisler <mg@lazybytes.net>
parents:
8353
diff
changeset
|
341 |
<td class="source"><a href="#l12" id="l12"> 12</a> <span class="kn">except</span> <span class="ne">ImportError</span><span class="p">:</span></td> |
10fd7fb65110
highlight: updated changed test output
Martin Geisler <mg@lazybytes.net>
parents:
8353
diff
changeset
|
342 |
</tr> |
10fd7fb65110
highlight: updated changed test output
Martin Geisler <mg@lazybytes.net>
parents:
8353
diff
changeset
|
343 |
<tr class="parity0"> |
10fd7fb65110
highlight: updated changed test output
Martin Geisler <mg@lazybytes.net>
parents:
8353
diff
changeset
|
344 |
<td class="annotate"> |
10fd7fb65110
highlight: updated changed test output
Martin Geisler <mg@lazybytes.net>
parents:
8353
diff
changeset
|
345 |
<a href="/annotate/7c3facd7c58a/get-with-headers.py#13" |
10fd7fb65110
highlight: updated changed test output
Martin Geisler <mg@lazybytes.net>
parents:
8353
diff
changeset
|
346 |
title="7c3facd7c58a: a">test@0</a> |
10fd7fb65110
highlight: updated changed test output
Martin Geisler <mg@lazybytes.net>
parents:
8353
diff
changeset
|
347 |
</td> |
10fd7fb65110
highlight: updated changed test output
Martin Geisler <mg@lazybytes.net>
parents:
8353
diff
changeset
|
348 |
<td class="source"><a href="#l13" id="l13"> 13</a> <span class="kn">pass</span></td> |
10fd7fb65110
highlight: updated changed test output
Martin Geisler <mg@lazybytes.net>
parents:
8353
diff
changeset
|
349 |
</tr> |
10fd7fb65110
highlight: updated changed test output
Martin Geisler <mg@lazybytes.net>
parents:
8353
diff
changeset
|
350 |
<tr class="parity1"> |
10fd7fb65110
highlight: updated changed test output
Martin Geisler <mg@lazybytes.net>
parents:
8353
diff
changeset
|
351 |
<td class="annotate"> |
10fd7fb65110
highlight: updated changed test output
Martin Geisler <mg@lazybytes.net>
parents:
8353
diff
changeset
|
352 |
<a href="/annotate/7c3facd7c58a/get-with-headers.py#14" |
10fd7fb65110
highlight: updated changed test output
Martin Geisler <mg@lazybytes.net>
parents:
8353
diff
changeset
|
353 |
title="7c3facd7c58a: a">test@0</a> |
10fd7fb65110
highlight: updated changed test output
Martin Geisler <mg@lazybytes.net>
parents:
8353
diff
changeset
|
354 |
</td> |
10fd7fb65110
highlight: updated changed test output
Martin Geisler <mg@lazybytes.net>
parents:
8353
diff
changeset
|
355 |
<td class="source"><a href="#l14" id="l14"> 14</a> </td> |
10fd7fb65110
highlight: updated changed test output
Martin Geisler <mg@lazybytes.net>
parents:
8353
diff
changeset
|
356 |
</tr> |
10fd7fb65110
highlight: updated changed test output
Martin Geisler <mg@lazybytes.net>
parents:
8353
diff
changeset
|
357 |
<tr class="parity0"> |
10fd7fb65110
highlight: updated changed test output
Martin Geisler <mg@lazybytes.net>
parents:
8353
diff
changeset
|
358 |
<td class="annotate"> |
10fd7fb65110
highlight: updated changed test output
Martin Geisler <mg@lazybytes.net>
parents:
8353
diff
changeset
|
359 |
<a href="/annotate/7c3facd7c58a/get-with-headers.py#15" |
10fd7fb65110
highlight: updated changed test output
Martin Geisler <mg@lazybytes.net>
parents:
8353
diff
changeset
|
360 |
title="7c3facd7c58a: a">test@0</a> |
10fd7fb65110
highlight: updated changed test output
Martin Geisler <mg@lazybytes.net>
parents:
8353
diff
changeset
|
361 |
</td> |
10fd7fb65110
highlight: updated changed test output
Martin Geisler <mg@lazybytes.net>
parents:
8353
diff
changeset
|
362 |
<td class="source"><a href="#l15" id="l15"> 15</a> <span class="n">headers</span> <span class="o">=</span> <span class="p">[</span><span class="n">h</span><span class="o">.</span><span class="n">lower</span><span class="p">()</span> <span class="kn">for</span> <span class="n">h</span> <span class="ow">in</span> <span class="n">sys</span><span class="o">.</span><span class="n">argv</span><span class="p">[</span><span class="mf">3</span><span class="p">:]]</span></td> |
10fd7fb65110
highlight: updated changed test output
Martin Geisler <mg@lazybytes.net>
parents:
8353
diff
changeset
|
363 |
</tr> |
10fd7fb65110
highlight: updated changed test output
Martin Geisler <mg@lazybytes.net>
parents:
8353
diff
changeset
|
364 |
<tr class="parity1"> |
10fd7fb65110
highlight: updated changed test output
Martin Geisler <mg@lazybytes.net>
parents:
8353
diff
changeset
|
365 |
<td class="annotate"> |
10fd7fb65110
highlight: updated changed test output
Martin Geisler <mg@lazybytes.net>
parents:
8353
diff
changeset
|
366 |
<a href="/annotate/7c3facd7c58a/get-with-headers.py#16" |
10fd7fb65110
highlight: updated changed test output
Martin Geisler <mg@lazybytes.net>
parents:
8353
diff
changeset
|
367 |
title="7c3facd7c58a: a">test@0</a> |
10fd7fb65110
highlight: updated changed test output
Martin Geisler <mg@lazybytes.net>
parents:
8353
diff
changeset
|
368 |
</td> |
10fd7fb65110
highlight: updated changed test output
Martin Geisler <mg@lazybytes.net>
parents:
8353
diff
changeset
|
369 |
<td class="source"><a href="#l16" id="l16"> 16</a> <span class="n">conn</span> <span class="o">=</span> <span class="n">httplib</span><span class="o">.</span><span class="n">HTTPConnection</span><span class="p">(</span><span class="n">sys</span><span class="o">.</span><span class="n">argv</span><span class="p">[</span><span class="mf">1</span><span class="p">])</span></td> |
10fd7fb65110
highlight: updated changed test output
Martin Geisler <mg@lazybytes.net>
parents:
8353
diff
changeset
|
370 |
</tr> |
10fd7fb65110
highlight: updated changed test output
Martin Geisler <mg@lazybytes.net>
parents:
8353
diff
changeset
|
371 |
<tr class="parity0"> |
10fd7fb65110
highlight: updated changed test output
Martin Geisler <mg@lazybytes.net>
parents:
8353
diff
changeset
|
372 |
<td class="annotate"> |
10fd7fb65110
highlight: updated changed test output
Martin Geisler <mg@lazybytes.net>
parents:
8353
diff
changeset
|
373 |
<a href="/annotate/7c3facd7c58a/get-with-headers.py#17" |
10fd7fb65110
highlight: updated changed test output
Martin Geisler <mg@lazybytes.net>
parents:
8353
diff
changeset
|
374 |
title="7c3facd7c58a: a">test@0</a> |
10fd7fb65110
highlight: updated changed test output
Martin Geisler <mg@lazybytes.net>
parents:
8353
diff
changeset
|
375 |
</td> |
10fd7fb65110
highlight: updated changed test output
Martin Geisler <mg@lazybytes.net>
parents:
8353
diff
changeset
|
376 |
<td class="source"><a href="#l17" id="l17"> 17</a> <span class="n">conn</span><span class="o">.</span><span class="n">request</span><span class="p">(</span><span class="s">"GET"</span><span class="p">,</span> <span class="n">sys</span><span class="o">.</span><span class="n">argv</span><span class="p">[</span><span class="mf">2</span><span class="p">])</span></td> |
10fd7fb65110
highlight: updated changed test output
Martin Geisler <mg@lazybytes.net>
parents:
8353
diff
changeset
|
377 |
</tr> |
10fd7fb65110
highlight: updated changed test output
Martin Geisler <mg@lazybytes.net>
parents:
8353
diff
changeset
|
378 |
<tr class="parity1"> |
10fd7fb65110
highlight: updated changed test output
Martin Geisler <mg@lazybytes.net>
parents:
8353
diff
changeset
|
379 |
<td class="annotate"> |
10fd7fb65110
highlight: updated changed test output
Martin Geisler <mg@lazybytes.net>
parents:
8353
diff
changeset
|
380 |
<a href="/annotate/7c3facd7c58a/get-with-headers.py#18" |
10fd7fb65110
highlight: updated changed test output
Martin Geisler <mg@lazybytes.net>
parents:
8353
diff
changeset
|
381 |
title="7c3facd7c58a: a">test@0</a> |
10fd7fb65110
highlight: updated changed test output
Martin Geisler <mg@lazybytes.net>
parents:
8353
diff
changeset
|
382 |
</td> |
10fd7fb65110
highlight: updated changed test output
Martin Geisler <mg@lazybytes.net>
parents:
8353
diff
changeset
|
383 |
<td class="source"><a href="#l18" id="l18"> 18</a> <span class="n">response</span> <span class="o">=</span> <span class="n">conn</span><span class="o">.</span><span class="n">getresponse</span><span class="p">()</span></td> |
10fd7fb65110
highlight: updated changed test output
Martin Geisler <mg@lazybytes.net>
parents:
8353
diff
changeset
|
384 |
</tr> |
10fd7fb65110
highlight: updated changed test output
Martin Geisler <mg@lazybytes.net>
parents:
8353
diff
changeset
|
385 |
<tr class="parity0"> |
10fd7fb65110
highlight: updated changed test output
Martin Geisler <mg@lazybytes.net>
parents:
8353
diff
changeset
|
386 |
<td class="annotate"> |
10fd7fb65110
highlight: updated changed test output
Martin Geisler <mg@lazybytes.net>
parents:
8353
diff
changeset
|
387 |
<a href="/annotate/7c3facd7c58a/get-with-headers.py#19" |
10fd7fb65110
highlight: updated changed test output
Martin Geisler <mg@lazybytes.net>
parents:
8353
diff
changeset
|
388 |
title="7c3facd7c58a: a">test@0</a> |
10fd7fb65110
highlight: updated changed test output
Martin Geisler <mg@lazybytes.net>
parents:
8353
diff
changeset
|
389 |
</td> |
10fd7fb65110
highlight: updated changed test output
Martin Geisler <mg@lazybytes.net>
parents:
8353
diff
changeset
|
390 |
<td class="source"><a href="#l19" id="l19"> 19</a> <span class="kn">print</span> <span class="n">response</span><span class="o">.</span><span class="n">status</span><span class="p">,</span> <span class="n">response</span><span class="o">.</span><span class="n">reason</span></td> |
10fd7fb65110
highlight: updated changed test output
Martin Geisler <mg@lazybytes.net>
parents:
8353
diff
changeset
|
391 |
</tr> |
10fd7fb65110
highlight: updated changed test output
Martin Geisler <mg@lazybytes.net>
parents:
8353
diff
changeset
|
392 |
<tr class="parity1"> |
10fd7fb65110
highlight: updated changed test output
Martin Geisler <mg@lazybytes.net>
parents:
8353
diff
changeset
|
393 |
<td class="annotate"> |
10fd7fb65110
highlight: updated changed test output
Martin Geisler <mg@lazybytes.net>
parents:
8353
diff
changeset
|
394 |
<a href="/annotate/7c3facd7c58a/get-with-headers.py#20" |
10fd7fb65110
highlight: updated changed test output
Martin Geisler <mg@lazybytes.net>
parents:
8353
diff
changeset
|
395 |
title="7c3facd7c58a: a">test@0</a> |
10fd7fb65110
highlight: updated changed test output
Martin Geisler <mg@lazybytes.net>
parents:
8353
diff
changeset
|
396 |
</td> |
10fd7fb65110
highlight: updated changed test output
Martin Geisler <mg@lazybytes.net>
parents:
8353
diff
changeset
|
397 |
<td class="source"><a href="#l20" id="l20"> 20</a> <span class="kn">for</span> <span class="n">h</span> <span class="ow">in</span> <span class="n">headers</span><span class="p">:</span></td> |
10fd7fb65110
highlight: updated changed test output
Martin Geisler <mg@lazybytes.net>
parents:
8353
diff
changeset
|
398 |
</tr> |
10fd7fb65110
highlight: updated changed test output
Martin Geisler <mg@lazybytes.net>
parents:
8353
diff
changeset
|
399 |
<tr class="parity0"> |
10fd7fb65110
highlight: updated changed test output
Martin Geisler <mg@lazybytes.net>
parents:
8353
diff
changeset
|
400 |
<td class="annotate"> |
10fd7fb65110
highlight: updated changed test output
Martin Geisler <mg@lazybytes.net>
parents:
8353
diff
changeset
|
401 |
<a href="/annotate/7c3facd7c58a/get-with-headers.py#21" |
10fd7fb65110
highlight: updated changed test output
Martin Geisler <mg@lazybytes.net>
parents:
8353
diff
changeset
|
402 |
title="7c3facd7c58a: a">test@0</a> |
10fd7fb65110
highlight: updated changed test output
Martin Geisler <mg@lazybytes.net>
parents:
8353
diff
changeset
|
403 |
</td> |
10fd7fb65110
highlight: updated changed test output
Martin Geisler <mg@lazybytes.net>
parents:
8353
diff
changeset
|
404 |
<td class="source"><a href="#l21" id="l21"> 21</a> <span class="kn">if</span> <span class="n">response</span><span class="o">.</span><span class="n">getheader</span><span class="p">(</span><span class="n">h</span><span class="p">,</span> <span class="bp">None</span><span class="p">)</span> <span class="ow">is</span> <span class="ow">not</span> <span class="bp">None</span><span class="p">:</span></td> |
10fd7fb65110
highlight: updated changed test output
Martin Geisler <mg@lazybytes.net>
parents:
8353
diff
changeset
|
405 |
</tr> |
10fd7fb65110
highlight: updated changed test output
Martin Geisler <mg@lazybytes.net>
parents:
8353
diff
changeset
|
406 |
<tr class="parity1"> |
10fd7fb65110
highlight: updated changed test output
Martin Geisler <mg@lazybytes.net>
parents:
8353
diff
changeset
|
407 |
<td class="annotate"> |
10fd7fb65110
highlight: updated changed test output
Martin Geisler <mg@lazybytes.net>
parents:
8353
diff
changeset
|
408 |
<a href="/annotate/7c3facd7c58a/get-with-headers.py#22" |
10fd7fb65110
highlight: updated changed test output
Martin Geisler <mg@lazybytes.net>
parents:
8353
diff
changeset
|
409 |
title="7c3facd7c58a: a">test@0</a> |
10fd7fb65110
highlight: updated changed test output
Martin Geisler <mg@lazybytes.net>
parents:
8353
diff
changeset
|
410 |
</td> |
10fd7fb65110
highlight: updated changed test output
Martin Geisler <mg@lazybytes.net>
parents:
8353
diff
changeset
|
411 |
<td class="source"><a href="#l22" id="l22"> 22</a> <span class="kn">print</span> <span class="s">"</span><span class="si">%s</span><span class="s">: </span><span class="si">%s</span><span class="s">"</span> <span class="o">%</span> <span class="p">(</span><span class="n">h</span><span class="p">,</span> <span class="n">response</span><span class="o">.</span><span class="n">getheader</span><span class="p">(</span><span class="n">h</span><span class="p">))</span></td> |
10fd7fb65110
highlight: updated changed test output
Martin Geisler <mg@lazybytes.net>
parents:
8353
diff
changeset
|
412 |
</tr> |
10fd7fb65110
highlight: updated changed test output
Martin Geisler <mg@lazybytes.net>
parents:
8353
diff
changeset
|
413 |
<tr class="parity0"> |
10fd7fb65110
highlight: updated changed test output
Martin Geisler <mg@lazybytes.net>
parents:
8353
diff
changeset
|
414 |
<td class="annotate"> |
10fd7fb65110
highlight: updated changed test output
Martin Geisler <mg@lazybytes.net>
parents:
8353
diff
changeset
|
415 |
<a href="/annotate/7c3facd7c58a/get-with-headers.py#23" |
10fd7fb65110
highlight: updated changed test output
Martin Geisler <mg@lazybytes.net>
parents:
8353
diff
changeset
|
416 |
title="7c3facd7c58a: a">test@0</a> |
10fd7fb65110
highlight: updated changed test output
Martin Geisler <mg@lazybytes.net>
parents:
8353
diff
changeset
|
417 |
</td> |
10fd7fb65110
highlight: updated changed test output
Martin Geisler <mg@lazybytes.net>
parents:
8353
diff
changeset
|
418 |
<td class="source"><a href="#l23" id="l23"> 23</a> <span class="kn">print</span></td> |
10fd7fb65110
highlight: updated changed test output
Martin Geisler <mg@lazybytes.net>
parents:
8353
diff
changeset
|
419 |
</tr> |
10fd7fb65110
highlight: updated changed test output
Martin Geisler <mg@lazybytes.net>
parents:
8353
diff
changeset
|
420 |
<tr class="parity1"> |
10fd7fb65110
highlight: updated changed test output
Martin Geisler <mg@lazybytes.net>
parents:
8353
diff
changeset
|
421 |
<td class="annotate"> |
10fd7fb65110
highlight: updated changed test output
Martin Geisler <mg@lazybytes.net>
parents:
8353
diff
changeset
|
422 |
<a href="/annotate/7c3facd7c58a/get-with-headers.py#24" |
10fd7fb65110
highlight: updated changed test output
Martin Geisler <mg@lazybytes.net>
parents:
8353
diff
changeset
|
423 |
title="7c3facd7c58a: a">test@0</a> |
10fd7fb65110
highlight: updated changed test output
Martin Geisler <mg@lazybytes.net>
parents:
8353
diff
changeset
|
424 |
</td> |
10fd7fb65110
highlight: updated changed test output
Martin Geisler <mg@lazybytes.net>
parents:
8353
diff
changeset
|
425 |
<td class="source"><a href="#l24" id="l24"> 24</a> <span class="n">data</span> <span class="o">=</span> <span class="n">response</span><span class="o">.</span><span class="n">read</span><span class="p">()</span></td> |
10fd7fb65110
highlight: updated changed test output
Martin Geisler <mg@lazybytes.net>
parents:
8353
diff
changeset
|
426 |
</tr> |
10fd7fb65110
highlight: updated changed test output
Martin Geisler <mg@lazybytes.net>
parents:
8353
diff
changeset
|
427 |
<tr class="parity0"> |
10fd7fb65110
highlight: updated changed test output
Martin Geisler <mg@lazybytes.net>
parents:
8353
diff
changeset
|
428 |
<td class="annotate"> |
10fd7fb65110
highlight: updated changed test output
Martin Geisler <mg@lazybytes.net>
parents:
8353
diff
changeset
|
429 |
<a href="/annotate/7c3facd7c58a/get-with-headers.py#25" |
10fd7fb65110
highlight: updated changed test output
Martin Geisler <mg@lazybytes.net>
parents:
8353
diff
changeset
|
430 |
title="7c3facd7c58a: a">test@0</a> |
10fd7fb65110
highlight: updated changed test output
Martin Geisler <mg@lazybytes.net>
parents:
8353
diff
changeset
|
431 |
</td> |
10fd7fb65110
highlight: updated changed test output
Martin Geisler <mg@lazybytes.net>
parents:
8353
diff
changeset
|
432 |
<td class="source"><a href="#l25" id="l25"> 25</a> <span class="n">data</span> <span class="o">=</span> <span class="n">re</span><span class="o">.</span><span class="n">sub</span><span class="p">(</span><span class="s">'\d+ years'</span><span class="p">,</span> <span class="s">'many years'</span><span class="p">,</span> <span class="n">data</span><span class="p">)</span></td> |
10fd7fb65110
highlight: updated changed test output
Martin Geisler <mg@lazybytes.net>
parents:
8353
diff
changeset
|
433 |
</tr> |
10fd7fb65110
highlight: updated changed test output
Martin Geisler <mg@lazybytes.net>
parents:
8353
diff
changeset
|
434 |
<tr class="parity1"> |
10fd7fb65110
highlight: updated changed test output
Martin Geisler <mg@lazybytes.net>
parents:
8353
diff
changeset
|
435 |
<td class="annotate"> |
10fd7fb65110
highlight: updated changed test output
Martin Geisler <mg@lazybytes.net>
parents:
8353
diff
changeset
|
436 |
<a href="/annotate/7c3facd7c58a/get-with-headers.py#26" |
10fd7fb65110
highlight: updated changed test output
Martin Geisler <mg@lazybytes.net>
parents:
8353
diff
changeset
|
437 |
title="7c3facd7c58a: a">test@0</a> |
10fd7fb65110
highlight: updated changed test output
Martin Geisler <mg@lazybytes.net>
parents:
8353
diff
changeset
|
438 |
</td> |
10fd7fb65110
highlight: updated changed test output
Martin Geisler <mg@lazybytes.net>
parents:
8353
diff
changeset
|
439 |
<td class="source"><a href="#l26" id="l26"> 26</a> <span class="n">sys</span><span class="o">.</span><span class="n">stdout</span><span class="o">.</span><span class="n">write</span><span class="p">(</span><span class="n">data</span><span class="p">)</span></td> |
10fd7fb65110
highlight: updated changed test output
Martin Geisler <mg@lazybytes.net>
parents:
8353
diff
changeset
|
440 |
</tr> |
10fd7fb65110
highlight: updated changed test output
Martin Geisler <mg@lazybytes.net>
parents:
8353
diff
changeset
|
441 |
<tr class="parity0"> |
10fd7fb65110
highlight: updated changed test output
Martin Geisler <mg@lazybytes.net>
parents:
8353
diff
changeset
|
442 |
<td class="annotate"> |
10fd7fb65110
highlight: updated changed test output
Martin Geisler <mg@lazybytes.net>
parents:
8353
diff
changeset
|
443 |
<a href="/annotate/7c3facd7c58a/get-with-headers.py#27" |
10fd7fb65110
highlight: updated changed test output
Martin Geisler <mg@lazybytes.net>
parents:
8353
diff
changeset
|
444 |
title="7c3facd7c58a: a">test@0</a> |
10fd7fb65110
highlight: updated changed test output
Martin Geisler <mg@lazybytes.net>
parents:
8353
diff
changeset
|
445 |
</td> |
10fd7fb65110
highlight: updated changed test output
Martin Geisler <mg@lazybytes.net>
parents:
8353
diff
changeset
|
446 |
<td class="source"><a href="#l27" id="l27"> 27</a> </td> |
10fd7fb65110
highlight: updated changed test output
Martin Geisler <mg@lazybytes.net>
parents:
8353
diff
changeset
|
447 |
</tr> |
10fd7fb65110
highlight: updated changed test output
Martin Geisler <mg@lazybytes.net>
parents:
8353
diff
changeset
|
448 |
<tr class="parity1"> |
10fd7fb65110
highlight: updated changed test output
Martin Geisler <mg@lazybytes.net>
parents:
8353
diff
changeset
|
449 |
<td class="annotate"> |
10fd7fb65110
highlight: updated changed test output
Martin Geisler <mg@lazybytes.net>
parents:
8353
diff
changeset
|
450 |
<a href="/annotate/7c3facd7c58a/get-with-headers.py#28" |
10fd7fb65110
highlight: updated changed test output
Martin Geisler <mg@lazybytes.net>
parents:
8353
diff
changeset
|
451 |
title="7c3facd7c58a: a">test@0</a> |
10fd7fb65110
highlight: updated changed test output
Martin Geisler <mg@lazybytes.net>
parents:
8353
diff
changeset
|
452 |
</td> |
10fd7fb65110
highlight: updated changed test output
Martin Geisler <mg@lazybytes.net>
parents:
8353
diff
changeset
|
453 |
<td class="source"><a href="#l28" id="l28"> 28</a> <span class="kn">if</span> <span class="mf">200</span> <span class="o"><=</span> <span class="n">response</span><span class="o">.</span><span class="n">status</span> <span class="o"><=</span> <span class="mf">299</span><span class="p">:</span></td> |
10fd7fb65110
highlight: updated changed test output
Martin Geisler <mg@lazybytes.net>
parents:
8353
diff
changeset
|
454 |
</tr> |
10fd7fb65110
highlight: updated changed test output
Martin Geisler <mg@lazybytes.net>
parents:
8353
diff
changeset
|
455 |
<tr class="parity0"> |
10fd7fb65110
highlight: updated changed test output
Martin Geisler <mg@lazybytes.net>
parents:
8353
diff
changeset
|
456 |
<td class="annotate"> |
10fd7fb65110
highlight: updated changed test output
Martin Geisler <mg@lazybytes.net>
parents:
8353
diff
changeset
|
457 |
<a href="/annotate/7c3facd7c58a/get-with-headers.py#29" |
10fd7fb65110
highlight: updated changed test output
Martin Geisler <mg@lazybytes.net>
parents:
8353
diff
changeset
|
458 |
title="7c3facd7c58a: a">test@0</a> |
10fd7fb65110
highlight: updated changed test output
Martin Geisler <mg@lazybytes.net>
parents:
8353
diff
changeset
|
459 |
</td> |
10fd7fb65110
highlight: updated changed test output
Martin Geisler <mg@lazybytes.net>
parents:
8353
diff
changeset
|
460 |
<td class="source"><a href="#l29" id="l29"> 29</a> <span class="n">sys</span><span class="o">.</span><span class="n">exit</span><span class="p">(</span><span class="mf">0</span><span class="p">)</span></td> |
10fd7fb65110
highlight: updated changed test output
Martin Geisler <mg@lazybytes.net>
parents:
8353
diff
changeset
|
461 |
</tr> |
10fd7fb65110
highlight: updated changed test output
Martin Geisler <mg@lazybytes.net>
parents:
8353
diff
changeset
|
462 |
<tr class="parity1"> |
10fd7fb65110
highlight: updated changed test output
Martin Geisler <mg@lazybytes.net>
parents:
8353
diff
changeset
|
463 |
<td class="annotate"> |
10fd7fb65110
highlight: updated changed test output
Martin Geisler <mg@lazybytes.net>
parents:
8353
diff
changeset
|
464 |
<a href="/annotate/7c3facd7c58a/get-with-headers.py#30" |
10fd7fb65110
highlight: updated changed test output
Martin Geisler <mg@lazybytes.net>
parents:
8353
diff
changeset
|
465 |
title="7c3facd7c58a: a">test@0</a> |
10fd7fb65110
highlight: updated changed test output
Martin Geisler <mg@lazybytes.net>
parents:
8353
diff
changeset
|
466 |
</td> |
10fd7fb65110
highlight: updated changed test output
Martin Geisler <mg@lazybytes.net>
parents:
8353
diff
changeset
|
467 |
<td class="source"><a href="#l30" id="l30"> 30</a> <span class="n">sys</span><span class="o">.</span><span class="n">exit</span><span class="p">(</span><span class="mf">1</span><span class="p">)</span></td> |
10fd7fb65110
highlight: updated changed test output
Martin Geisler <mg@lazybytes.net>
parents:
8353
diff
changeset
|
468 |
</tr> |
6355
3b841c189ab7
tests: add highlight extension tests
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents:
diff
changeset
|
469 |
</table> |
7339
d11473955d30
hgweb: update tests for paper style
Matt Mackall <mpm@selenic.com>
parents:
7120
diff
changeset
|
470 |
</div> |
d11473955d30
hgweb: update tests for paper style
Matt Mackall <mpm@selenic.com>
parents:
7120
diff
changeset
|
471 |
</div> |
d11473955d30
hgweb: update tests for paper style
Matt Mackall <mpm@selenic.com>
parents:
7120
diff
changeset
|
472 |
</div> |
6355
3b841c189ab7
tests: add highlight extension tests
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents:
diff
changeset
|
473 |
|
3b841c189ab7
tests: add highlight extension tests
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents:
diff
changeset
|
474 |
|
3b841c189ab7
tests: add highlight extension tests
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents:
diff
changeset
|
475 |
|
3b841c189ab7
tests: add highlight extension tests
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents:
diff
changeset
|
476 |
</body> |
3b841c189ab7
tests: add highlight extension tests
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents:
diff
changeset
|
477 |
</html> |
3b841c189ab7
tests: add highlight extension tests
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents:
diff
changeset
|
478 |
|
6987
d09e813b21e3
highlight: only pygmentize for HTML mimetypes
Rocco Rutte <pdmef@gmx.net>
parents:
6907
diff
changeset
|
479 |
% hgweb fileannotate, raw |
d09e813b21e3
highlight: only pygmentize for HTML mimetypes
Rocco Rutte <pdmef@gmx.net>
parents:
6907
diff
changeset
|
480 |
|
d09e813b21e3
highlight: only pygmentize for HTML mimetypes
Rocco Rutte <pdmef@gmx.net>
parents:
6907
diff
changeset
|
481 |
% hgweb filerevision, raw |
d09e813b21e3
highlight: only pygmentize for HTML mimetypes
Rocco Rutte <pdmef@gmx.net>
parents:
6907
diff
changeset
|
482 |
|
6485
938319418d8c
highlight: Generate pygments style sheet dynamically
Isaac Jurado <diptongo@gmail.com>
parents:
6355
diff
changeset
|
483 |
% hgweb highlightcss friendly |
938319418d8c
highlight: Generate pygments style sheet dynamically
Isaac Jurado <diptongo@gmail.com>
parents:
6355
diff
changeset
|
484 |
200 Script output follows |
938319418d8c
highlight: Generate pygments style sheet dynamically
Isaac Jurado <diptongo@gmail.com>
parents:
6355
diff
changeset
|
485 |
|
938319418d8c
highlight: Generate pygments style sheet dynamically
Isaac Jurado <diptongo@gmail.com>
parents:
6355
diff
changeset
|
486 |
/* pygments_style = friendly */ |
938319418d8c
highlight: Generate pygments style sheet dynamically
Isaac Jurado <diptongo@gmail.com>
parents:
6355
diff
changeset
|
487 |
|
6355
3b841c189ab7
tests: add highlight extension tests
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents:
diff
changeset
|
488 |
% errors encountered |
6485
938319418d8c
highlight: Generate pygments style sheet dynamically
Isaac Jurado <diptongo@gmail.com>
parents:
6355
diff
changeset
|
489 |
% hg serve again |
938319418d8c
highlight: Generate pygments style sheet dynamically
Isaac Jurado <diptongo@gmail.com>
parents:
6355
diff
changeset
|
490 |
% hgweb highlightcss fruity |
938319418d8c
highlight: Generate pygments style sheet dynamically
Isaac Jurado <diptongo@gmail.com>
parents:
6355
diff
changeset
|
491 |
200 Script output follows |
938319418d8c
highlight: Generate pygments style sheet dynamically
Isaac Jurado <diptongo@gmail.com>
parents:
6355
diff
changeset
|
492 |
|
938319418d8c
highlight: Generate pygments style sheet dynamically
Isaac Jurado <diptongo@gmail.com>
parents:
6355
diff
changeset
|
493 |
/* pygments_style = fruity */ |
938319418d8c
highlight: Generate pygments style sheet dynamically
Isaac Jurado <diptongo@gmail.com>
parents:
6355
diff
changeset
|
494 |
|
938319418d8c
highlight: Generate pygments style sheet dynamically
Isaac Jurado <diptongo@gmail.com>
parents:
6355
diff
changeset
|
495 |
% errors encountered |