sapling/tests/svn
Patrick Mezard 6067403d0d convert/svn: do not try converting empty head revisions (issue3347)
Subversion conversion works by picking trunk and branches heads, computing a
revision graph from them and converting the selected commits. By design we fail
to convert empty revisions so we have to be careful when discovering the
revision graph. In this particular issue, the source svn repository was a
partial mirror made by svnsync. The funny part is svnsync preserves all
revisions including empty ones. Also, we trusted ra.stat(path,
stop).created_rev to give us the latest revision with changes in path history
up to stop. This assumption broke at least when path is '', that is the
repository root, which always returned 'stop' revision despited being empty.

The workaround is to first trust ra.stat() but if the returned revision appear
empty, search the whole path history from stop to r1 until some changes are
found.
2012-04-18 14:04:58 +02:00
..
branches.svndump Merge with crew-stable 2010-05-19 22:32:40 +02:00
empty.svndump convert/svn: do not try converting empty head revisions (issue3347) 2012-04-18 14:04:58 +02:00
encoding.svndump convert/svn: test svn tags encoding 2009-06-21 23:17:05 +02:00
move.svndump test-convert-svn-move: test moved dirs copy records 2010-05-09 19:11:02 +02:00
replace.svndump convert/svn: fix changed files list upon directory replacements 2010-11-29 20:13:11 +01:00
startrev.svndump Rewrite svn tests using svndump 2008-12-06 20:07:44 +01:00
svndump-branches.sh convert/svn: remove useless try/catch 2010-05-19 22:04:41 +02:00
svndump-empty.sh convert/svn: do not try converting empty head revisions (issue3347) 2012-04-18 14:04:58 +02:00
svndump-encoding.sh convert/svn: test svn tags encoding 2009-06-21 23:17:05 +02:00
svndump-move.sh test-convert-svn-move: test moved dirs copy records 2010-05-09 19:11:02 +02:00
svndump-replace.sh convert/svn: fix changed files list upon directory replacements 2010-11-29 20:13:11 +01:00
svndump-startrev.sh Rewrite svn tests using svndump 2008-12-06 20:07:44 +01:00
svndump-tags.sh convert/svn: keep latest and not oldest tag value 2009-04-29 21:44:25 +02:00
tags.svndump convert/svn: keep latest and not oldest tag value 2009-04-29 21:44:25 +02:00