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

r9611:a3d73b3e default
r12319:381f1312 stable
Show More
test-mq-pull-from-bundle.out
59 lines | 1.6 KiB | text/plain | TextLexer
/ tests / test-mq-pull-from-bundle.out
Peter Arrenbrecht
Fix income/pull with bundle and -R (issue 820)....
r5664 ====== Setup main
adding one
====== Bundle main
Thomas Arendsen Hein
Show number of changesets written to bundle files by default (issue569)...
r5763 2 changesets found
Peter Arrenbrecht
Fix income/pull with bundle and -R (issue 820)....
r5664 ====== Incoming to fresh repo
>> hg -R fresh incoming main.hg
comparing with main.hg
0: main: one added.
1: main: one updated.
>> hg -R fresh incoming bundle:fresh+main.hg
comparing with bundle:fresh+main.hg
0: main: one added.
1: main: one updated.
====== Setup queue
adding two
Mads Kiilerich
mq: qpop now tells which patches are popped...
r9110 popping two.patch
Martin Geisler
mq: lowercase output...
r7627 patch queue now empty
Peter Arrenbrecht
Fix income/pull with bundle and -R (issue 820)....
r5664 ====== Bundle queue
Thomas Arendsen Hein
Show number of changesets written to bundle files by default (issue569)...
r5763 1 changesets found
Peter Arrenbrecht
Fix income/pull with bundle and -R (issue 820)....
r5664 ====== Clone base
Adrian Buehlmann
hg.clone: report branch name on update
r9611 updating to branch default
Peter Arrenbrecht
Fix income/pull with bundle and -R (issue 820)....
r5664 1 files updated, 0 files merged, 0 files removed, 0 files unresolved
====== Incoming queue bundle
>> hg -R .hg/patches incoming ../queue.hgq
comparing with ../queue.hgq
0: queue: two.patch added.
====== Pull queue bundle
>> hg -R .hg/patches pull --update ../queue.hgq
pulling from ../queue.hgq
requesting all changes
adding changesets
adding manifests
adding file changes
added 1 changesets with 3 changes to 3 files
merging series
2 files updated, 1 files merged, 0 files removed, 0 files unresolved
>> hg -R .hg/patches heads
0: queue: two.patch added.
>> hg -R .hg/patches log
0: queue: two.patch added.
>> hg qseries
two.patch
====== Clone base again
Adrian Buehlmann
hg.clone: report branch name on update
r9611 updating to branch default
Peter Arrenbrecht
Fix income/pull with bundle and -R (issue 820)....
r5664 1 files updated, 0 files merged, 0 files removed, 0 files unresolved
====== Unbundle queue bundle
>> hg -R .hg/patches unbundle --update ../queue.hgq
adding changesets
adding manifests
adding file changes
added 1 changesets with 3 changes to 3 files
merging series
2 files updated, 1 files merged, 0 files removed, 0 files unresolved
>> hg -R .hg/patches heads
0: queue: two.patch added.
>> hg -R .hg/patches log
0: queue: two.patch added.
>> hg qseries
two.patch