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

r7229:7946503e default
r10521:bde1bb25 stable
Show More
test-dumprevlog.out
67 lines | 1.5 KiB | text/plain | TextLexer
/ tests / test-dumprevlog.out
Adrian Buehlmann
introduce fncache repository layout...
r7229 % prepare repo-a
Adrian Buehlmann
add tests for contrib/dumprevlog and undumprevlog
r6465 checking changesets
checking manifests
crosschecking files in changesets and manifests
checking files
1 files, 3 changesets, 3 total revisions
Adrian Buehlmann
introduce fncache repository layout...
r7229
% dumping revlog of file a to stdout
Adrian Buehlmann
add tests for contrib/dumprevlog and undumprevlog
r6465 file: .hg/store/data/a.i
node: 183d2312b35066fb6b3b449b84efc370d50993d0
linkrev: 0
parents: 0000000000000000000000000000000000000000 0000000000000000000000000000000000000000
length: 15
-start-
this is file a
-end-
node: b1047953b6e6b633c0d8197eaa5116fbdfd3095b
linkrev: 1
parents: 183d2312b35066fb6b3b449b84efc370d50993d0 0000000000000000000000000000000000000000
length: 32
-start-
this is file a
adding to file a
-end-
node: 8c4fd1f7129b8cdec6c7f58bf48fb5237a4030c1
linkrev: 2
parents: b1047953b6e6b633c0d8197eaa5116fbdfd3095b 0000000000000000000000000000000000000000
length: 54
-start-
this is file a
adding to file a
adding more to file a
-end-
Adrian Buehlmann
introduce fncache repository layout...
r7229 % dumprevlog done
% dump all revlogs to file repo.dump
% undumping into repo-b
Matt Mackall
merge: introduce mergestate
r6512 .hg/store/00changelog.i
Adrian Buehlmann
add tests for contrib/dumprevlog and undumprevlog
r6465 .hg/store/00manifest.i
Matt Mackall
merge: introduce mergestate
r6512 .hg/store/data/a.i
Adrian Buehlmann
introduce fncache repository layout...
r7229 % undumping done
% clone --pull repo-b repo-c to rebuild fncache
requesting all changes
adding changesets
adding manifests
adding file changes
added 3 changesets with 3 changes to 1 files
% verify repo-c
Adrian Buehlmann
add tests for contrib/dumprevlog and undumprevlog
r6465 checking changesets
checking manifests
crosschecking files in changesets and manifests
checking files
1 files, 3 changesets, 3 total revisions
Adrian Buehlmann
introduce fncache repository layout...
r7229
% comparing repos
Adrian Buehlmann
add tests for contrib/dumprevlog and undumprevlog
r6465 comparing with repo-a
searching for changes
no changes found
Adrian Buehlmann
introduce fncache repository layout...
r7229 comparing with repo-c
Adrian Buehlmann
add tests for contrib/dumprevlog and undumprevlog
r6465 searching for changes
no changes found