Mercurial > hg
view tests/test-hgwebdir.out @ 5811:180a3eee4b75
Fix copies reporting in log and convert.
If copy logged in file revision, we report copy for changeset only
if file revisions linkrev points back to the changeset in question
or both changeset parents contain different file revisions.
This fixes extra copies reported when executable bit was changed for
previously copied file.
author | Maxim Dounin <mdounin@mdounin.ru> |
---|---|
date | Sat, 29 Dec 2007 17:11:48 +0300 |
parents | 8279cb841467 |
children | 2c370f08c486 |
line wrap: on
line source
adding a adding b adding c % should give a 404 - file does not exist 404 Not Found error: Path not found: bork/ % should succeed 200 Script output follows /a/ /b/ 200 Script output follows a 200 Script output follows b % should give a 404 - repo is not published 404 Not Found error: repository c not found % should succeed, slashy names 200 Script output follows /b/ /t/a/ 200 Script output follows /t/a/ 200 Script output follows /t/a/ 200 Script output follows <?xml version="1.0" encoding="ascii"?> <feed xmlns="http://127.0.0.1/2005/Atom"> <!-- Changelog --> <id>http://127.0.0.1/t/a/</id> <link rel="self" href="http://127.0.0.1/t/a/atom-log"/> <link rel="alternate" href="http://127.0.0.1/t/a/"/> <title>t/a Changelog</title> <updated>1970-01-01T00:00:01+00:00</updated> <entry> <title>a</title> <id>http://127.0.0.1/mercurial/#changeset-8580ff50825a50c8f716709acdf8de0deddcd6ab</id> <link href="http://127.0.0.1/t/a/rev/8580ff50825a50c8f716709acdf8de0deddcd6ab"/> <author> <name>test</name> <email>test</email> </author> <updated>1970-01-01T00:00:01+00:00</updated> <published>1970-01-01T00:00:01+00:00</published> <content type="xhtml"> <div xmlns="http://127.0.0.1/1999/xhtml"> <pre xml:space="preserve">a</pre> </div> </content> </entry> </feed> 200 Script output follows <?xml version="1.0" encoding="ascii"?> <feed xmlns="http://127.0.0.1/2005/Atom"> <!-- Changelog --> <id>http://127.0.0.1/t/a/</id> <link rel="self" href="http://127.0.0.1/t/a/atom-log"/> <link rel="alternate" href="http://127.0.0.1/t/a/"/> <title>t/a Changelog</title> <updated>1970-01-01T00:00:01+00:00</updated> <entry> <title>a</title> <id>http://127.0.0.1/mercurial/#changeset-8580ff50825a50c8f716709acdf8de0deddcd6ab</id> <link href="http://127.0.0.1/t/a/rev/8580ff50825a50c8f716709acdf8de0deddcd6ab"/> <author> <name>test</name> <email>test</email> </author> <updated>1970-01-01T00:00:01+00:00</updated> <published>1970-01-01T00:00:01+00:00</published> <content type="xhtml"> <div xmlns="http://127.0.0.1/1999/xhtml"> <pre xml:space="preserve">a</pre> </div> </content> </entry> </feed> 200 Script output follows a % should succeed 200 Script output follows /a/ /b/ /c/ 200 Script output follows a 200 Script output follows b 200 Script output follows c % paths errors 1 % paths errors 2 % collections errors