view tests/test-convert-svn.out @ 5369:7530334bf301

revlog: generate trivial deltas against null revision To avoid extra memory usage and performance issues with large files, generate a trivial delta header for deltas against the null revision rather than calling the usual delta generator. We append the delta header to meta rather than prepending it to data to avoid a large allocate and copy.
author Matt Mackall <mpm@selenic.com>
date Wed, 03 Oct 2007 17:17:27 -0500
parents 37c610c41ed6
children d7d395fb7cd5
line wrap: on
line source

% initial svn import
Adding         t/a

Committed revision 1.
% update svn repository
A    t2/a
Checked out revision 1.
A         b
Sending        a
Adding         b
Transmitting file data ..
Committed revision 2.
% convert to hg once
assuming destination trunk-hg
initializing destination trunk-hg repository
scanning source...
sorting...
converting...
1 init
0 changea
% update svn repository again
Sending        a
Sending        b
Transmitting file data ..
Committed revision 3.
% test incremental conversion
assuming destination trunk-hg
destination trunk-hg is a Mercurial repository
scanning source...
sorting...
converting...
0 changeb