Hello, > On Feb 8, 2017, at 15:13, Bob Proulx <[email protected]> wrote: > >> in the following Bug report someone tried to download a specific octave >> revision from the hgweb interface, but got a corrupted file(files in the >> archive were missing). >> [...] >> http://savannah.gnu.org/bugs/index.php?50246
This bug was closed - somewhat confusing... I guess it was closed because the OP found an alternative download link, not because this was solved? > Reading the bug ticket I agree this looks like aproblem with the hg > web interface. Indeed. > will need to debug it. This > is an upgrade of the hg web interface from the old to the new. We > will need to understand it and debug it. None of us are hg experts. Few more observations: These consistently fail (truncated file): http://hg.savannah.gnu.org/hgweb/octave/archive/tip.tar.bz2 http://hg.savannah.gnu.org/hgweb/octave/archive/tip.tar.gz While this consistently succeeds: http://hg.savannah.gnu.org/hgweb/octave/archive/tip.zip Looking at the running processes, it seems archiving is done internally by mercurial's 'hgwebdir' module ( "from mercurial.hgweb.hgwebdir_mod import hgwebdir" in our script ). It does not fork and does not run tar/gzip/bzip2 . A cursory google-search did not come up with anything about hgwebdir truncating archives, but I'll continue to look. comments welcome, - assaf
