##// END OF EJS Templates
audit: reject paths with .hg (issue 1450)...
audit: reject paths with .hg (issue 1450) Spotted by Peter Arrenbrecht

File last commit:

r7544:c5e37dc3 default
r7553:71be8688 default
Show More
test-hgweb-filelog.out
438 lines | 10.6 KiB | text/plain | TextLexer
/ tests / test-hgweb-filelog.out
Dirkjan Ochtman
hgweb: conditionally show file logs for deleted files
r7300 adding b
adding a
adding a
changeset: 4:52e848cdcd88
tag: tip
user: test
date: Thu Jan 01 00:00:00 1970 +0000
summary: del2 a
diff -r 01de2d66a28d -r 52e848cdcd88 a
--- a/a Thu Jan 01 00:00:00 1970 +0000
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,1 +0,0 @@
-b
changeset: 3:01de2d66a28d
user: test
date: Thu Jan 01 00:00:00 1970 +0000
summary: second a
diff -r be3ebcc91739 -r 01de2d66a28d a
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/a Thu Jan 01 00:00:00 1970 +0000
@@ -0,0 +1,1 @@
+b
changeset: 2:be3ebcc91739
user: test
date: Thu Jan 01 00:00:00 1970 +0000
summary: del a
diff -r 5ed941583260 -r be3ebcc91739 a
--- a/a Thu Jan 01 00:00:00 1970 +0000
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,1 +0,0 @@
-a
changeset: 1:5ed941583260
user: test
date: Thu Jan 01 00:00:00 1970 +0000
summary: first a
diff -r 6563da9dcf87 -r 5ed941583260 a
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/a Thu Jan 01 00:00:00 1970 +0000
@@ -0,0 +1,1 @@
+a
changeset: 0:6563da9dcf87
user: test
date: Thu Jan 01 00:00:00 1970 +0000
summary: b
diff -r 000000000000 -r 6563da9dcf87 b
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/b Thu Jan 01 00:00:00 1970 +0000
@@ -0,0 +1,1 @@
+b
% tip - two revisions
200 Script output follows
Matt Mackall
hgweb: update tests for paper style...
r7339 <!-- quirksmode -->
Dirkjan Ochtman
hgweb: conditionally show file logs for deleted files
r7300 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<link rel="icon" href="/static/hgicon.png" type="image/png">
<meta name="robots" content="index, nofollow" />
Matt Mackall
hgweb: update tests for paper style...
r7339 <link rel="stylesheet" href="/static/style-paper.css" type="text/css" />
Dirkjan Ochtman
hgweb: conditionally show file logs for deleted files
r7300
<title>test: a history</title>
<link rel="alternate" type="application/atom+xml"
href="/atom-log/tip/a" title="Atom feed for test:a">
<link rel="alternate" type="application/rss+xml"
href="/rss-log/tip/a" title="RSS feed for test:a">
</head>
<body>
Matt Mackall
hgweb: update tests for paper style...
r7339 <div class="container">
<div class="menu">
Dirkjan Ochtman
hgweb: conditionally show file logs for deleted files
r7300 <div class="logo">
<a href="http://www.selenic.com/mercurial/">
<img src="/static/hglogo.png" width=75 height=90 border=0 alt="mercurial"></a>
</div>
Matt Mackall
hgweb: update tests for paper style...
r7339 <ul>
<li><a href="/shortlog/01de2d66a28d">log</a></li>
<li><a href="/graph/01de2d66a28d">graph</a></li>
<li><a href="/tags">tags</a></li>
</ul>
<ul>
<li><a href="/rev/01de2d66a28d">changeset</a></li>
<li><a href="/file/01de2d66a28d">browse</a></li>
</ul>
<ul>
<li><a href="/file/01de2d66a28d/a">file</a></li>
<li><a href="/diff/01de2d66a28d/a">diff</a></li>
<li><a href="/annotate/01de2d66a28d/a">annotate</a></li>
<li class="active">file log</li>
<li><a href="/raw-file/01de2d66a28d/a">raw</a></li>
</ul>
</div>
<div class="main">
<h2><a href="/">test</a></h2>
<h3>log a</h3>
<form class="search" action="/log">
<p><input name="rev" id="search1" type="text" size="30"></p>
Dirkjan Ochtman
tests: fix test failures from default/template changes
r7347 <span>find changesets by author, revision,
Matt Mackall
hgweb: update tests for paper style...
r7339 files, or words in the commit message</span>
</form>
<div class="navigate"><a href="/log/5ed941583260/a">(0)</a> <a href="/log/tip/a">tip</a> </div>
<table class="bigtable">
Dirkjan Ochtman
tests: fix test failures from default/template changes
r7347 <tr>
Matt Mackall
hgweb: update tests for paper style...
r7339 <th class="age">age</th>
<th class="author">author</th>
<th class="description">description</th>
</tr>
<tr class="parity0">
Gilles Moris
test-hgweb-*: replace "XX years ago" by a fixed string in get-with-headers.py...
r7544 <td class="age">many years</td>
Matt Mackall
hgweb: update tests for paper style...
r7339 <td class="author">test</td>
<td class="description"><a href="/rev/01de2d66a28d">second a</a></td>
</tr>
<tr class="parity1">
Gilles Moris
test-hgweb-*: replace "XX years ago" by a fixed string in get-with-headers.py...
r7544 <td class="age">many years</td>
Matt Mackall
hgweb: update tests for paper style...
r7339 <td class="author">test</td>
<td class="description"><a href="/rev/5ed941583260">first a</a></td>
</tr>
</table>
</div>
</div>
Dirkjan Ochtman
hgweb: conditionally show file logs for deleted files
r7300
</body>
</html>
% second version - two revisions
200 Script output follows
Matt Mackall
hgweb: update tests for paper style...
r7339 <!-- quirksmode -->
Dirkjan Ochtman
hgweb: conditionally show file logs for deleted files
r7300 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<link rel="icon" href="/static/hgicon.png" type="image/png">
<meta name="robots" content="index, nofollow" />
Matt Mackall
hgweb: update tests for paper style...
r7339 <link rel="stylesheet" href="/static/style-paper.css" type="text/css" />
<title>test: a history</title>
<link rel="alternate" type="application/atom+xml"
href="/atom-log/tip/a" title="Atom feed for test:a">
<link rel="alternate" type="application/rss+xml"
href="/rss-log/tip/a" title="RSS feed for test:a">
</head>
<body>
<div class="container">
<div class="menu">
<div class="logo">
<a href="http://www.selenic.com/mercurial/">
<img src="/static/hglogo.png" width=75 height=90 border=0 alt="mercurial"></a>
</div>
<ul>
<li><a href="/shortlog/01de2d66a28d">log</a></li>
<li><a href="/graph/01de2d66a28d">graph</a></li>
<li><a href="/tags">tags</a></li>
</ul>
<ul>
<li><a href="/rev/01de2d66a28d">changeset</a></li>
<li><a href="/file/01de2d66a28d">browse</a></li>
</ul>
<ul>
<li><a href="/file/01de2d66a28d/a">file</a></li>
<li><a href="/diff/01de2d66a28d/a">diff</a></li>
<li><a href="/annotate/01de2d66a28d/a">annotate</a></li>
<li class="active">file log</li>
<li><a href="/raw-file/01de2d66a28d/a">raw</a></li>
</ul>
</div>
<div class="main">
<h2><a href="/">test</a></h2>
<h3>log a</h3>
<form class="search" action="/log">
<p><input name="rev" id="search1" type="text" size="30"></p>
Dirkjan Ochtman
tests: fix test failures from default/template changes
r7347 <span>find changesets by author, revision,
Matt Mackall
hgweb: update tests for paper style...
r7339 files, or words in the commit message</span>
</form>
<div class="navigate"><a href="/log/5ed941583260/a">(0)</a> <a href="/log/tip/a">tip</a> </div>
<table class="bigtable">
Dirkjan Ochtman
tests: fix test failures from default/template changes
r7347 <tr>
Matt Mackall
hgweb: update tests for paper style...
r7339 <th class="age">age</th>
<th class="author">author</th>
<th class="description">description</th>
</tr>
<tr class="parity0">
Gilles Moris
test-hgweb-*: replace "XX years ago" by a fixed string in get-with-headers.py...
r7544 <td class="age">many years</td>
Matt Mackall
hgweb: update tests for paper style...
r7339 <td class="author">test</td>
<td class="description"><a href="/rev/01de2d66a28d">second a</a></td>
</tr>
<tr class="parity1">
Gilles Moris
test-hgweb-*: replace "XX years ago" by a fixed string in get-with-headers.py...
r7544 <td class="age">many years</td>
Matt Mackall
hgweb: update tests for paper style...
r7339 <td class="author">test</td>
<td class="description"><a href="/rev/5ed941583260">first a</a></td>
</tr>
</table>
</div>
</div>
</body>
</html>
% first deleted - one revision
200 Script output follows
<!-- quirksmode -->
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<link rel="icon" href="/static/hgicon.png" type="image/png">
<meta name="robots" content="index, nofollow" />
<link rel="stylesheet" href="/static/style-paper.css" type="text/css" />
Dirkjan Ochtman
hgweb: conditionally show file logs for deleted files
r7300
<title>test: a history</title>
<link rel="alternate" type="application/atom+xml"
href="/atom-log/tip/a" title="Atom feed for test:a">
<link rel="alternate" type="application/rss+xml"
href="/rss-log/tip/a" title="RSS feed for test:a">
</head>
<body>
Matt Mackall
hgweb: update tests for paper style...
r7339 <div class="container">
<div class="menu">
Dirkjan Ochtman
hgweb: conditionally show file logs for deleted files
r7300 <div class="logo">
<a href="http://www.selenic.com/mercurial/">
<img src="/static/hglogo.png" width=75 height=90 border=0 alt="mercurial"></a>
</div>
Matt Mackall
hgweb: update tests for paper style...
r7339 <ul>
<li><a href="/shortlog/5ed941583260">log</a></li>
<li><a href="/graph/5ed941583260">graph</a></li>
<li><a href="/tags">tags</a></li>
</ul>
<ul>
<li><a href="/rev/5ed941583260">changeset</a></li>
<li><a href="/file/5ed941583260">browse</a></li>
</ul>
<ul>
<li><a href="/file/5ed941583260/a">file</a></li>
<li><a href="/diff/5ed941583260/a">diff</a></li>
<li><a href="/annotate/5ed941583260/a">annotate</a></li>
<li class="active">file log</li>
<li><a href="/raw-file/5ed941583260/a">raw</a></li>
</ul>
</div>
<div class="main">
<h2><a href="/">test</a></h2>
<h3>log a</h3>
<form class="search" action="/log">
<p><input name="rev" id="search1" type="text" size="30"></p>
Dirkjan Ochtman
tests: fix test failures from default/template changes
r7347 <span>find changesets by author, revision,
Matt Mackall
hgweb: update tests for paper style...
r7339 files, or words in the commit message</span>
</form>
<div class="navigate"><a href="/log/5ed941583260/a">(0)</a> <a href="/log/tip/a">tip</a> </div>
<table class="bigtable">
Dirkjan Ochtman
tests: fix test failures from default/template changes
r7347 <tr>
Matt Mackall
hgweb: update tests for paper style...
r7339 <th class="age">age</th>
<th class="author">author</th>
<th class="description">description</th>
</tr>
<tr class="parity0">
Gilles Moris
test-hgweb-*: replace "XX years ago" by a fixed string in get-with-headers.py...
r7544 <td class="age">many years</td>
Matt Mackall
hgweb: update tests for paper style...
r7339 <td class="author">test</td>
<td class="description"><a href="/rev/5ed941583260">first a</a></td>
</tr>
</table>
</div>
</div>
Dirkjan Ochtman
hgweb: conditionally show file logs for deleted files
r7300
</body>
</html>
Matt Mackall
hgweb: update tests for paper style...
r7339 % first version - one revision
Dirkjan Ochtman
hgweb: conditionally show file logs for deleted files
r7300 200 Script output follows
Matt Mackall
hgweb: update tests for paper style...
r7339 <!-- quirksmode -->
Dirkjan Ochtman
hgweb: conditionally show file logs for deleted files
r7300 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<link rel="icon" href="/static/hgicon.png" type="image/png">
<meta name="robots" content="index, nofollow" />
Matt Mackall
hgweb: update tests for paper style...
r7339 <link rel="stylesheet" href="/static/style-paper.css" type="text/css" />
Dirkjan Ochtman
hgweb: conditionally show file logs for deleted files
r7300
<title>test: a history</title>
<link rel="alternate" type="application/atom+xml"
href="/atom-log/tip/a" title="Atom feed for test:a">
<link rel="alternate" type="application/rss+xml"
href="/rss-log/tip/a" title="RSS feed for test:a">
</head>
<body>
Matt Mackall
hgweb: update tests for paper style...
r7339 <div class="container">
<div class="menu">
Dirkjan Ochtman
hgweb: conditionally show file logs for deleted files
r7300 <div class="logo">
<a href="http://www.selenic.com/mercurial/">
<img src="/static/hglogo.png" width=75 height=90 border=0 alt="mercurial"></a>
</div>
Matt Mackall
hgweb: update tests for paper style...
r7339 <ul>
<li><a href="/shortlog/5ed941583260">log</a></li>
<li><a href="/graph/5ed941583260">graph</a></li>
<li><a href="/tags">tags</a></li>
</ul>
<ul>
<li><a href="/rev/5ed941583260">changeset</a></li>
<li><a href="/file/5ed941583260">browse</a></li>
</ul>
<ul>
<li><a href="/file/5ed941583260/a">file</a></li>
<li><a href="/diff/5ed941583260/a">diff</a></li>
<li><a href="/annotate/5ed941583260/a">annotate</a></li>
<li class="active">file log</li>
<li><a href="/raw-file/5ed941583260/a">raw</a></li>
</ul>
Dirkjan Ochtman
hgweb: conditionally show file logs for deleted files
r7300 </div>
Matt Mackall
hgweb: update tests for paper style...
r7339 <div class="main">
<h2><a href="/">test</a></h2>
<h3>log a</h3>
Dirkjan Ochtman
hgweb: conditionally show file logs for deleted files
r7300
Matt Mackall
hgweb: update tests for paper style...
r7339 <form class="search" action="/log">
Dirkjan Ochtman
hgweb: conditionally show file logs for deleted files
r7300
Matt Mackall
hgweb: update tests for paper style...
r7339 <p><input name="rev" id="search1" type="text" size="30"></p>
Dirkjan Ochtman
tests: fix test failures from default/template changes
r7347 <span>find changesets by author, revision,
Matt Mackall
hgweb: update tests for paper style...
r7339 files, or words in the commit message</span>
</form>
<div class="navigate"><a href="/log/5ed941583260/a">(0)</a> <a href="/log/tip/a">tip</a> </div>
<table class="bigtable">
Dirkjan Ochtman
tests: fix test failures from default/template changes
r7347 <tr>
Matt Mackall
hgweb: update tests for paper style...
r7339 <th class="age">age</th>
<th class="author">author</th>
<th class="description">description</th>
Dirkjan Ochtman
hgweb: conditionally show file logs for deleted files
r7300 </tr>
Matt Mackall
hgweb: update tests for paper style...
r7339 <tr class="parity0">
Gilles Moris
test-hgweb-*: replace "XX years ago" by a fixed string in get-with-headers.py...
r7544 <td class="age">many years</td>
Matt Mackall
hgweb: update tests for paper style...
r7339 <td class="author">test</td>
<td class="description"><a href="/rev/5ed941583260">first a</a></td>
Dirkjan Ochtman
hgweb: conditionally show file logs for deleted files
r7300 </tr>
Matt Mackall
hgweb: update tests for paper style...
r7339
Dirkjan Ochtman
hgweb: conditionally show file logs for deleted files
r7300 </table>
Matt Mackall
hgweb: update tests for paper style...
r7339 </div>
</div>
Dirkjan Ochtman
hgweb: conditionally show file logs for deleted files
r7300
</body>
</html>
% before addition - error
404 Not Found
Matt Mackall
hgweb: update tests for paper style...
r7339 <!-- quirksmode -->
Dirkjan Ochtman
hgweb: conditionally show file logs for deleted files
r7300 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<link rel="icon" href="/static/hgicon.png" type="image/png">
<meta name="robots" content="index, nofollow" />
Matt Mackall
hgweb: update tests for paper style...
r7339 <link rel="stylesheet" href="/static/style-paper.css" type="text/css" />
Dirkjan Ochtman
hgweb: conditionally show file logs for deleted files
r7300
Matt Mackall
hgweb: update tests for paper style...
r7339 <title>test: error</title>
Dirkjan Ochtman
hgweb: conditionally show file logs for deleted files
r7300 </head>
<body>
Matt Mackall
hgweb: update tests for paper style...
r7339 <div class="container">
<div class="menu">
<div class="logo">
<a href="http://www.selenic.com/mercurial/">
<img src="/static/hglogo.png" width=75 height=90 border=0 alt="mercurial"></a>
</div>
<ul>
Dirkjan Ochtman
coal/paper: link to shortlog instead of log from error pages
r7412 <li><a href="/shortlog">log</a></li>
Matt Mackall
hgweb: update tests for paper style...
r7339 <li><a href="/graph">graph</a></li>
<li><a href="/tags">tags</a></li>
</ul>
</div>
Dirkjan Ochtman
hgweb: conditionally show file logs for deleted files
r7300
Matt Mackall
hgweb: update tests for paper style...
r7339 <div class="main">
<h2><a href="/">test</a></h2>
<h3>error</h3>
<form class="search" action="/log">
<p><input name="rev" id="search1" type="text" size="30"></p>
Dirkjan Ochtman
tests: fix test failures from default/template changes
r7347 <span>find changesets by author, revision,
Matt Mackall
hgweb: update tests for paper style...
r7339 files, or words in the commit message</span>
</form>
<div class="description">
Dirkjan Ochtman
hgweb: conditionally show file logs for deleted files
r7300 <p>
An error occurred while processing your request:
</p>
<p>
a@6563da9dcf87: not found in manifest
</p>
Matt Mackall
hgweb: update tests for paper style...
r7339 </div>
</div>
</div>
Dirkjan Ochtman
hgweb: conditionally show file logs for deleted files
r7300
</body>
</html>
% errors