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

r11967:6e3875a8 default
r12319:381f1312 stable
Show More
test-mq-qqueue.out
36 lines | 902 B | text/plain | TextLexer
/ tests / test-mq-qqueue.out
Henrik Stuart
mq: support multiple patch queues using qqueue
r11229 %% default queue
patches (active)
%% applied patches in default queue
somestuff
%% try to change patch (create succeeds, switch fails)
abort: patches applied - cannot set new queue active
foo
patches (active)
%% empty default queue
popping somestuff
patch queue now empty
%% switch queue
foo (active)
patches
Cédric Duval
mq: prevent the creation of a queue whose name is already taken...
r11271 %% fail creating queue with already existing name
abort: queue "foo" already exists
foo (active)
patches
Henrik Stuart
mq: support multiple patch queues using qqueue
r11229 %% unapplied patches
%% fail switching back
abort: patches applied - cannot set new queue active
%% fail deleting current
abort: cannot delete currently active queue
%% switch back and delete foo
popping otherstuff
patch queue now empty
patches (active)
Henrik Stuart
mq: fix naming issues for qqueue directories
r11270 %% tricky cases
patches
store (active)
Henrik Stuart
mq: better qqueue test for troublesome names
r11272 popping journal
Henrik Stuart
mq: fix naming issues for qqueue directories
r11270 patch queue now empty
somestuff
%% invalid names
abort: invalid queue name, may not contain the characters ":\/."
abort: invalid queue name, may not contain the characters ":\/."