darcs

Issue 412 pull & obliterate yields usual inventory

Title pull & obliterate yields usual inventory
Priority bug Status resolved
Milestone Resolved in
Superseder Nosy List darcs-devel, dmitry.kurochkin, hanwen, kowey, thorkilnaur, tommy
Assigned To kowey
Topics ProbablyEasy

Created on 2007-02-12.20:10:15 by hanwen1, last changed 2009-10-24.00:36:30 by admin.

Files
File name Uploaded Type Edit Remove
db.tar.gz hanwen1, 2007-02-12.20:10:05 application/x-gzip
Messages
msg1483 (view) Author: hanwen Date: 2007-02-12.20:10:06
see attach.

running 

  cd z 
  sh -x l.sh

yields an inventory that looks like

[bla
hanwen@lilypond.org**20070212172824] [bla
hanwen@lilypond.org**20070212172906] 
[bbla
hanwen@lilypond.org**20070212172948] 
[bla
hanwen@lilypond.org**20070212172929] 
[bla
hanwen@lilypond.org**20070212172953] 
[resolve
hanwen@lilypond.org**20070212173024] 

It seems to be lacking a newline.

darcs 1.0.8
-- 

Han-Wen Nienhuys - hanwen@lilypond.org - http://www.xs4all.nl/~hanwen

LilyPond Software Design
 -- Code for Music Notation
http://www.lilypond-design.com
Attachments
msg1484 (view) Author: droundy Date: 2007-02-12.20:17:07
On Mon, Feb 12, 2007 at 08:10:16PM +0000, Han-Wen Nienhuys wrote:
> see attach.
> 
> running 
> 
>   cd z 
>   sh -x l.sh
> 
> yields an inventory that looks like
> 
> [bla
> hanwen@lilypond.org**20070212172824] [bla
> hanwen@lilypond.org**20070212172906] 
> [bbla
> hanwen@lilypond.org**20070212172948] 
> [bla
> hanwen@lilypond.org**20070212172929] 
> [bla
> hanwen@lilypond.org**20070212172953] 
> [resolve
> hanwen@lilypond.org**20070212173024] 
> 
> It seems to be lacking a newline.
> 
> darcs 1.0.8

In the one minute I devoted to running your test, I'm not clear as to what
the bug is, or how to see it.  I think some more explanation would be
helpful.

Thanks for the bug report!
-- 
David Roundy
Department of Physics
Oregon State University
msg1485 (view) Author: hanwen Date: 2007-02-12.23:45:17
David Roundy escreveu:
> David Roundy <droundy@darcs.net> added the comment:
> 
> On Mon, Feb 12, 2007 at 08:10:16PM +0000, Han-Wen Nienhuys wrote:
>> see attach.
>>
>> running 
>>
>>   cd z 
>>   sh -x l.sh
>>
>> yields an inventory that looks like
>>
>> [bla
>> hanwen@lilypond.org**20070212172824] [bla
>> hanwen@lilypond.org**20070212172906] 
>> [bbla
>> hanwen@lilypond.org**20070212172948] 
>> [bla
>> hanwen@lilypond.org**20070212172929] 
>> [bla
>> hanwen@lilypond.org**20070212172953] 
>> [resolve
>> hanwen@lilypond.org**20070212173024] 
>>
>> It seems to be lacking a newline.
>>
>> darcs 1.0.8
> 
> In the one minute I devoted to running your test, I'm not clear as to what
> the bug is, or how to see it.  I think some more explanation would be
> helpful.

if you run the script, a newline seems to be missing in
darcs2git.tmpdarcs/_darcs/inventory

-- 

Han-Wen Nienhuys - hanwen@lilypond.org - http://www.xs4all.nl/~hanwen

LilyPond Software Design
 -- Code for Music Notation
http://www.lilypond-design.com
msg1532 (view) Author: kowey Date: 2007-03-09.14:01:17
Just to be clear, is the issue in question the missing newline in the inventory?
 Or is there a more alarming problem?

(David, does the inventory parsing code care?)

I suppose that this kind of thing might matter for tools that try to parse the
darcs inventory which aren't darcs proper.
msg1542 (view) Author: hanwen Date: 2007-03-12.14:02:35
>
> Eric Kow <eric.kow@gmail.com> added the comment:
>
> Just to be clear, is the issue in question the missing newline in the
> inventory?

Yes.

> I suppose that this kind of thing might matter for tools that try to parse
> the
> darcs inventory which aren't darcs proper.

this is exactly the case. For my darcs2git convertor, darcs invocations
are the bottleneck, so I try to minimize those by reading the repo
directly.

HWN
msg1896 (view) Author: kowey Date: 2007-07-23.06:06:50
Resolved in unstable with

Wed Jul 18 23:01:38 CEST 2007  Eric Kow <eric.kow@loria.fr>
  * Fix missing newline in inventory (issue412).

Thanks!
History
Date User Action Args
2007-02-12 20:10:15hanwen1create
2007-02-12 20:17:17droundysetstatus: unread -> unknown
nosy: droundy, tommy, beschmi, kowey, hanwen1
messages: + msg1484
2007-02-12 23:45:25hanwen1setnosy: droundy, tommy, beschmi, kowey, hanwen1
messages: + msg1485
2007-03-09 14:01:27koweysetnosy: droundy, tommy, beschmi, kowey, hanwen1
messages: + msg1532
title: pull & obliterate yields inconsistent repo? -> pull & obliterate yields usual inventory
2007-03-12 07:46:59koweysettopic: + ProbablyEasy
nosy: droundy, tommy, beschmi, kowey, hanwen1
2007-03-12 14:02:50lilydevsetnosy: + lilydev
messages: + msg1542
2007-07-18 21:04:31koweysetnosy: droundy, tommy, beschmi, kowey, hanwen1, lilydev
2007-07-23 06:06:50koweysetstatus: unknown -> resolved-in-unstable
messages: + msg1896
2007-07-31 18:02:27koweysetstatus: resolved-in-unstable -> resolved-in-stable
2008-09-16 21:30:55adminsetstatus: resolved-in-stable -> resolved
nosy: + dagit
2009-08-06 17:46:42adminsetnosy: + markstos, jast, Serware, dmitry.kurochkin, darcs-devel, zooko, mornfall, simon, thorkilnaur, - droundy, hanwen1, lilydev
2009-08-06 20:42:25adminsetnosy: - beschmi
2009-08-10 22:01:57adminsetnosy: + lilydev, hanwen1, - markstos, darcs-devel, zooko, jast, Serware, mornfall
2009-08-10 23:59:30adminsetnosy: - dagit
2009-08-25 17:58:28adminsetnosy: + darcs-devel, - simon
2009-08-27 14:11:38adminsetnosy: tommy, kowey, darcs-devel, hanwen1, lilydev, thorkilnaur, dmitry.kurochkin
2009-10-24 00:34:31adminsetnosy: + hanwen, - hanwen1
2009-10-24 00:36:30adminsetnosy: - lilydev