##// END OF EJS Templates
patch: support diff data loss detection and upgrade...
patch: support diff data loss detection and upgrade In worst case, generating diff in upgrade mode can be two times more expensive than generating it in git mode directly: we may have to regenerate the whole diff again whenever a git feature is detected. Also, the first diff attempt is completely buffered instead of being streamed. That said, even without having profiled it yet, I am convinced we can fast-path the upgrade mode if necessary were it to be used in regular diff commands, and not only in mq where avoiding data loss is worth the price.

File last commit:

r9581:3b930325 default
r10189:e451e599 default
Show More
test-hgweb-no-path-info.out
48 lines | 1.2 KiB | text/plain | TextLexer
/ tests / test-hgweb-no-path-info.out
Dirkjan Ochtman
hgweb: make hgwebdir work in the absence of PATH_INFO...
r6459 changeset: 0:4cbec7e6f8c4
tag: tip
user: Testing
date: Thu Jan 01 00:00:00 1970 +0000
summary: test
---- HEADERS
200 Script output follows
---- DATA
[('Content-Type', 'application/atom+xml; charset=ascii')]
<?xml version="1.0" encoding="ascii"?>
<feed xmlns="http://www.w3.org/2005/Atom">
<!-- Changelog -->
<id>http://127.0.0.1/</id>
<link rel="self" href="http://127.0.0.1/atom-log"/>
<link rel="alternate" href="http://127.0.0.1/"/>
<title>repo Changelog</title>
<updated>1970-01-01T00:00:00+00:00</updated>
<entry>
<title>test</title>
Matt Mackall
atom: fix URLs used in entry GUIDs
r7849 <id>http://127.0.0.1/#changeset-4cbec7e6f8c42eb52b6b52670e1f7560ae9a101e</id>
Raoul Bhatia [IPAX]
use short identifiers in atom feed
r9581 <link href="http://127.0.0.1/rev/4cbec7e6f8c4"/>
Dirkjan Ochtman
hgweb: make hgwebdir work in the absence of PATH_INFO...
r6459 <author>
<name>Testing</name>
<email>&#84;&#101;&#115;&#116;&#105;&#110;&#103;</email>
</author>
<updated>1970-01-01T00:00:00+00:00</updated>
<published>1970-01-01T00:00:00+00:00</published>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre xml:space="preserve">test</pre>
</div>
</content>
</entry>
</feed>
---- ERRORS
---- HEADERS
200 Script output follows
---- DATA
[('Content-Type', 'text/plain; charset=ascii')]
repo/
---- ERRORS