Issue61

Title Bad error message when doing optimize --checkpoint on partial repo
Priority bug Status resolved-in-unstable
Superseder unrecording checkpoint patch quietly breaks things
View: 517
Nosy List beschmi, clive, droundy, eivuokko, jch, kowey, markstos, tommy, wglozer, zooko
Assigned To Topics Partial

Created on 2005-12-16.12:45:58 by clive, last changed 2008-01-13.15:52:04 by markstos.

Messages
msg2466 (view) Author: markstos Date: 2008-01-13.15:52:03
I believe this is "resolved-in-unstable", because the darcs-2 format doesn't
have checkpointing. See discussion and test in issue517.
msg242 (view) Author: jch Date: 2005-12-17.21:52:42
When the error message is fixed, this should be degraded to wishlist status.
msg241 (view) Author: clive Date: 2005-12-17.21:47:20
Yes, it is a partial repo
msg240 (view) Author: jch Date: 2005-12-17.21:19:46
Is this a partial repo by any chance?

For the record, it appears that get_patches_in_tag returns Nothing in the second
component.  If this is a partial repo, it's a missing feature (although the lack
of a useful error message is a bug).  If it's not partial, that's definitely a
bug.
msg235 (view) Author: clive Date: 2005-12-16.23:13:42
#
# Zooko <zooko@zooko.com> added the comment:
#
# Thanks for the bug report.  Could you please try the same command with the
# current stable release -- 1.0.5?
#
# Regards,
#
# Zooko
#

I get exactly the same output on FreeBSD with 1.0.5 stable final release
msg231 (view) Author: zooko Date: 2005-12-16.15:30:48
Thanks for the bug report.  Could you please try the same command with the
current stable release -- 1.0.5?

Regards,

Zooko
msg225 (view) Author: clive Date: 2005-12-16.12:45:57
clive@CLIVE-WXP ~/repository/vultures
$ darcs optimize +RTS -M1G -RTS --verbose --checkpoint --reorder-patches
Reordering the inventory.
Writing out a nice copy of the inventory.
Checkpointing tag:
Thu Nov 10 18:34:58 South Africa Standard Time 2005  Clive Crous
<clive@darkarts.co.za>
  tagged 1.10.1
darcs.exe: bug in darcs!
fromJust error at DarcsRepo.lhs:507 compiled 18:16:41 Dec  5 2005
Please report this to bugs@darcs.net,
If possible include the output of 'darcs --exact-version'.

clive@CLIVE-WXP ~/repository/vultures
$ darcs --exact-version
darcs compiled on Dec  5 2005, at 18:28:08
# configured Mon Dec  5 18:03:48 USMST 2005
./configure --disable-mmap

Context:

[TAG 1.0.5rc2
Tommy Pettersson <ptp@lysator.liu.se>**20051204152416]

clive@CLIVE-WXP ~/repository/vultures
$ darcs --version
1.0.5rc2 (release candidate )

Browse related patches: unstable | stable

History
Date User Action Args
2008-01-13 15:52:04markstossetstatus: chatting -> resolved-in-unstable
nosy: + markstos
superseder: + unrecording checkpoint patch quietly breaks things
messages: + msg2466
2007-07-23 15:36:09koweysettopic: + Partial
2007-07-19 07:51:25koweysettopic: - Windows
nosy: + kowey, beschmi
2005-12-17 21:52:42jchsetnosy: droundy, jch, tommy, wglozer, zooko, eivuokko, clive
messages: + msg242
title: Unavailable patch in DarcsRepo.write_checkpoint -> Bad error message when doing optimize --checkpoint on partial repo
2005-12-17 21:47:20clivesetnosy: droundy, jch, tommy, wglozer, zooko, eivuokko, clive
messages: + msg241
2005-12-17 21:19:46jchsetnosy: + jch
messages: + msg240
title: darcs crash (1.0.5) win32 -> Unavailable patch in DarcsRepo.write_checkpoint
2005-12-16 23:13:43clivesetnosy: droundy, tommy, wglozer, zooko, eivuokko, clive
messages: + msg235
2005-12-16 15:30:48zookosetstatus: unread -> chatting
nosy: + zooko
messages: + msg231
2005-12-16 12:52:29droundysettopic: + Windows
nosy: + eivuokko, wglozer
2005-12-16 12:45:58clivecreate