##// END OF EJS Templates
Do not use osutil.c with python 2.4 and Windows (issue1364)...
Do not use osutil.c with python 2.4 and Windows (issue1364) Windows python 2.4 os.stat() reports times including DST offset, while osutil.c reports the correct value, which makes status() systematically compare files content. This bug is fixed in python 2.5. Using osutil.py instead of osutil.c is 4x times slower on large repositories but current code is completely unusable. Given few people are likely to use python 2.4 on Windows this solution was considered a good trade-off compared to more invasive solutions trying to address the offset issue.

File last commit:

r10051:a02d43ac stable
r10521:bde1bb25 stable
Show More
test-convert-hg-svn.out
38 lines | 710 B | text/plain | TextLexer
/ tests / test-convert-hg-svn.out
Bryan O'Sullivan
convert: tell the source repository when a rev has been converted...
r5554 Checked out revision 0.
A a
Adding a
Transmitting file data .
Committed revision 1.
% initial roundtrip
scanning source...
sorting...
converting...
0 added a
scanning source...
sorting...
converting...
% second roundtrip should do nothing
scanning source...
sorting...
converting...
scanning source...
sorting...
converting...
% new hg rev
Patrick Mezard
test-convert-hg-svn: fix test output
r9816 updating to branch default
Bryan O'Sullivan
convert: tell the source repository when a rev has been converted...
r5554 1 files updated, 0 files merged, 0 files removed, 0 files unresolved
Patrick Mezard
convert/svn: make sink recover gracefully from empty changeset...
r10051 % adding an empty revision
Bryan O'Sullivan
convert: tell the source repository when a rev has been converted...
r5554 % echo hg to svn
scanning source...
sorting...
converting...
Patrick Mezard
convert/svn: make sink recover gracefully from empty changeset...
r10051 1 b
0 emtpy
Bryan O'Sullivan
convert: tell the source repository when a rev has been converted...
r5554 % svn back to hg should do nothing
scanning source...
sorting...
converting...
% hg back to svn should do nothing
scanning source...
sorting...
converting...