darcs

Issue 1215 2.1.0 writes .gz with CRC errors into --old-fashioned-inventory

Title 2.1.0 writes .gz with CRC errors into --old-fashioned-inventory
Priority bug Status duplicate
Milestone Resolved in
Superseder b0rked CRCs in _darcs/patches/*-*-*.gz
View: 844
Nosy List darcs-devel, dmitry.kurochkin, kowey, matthias.andree, thorkilnaur
Assigned To
Topics

Created on 2008-11-10.05:12:08 by matthias.andree, last changed 2009-08-27.14:13:40 by admin.

Messages
msg6626 (view) Author: matthias.andree Date: 2008-11-10.05:12:04
Greetings,

DARCS 2.1.0 seems to write bogus data (CRC?) into _darcs/patches/*.gz if
used with darcs init --old-fashioned-inventory.

EXAMPLE FOR BROKEN OUTPUT:

darcs init --old-fashioned-inventory
darcs pull -a ../some-dir
gzip -t _darcs/patches/*.gz

EXAMPLE FOR PROPER OUTPUT:

darcs init --hashed
darcs pull -a ../some-dir
gzip -t _darcs/patches/*.gz  # produces no output => OK

This is on openSUSE 11 with gzip 1.3.12 and zlib 1.2.3. Darcs has been
using the C zlib.
msg6628 (view) Author: kowey Date: 2008-11-10.08:44:15
See also http://bugs.darcs.net/issue864
Thanks!
msg6629 (view) Author: matthias.andree Date: 2008-11-10.09:20:25
Hi Eric,

it's not clear to me how that would be related to issue864.

Plain recordings already show bad CRCs... try this on a traditional
inventory repo:

darcs optimize --uncompress
darcs check

DARCS will "repair" _all_ patches by compressing them into .gz files with
broken CRC... eek!
msg6632 (view) Author: kowey Date: 2008-11-10.09:45:20
Hi Matthias, Thorkil,

I meant http://bugs.darcs.net/issue844

Sorry for the confusion!
msg6634 (view) Author: matthias.andree Date: 2008-11-10.15:55:07
Looks like this were a dupe of issue844.
History
Date User Action Args
2008-11-10 05:12:08matthias.andreecreate
2008-11-10 08:44:16koweysetstatus: unread -> unknown
nosy: kowey, dagit, simon, thorkilnaur, dmitry.kurochkin, matthias.andree
messages: + msg6628
2008-11-10 09:20:27matthias.andreesetnosy: kowey, dagit, simon, thorkilnaur, dmitry.kurochkin, matthias.andree
messages: + msg6629
2008-11-10 09:45:22koweysetnosy: kowey, dagit, simon, thorkilnaur, dmitry.kurochkin, matthias.andree
messages: + msg6632
2008-11-10 15:55:10matthias.andreesetnosy: kowey, dagit, simon, thorkilnaur, dmitry.kurochkin, matthias.andree
messages: + msg6634
2008-11-10 20:43:49droundysetpriority: bug
nosy: kowey, dagit, simon, thorkilnaur, dmitry.kurochkin, matthias.andree
superseder: + b0rked CRCs in _darcs/patches/*-*-*.gz
2008-11-19 17:10:55koweysetstatus: unknown -> duplicate
nosy: kowey, dagit, simon, thorkilnaur, dmitry.kurochkin, matthias.andree
2009-08-10 23:51:07adminsetnosy: - dagit
2009-08-25 17:34:06adminsetnosy: + darcs-devel, - simon
2009-08-27 14:13:40adminsetnosy: kowey, darcs-devel, thorkilnaur, dmitry.kurochkin, matthias.andree