Zipfile size would require ZIP64 extensions
Created originally on Bitbucket by Doahh (Gavin Donald)
When running:
hg archive -r my-project.zip
I am getting the following exception:
** https://mercurial-scm.org/wiki/BugTracker
** Python 2.7.9 (default, Dec 10 2014, 12:28:03) [MSC v.1500 64 bit (AMD64)]
** Mercurial Distributed SCM (version 3.7.3)
** Extensions loaded:
Traceback (most recent call last):
File "hg", line 49, in <module>
File "mercurial\dispatch.pyo", line 54, in run
File "mercurial\dispatch.pyo", line 120, in dispatch
File "mercurial\dispatch.pyo", line 191, in _runcatch
File "mercurial\dispatch.pyo", line 924, in _dispatch
File "mercurial\dispatch.pyo", line 681, in runcommand
File "mercurial\dispatch.pyo", line 1055, in _runcommand
File "mercurial\dispatch.pyo", line 1015, in checkargs
File "mercurial\dispatch.pyo", line 921, in <lambda>
File "mercurial\util.pyo", line 991, in check
File "mercurial\commands.pyo", line 525, in archive
File "mercurial\archival.pyo", line 326, in archive
File "mercurial\archival.pyo", line 303, in write
File "mercurial\archival.pyo", line 243, in addfile
File "zipfile.pyo", line 1248, in writestr
File "zipfile.pyo", line 1127, in _writecheck
zipfile.LargeZipFile: Zipfile size would require ZIP64 extensions
Exception zipfile.LargeZipFile: LargeZipFile('Central directory offset would require ZIP64 extensions',) in <bound method ZipFile.__del__ of <zipfile.ZipFile object at 0x0000000002724E10>> ignored
My last backup was 1.6G in size. I am not sure if it makes a difference but it is just possible that this one would be over 2GB.
I am also getting a warning:
C:\Program Files\TortoiseHg\lib\library.zip\mercurial\archival.py:243: UserWarning: Duplicate name: 'my-project/.hg_archival.txt'
It persists even if I remove the .hg_archival.txt file out of the project.
I am running TortoiseHG 3.7.3.