##// 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:

r10220:500d09be stable
r10521:bde1bb25 stable
Show More
test-relink.out
25 lines | 724 B | text/plain | TextLexer
Patrick Mezard
Add test for relink extension
r10217 % create source repository
adding a
adding b
% clone and pull to break links
requesting all changes
adding changesets
adding manifests
adding file changes
added 1 changesets with 2 changes to 2 files
updating to branch default
2 files updated, 0 files merged, 0 files removed, 0 files unresolved
created new head
% relink
relinking .hg/store
Siddharth Agarwal
Add support for relinking on Windows....
r10218 collected 5 candidate storage files
Patrick Mezard
Add test for relink extension
r10217 not linkable: 00changelog.i
not linkable: 00manifest.i
not linkable: data/b.i
Siddharth Agarwal
Add support for relinking on Windows....
r10218 pruned down to 2 probably relinkable files
Patrick Mezard
ui: display progress with decimal notation
r10220 relink: data/a.i 1/2 files (50.00%)
Siddharth Agarwal
Add support for relinking on Windows....
r10218 not linkable: data/dummy.i
Patrick Mezard
Add test for relink extension
r10217 relinked 1 files (136 bytes reclaimed)
% check hardlinks
repo/.hg/store/data/a.i == clone/.hg/store/data/a.i
repo/.hg/store/data/b.i != clone/.hg/store/data/b.i