##// END OF EJS Templates
archive: set date to 1980 for very old zip files...
archive: set date to 1980 for very old zip files The zip file format stores the date using "MS-DOS format" which apparently means that they use 1980 as their epoch. Python's zipfile module emits deprecation warnings of this form /usr/lib/python2.6/zipfile.py:1108: DeprecationWarning: struct integer overflow masking is deprecated self.fp.write(zinfo.FileHeader()) /usr/lib/python2.6/zipfile.py:1108: DeprecationWarning: 'H' format requires 0 <= number <= 65535 self.fp.write(zinfo.FileHeader()) /home/mg/src/mercurial-crew/mercurial/archival.py:169: DeprecationWarning: struct integer overflow masking is deprecated self.z.close() /home/mg/src/mercurial-crew/mercurial/archival.py:169: DeprecationWarning: 'H' format requires 0 <= number <= 65535 self.z.close() when it is given such old timestamps. This fixes this by silently clamping the date to 1980.

File last commit:

r7074:b1a4f67b default
r12319:381f1312 stable
Show More
test-convert-svn-source.out
91 lines | 1.7 KiB | text/plain | TextLexer
/ tests / test-convert-svn-source.out
Edouard Gomez
convert: separate trunk detection from branch layout detection...
r5854 # now tests that it works with trunk/tags layout, but no branches yet
% initial svn import
Adding projB/trunk
Adding projB/tags
Patrick Mezard
test-convert-svn-source: remove redundant tests
r6401 Committed revision 1.
Edouard Gomez
convert: separate trunk detection from branch layout detection...
r5854 % update svn repository
Patrick Mezard
test-convert-svn-source: remove redundant tests
r6401 Checked out revision 1.
Patrick Mezard
convert: properly encode subversion URLs (issue 1224)
r7074 A letter .txt
Adding letter .txt
Edouard Gomez
convert: separate trunk detection from branch layout detection...
r5854 Transmitting file data .
Patrick Mezard
test-convert-svn-source: remove redundant tests
r6401 Committed revision 2.
Patrick Mezard
convert: properly encode subversion URLs (issue 1224)
r7074 Sending letter .txt
Edouard Gomez
convert: separate trunk detection from branch layout detection...
r5854 Transmitting file data .
Patrick Mezard
test-convert-svn-source: remove redundant tests
r6401 Committed revision 3.
Edouard Gomez
convert: separate trunk detection from branch layout detection...
r5854
Patrick Mezard
test-convert-svn-source: remove redundant tests
r6401 Committed revision 4.
Patrick Mezard
convert: properly encode subversion URLs (issue 1224)
r7074 Sending letter .txt
Edouard Gomez
convert: separate trunk detection from branch layout detection...
r5854 Transmitting file data .
Patrick Mezard
test-convert-svn-source: remove redundant tests
r6401 Committed revision 5.
Edouard Gomez
convert: separate trunk detection from branch layout detection...
r5854 % convert to hg once
initializing destination B-hg repository
scanning source...
sorting...
converting...
3 init projB
2 hello
1 world
0 nice day
updating tags
% update svn repository again
A letter2.txt
Patrick Mezard
convert: properly encode subversion URLs (issue 1224)
r7074 Sending letter .txt
Edouard Gomez
convert: separate trunk detection from branch layout detection...
r5854 Adding letter2.txt
Transmitting file data ..
Patrick Mezard
test-convert-svn-source: remove redundant tests
r6401 Committed revision 6.
Edouard Gomez
convert: separate trunk detection from branch layout detection...
r5854
Patrick Mezard
test-convert-svn-source: remove redundant tests
r6401 Committed revision 7.
Edouard Gomez
convert: separate trunk detection from branch layout detection...
r5854 Sending letter2.txt
Transmitting file data .
Patrick Mezard
test-convert-svn-source: remove redundant tests
r6401 Committed revision 8.
Edouard Gomez
convert: separate trunk detection from branch layout detection...
r5854 % test incremental conversion
scanning source...
sorting...
converting...
1 second letter
0 work in progress
updating tags
o 7 update tags files: .hgtags
|
o 6 work in progress files: letter2.txt
|
Patrick Mezard
convert: properly encode subversion URLs (issue 1224)
r7074 o 5 second letter files: letter .txt letter2.txt
Edouard Gomez
convert: separate trunk detection from branch layout detection...
r5854 |
o 4 update tags files: .hgtags
|
Patrick Mezard
convert: properly encode subversion URLs (issue 1224)
r7074 o 3 nice day files: letter .txt
Edouard Gomez
convert: separate trunk detection from branch layout detection...
r5854 |
Patrick Mezard
convert: properly encode subversion URLs (issue 1224)
r7074 o 2 world files: letter .txt
Edouard Gomez
convert: separate trunk detection from branch layout detection...
r5854 |
Patrick Mezard
convert: properly encode subversion URLs (issue 1224)
r7074 o 1 hello files: letter .txt
Edouard Gomez
convert: separate trunk detection from branch layout detection...
r5854 |
o 0 init projB files:
tip
v0.2
v0.1
Patrick Mezard
test-convert-svn-source: remove redundant tests
r6401 % test filemap
initializing destination fmap repository
scanning source...
sorting...
converting...
5 init projB
4 hello
3 world
2 nice day
1 second letter
0 work in progress
o 1 work in progress files: letter2.txt
|
o 0 second letter files: letter2.txt
% test stop revision
initializing destination stoprev repository
scanning source...
sorting...
converting...
0 init projB
extra: branch=
extra: convert_revision=