view tests/test-strip-cross.out @ 11359:4eaacccbb2ca

osutil.c: Support for py3k added. This patch adds support for py3k in osutil.c. This is accomplished by including a header file responsible for abstracting the API differences between python 2 and python 3. listdir_stat_type is also changed in the following way: A previous call to PyObject_HEAD_INIT is substituted to a call to PyVarObject_HEAD_INIT, which makes the object buildable in both python 2.x and 3.x without weird warnings. After testing on windows, some modifications were also made in the posixfile function, as it calls PyFile_FromFile and PyFile_SetBufSize, which are gone in py3k. In py3k the PyFile_* API is, actually a wrapper over the io module, and code has been adapted accordingly to fit py3k.
author Renato Cunha <renatoc@gmail.com>
date Tue, 15 Jun 2010 19:49:56 -0300
parents f974fe896921
children
line wrap: on
line source

crossed/.hg/store/00manifest.i
   rev    offset  length   base linkrev nodeid       p1           p2
     0         0     112      0       0 6f105cbb914d 000000000000 000000000000
     1       112      56      1       3 1b55917b3699 000000000000 000000000000
     2       168     123      1       1 8f3d04e263e5 000000000000 000000000000
     3       291     122      1       2 f0ef8726ac4f 000000000000 000000000000
     4       413      87      4       4 0b76e38b4070 000000000000 000000000000

crossed/.hg/store/data/012.i
   rev    offset  length   base linkrev nodeid       p1           p2
     0         0       3      0       0 b8e02f643373 000000000000 000000000000
     1         3       3      1       1 5d9299349fc0 000000000000 000000000000
     2         6       3      2       2 2661d26c6496 000000000000 000000000000

crossed/.hg/store/data/021.i
   rev    offset  length   base linkrev nodeid       p1           p2
     0         0       3      0       0 b8e02f643373 000000000000 000000000000
     1         3       3      1       2 5d9299349fc0 000000000000 000000000000
     2         6       3      2       1 2661d26c6496 000000000000 000000000000

crossed/.hg/store/data/102.i
   rev    offset  length   base linkrev nodeid       p1           p2
     0         0       3      0       1 b8e02f643373 000000000000 000000000000
     1         3       3      1       0 5d9299349fc0 000000000000 000000000000
     2         6       3      2       2 2661d26c6496 000000000000 000000000000

crossed/.hg/store/data/120.i
   rev    offset  length   base linkrev nodeid       p1           p2
     0         0       3      0       1 b8e02f643373 000000000000 000000000000
     1         3       3      1       2 5d9299349fc0 000000000000 000000000000
     2         6       3      2       0 2661d26c6496 000000000000 000000000000

crossed/.hg/store/data/201.i
   rev    offset  length   base linkrev nodeid       p1           p2
     0         0       3      0       2 b8e02f643373 000000000000 000000000000
     1         3       3      1       0 5d9299349fc0 000000000000 000000000000
     2         6       3      2       1 2661d26c6496 000000000000 000000000000

crossed/.hg/store/data/210.i
   rev    offset  length   base linkrev nodeid       p1           p2
     0         0       3      0       2 b8e02f643373 000000000000 000000000000
     1         3       3      1       1 5d9299349fc0 000000000000 000000000000
     2         6       3      2       0 2661d26c6496 000000000000 000000000000

crossed/.hg/store/data/manifest-file.i
   rev    offset  length   base linkrev nodeid       p1           p2
     0         0       3      0       3 b8e02f643373 000000000000 000000000000
     1         3       3      1       4 5d9299349fc0 000000000000 000000000000

% Trying to strip revision 0
saved backup bundle to 
% Verifying
checking changesets
checking manifests
crosschecking files in changesets and manifests
checking files
7 files, 4 changesets, 15 total revisions

% Trying to strip revision 1
saved backup bundle to 
% Verifying
checking changesets
checking manifests
crosschecking files in changesets and manifests
checking files
7 files, 4 changesets, 14 total revisions

% Trying to strip revision 2
saved backup bundle to 
% Verifying
checking changesets
checking manifests
crosschecking files in changesets and manifests
checking files
7 files, 4 changesets, 14 total revisions

% Trying to strip revision 3
saved backup bundle to 
% Verifying
checking changesets
checking manifests
crosschecking files in changesets and manifests
checking files
7 files, 4 changesets, 19 total revisions

% Trying to strip revision 4
saved backup bundle to 
% Verifying
checking changesets
checking manifests
crosschecking files in changesets and manifests
checking files
7 files, 4 changesets, 19 total revisions