Re: [fossil-users] Empty files in fossil-generated zip archives

2016-01-08 Thread Florian Balmer
Thank you very much also for the compression method fix! Andy Bradford: > But unzip never created a directory when it was a 0 byte > file. So again I wonder why 7-Zip did? Have a look at the `CItem::IsDir()' function for zip archives in 7-Zip [0], it is performing quite a few checks before evalua

Re: [fossil-users] Empty files in fossil-generated zip archives

2016-01-07 Thread Andy Bradford
Thus said Florian Balmer on Thu, 07 Jan 2016 08:42:17 +0100: > Thank you very much for the quick fix! Empty files now show up with > "-rw-r--r--" instead of "drwxr-xr-x" in archives examined with > `zipinfo', 7-Zip version 15.14 correctly displays "." instead of > "D", and extraction works

Re: [fossil-users] Empty files in fossil-generated zip archives

2016-01-07 Thread Florian Balmer
I have noticed that `zipinfo' now shows "defN" instead of "stor" as the compression method for empty files. Various tests with older and new versions of 7-Zip, FreeBSD's `zip' and an ancient version of WinZip showed that all these tools use "stor" as the compression method for empty files. I haven

Re: [fossil-users] Empty files in fossil-generated zip archives

2016-01-06 Thread Stephan Beal
On Wed, Jan 6, 2016 at 8:46 PM, Joe Mistachkin wrote: > Thanks for the report. Should be fixed, here: > > https://www.fossil-scm.org/index.html/vinfo/18607?sbs=0 Completely unrelated: i thought the UID output had been changed to output at least enough of a UID to include at least 1 alp

Re: [fossil-users] Empty files in fossil-generated zip archives

2016-01-06 Thread Joe Mistachkin
Florian Balmer wrote: > > 7-Zip lists "D" as the attributes for empty files in the > fossil-generated zips, and `zipinfo' on my FreeBSD web server lists > "drwxr-xr-x". > Thanks for the report. Should be fixed, here: https://www.fossil-scm.org/index.html/vinfo/18607?sbs=0 Please

[fossil-users] Empty files in fossil-generated zip archives

2016-01-06 Thread Florian Balmer
I'm using a custom set of scripts to transfer commits from one repository to another. The scripts parse the output of `fossil whatis' to grab the check-in comments and time stamps, extract the files with `fossil zip', and re-commit everything to the target repository. Recently, after updating the