darcs

Issue 61 Bad error message when doing optimize --checkpoint on partial repo

Title Bad error message when doing optimize --checkpoint on partial repo
Priority bug Status resolved
Milestone Resolved in
Superseder unrecording checkpoint patch quietly breaks things
View: 517
Nosy List clive, darcs-devel, dmitry.kurochkin, eivuokko, jch, kowey, markstos, thorkilnaur, tommy, wglozer, zooko
Assigned To
Topics Partial

Created on 2005-12-16.12:45:58 by clive, last changed 2009-08-27.14:03:48 by admin.

Messages
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 )
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
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
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.
msg241 (view) Author: clive Date: 2005-12-17.21:47:20
Yes, it is a partial repo
msg242 (view) Author: jch Date: 2005-12-17.21:52:42
When the error message is fixed, this should be degraded to wishlist status.
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.
History
Date User Action Args
2005-12-16 12:45:58clivecreate
2005-12-16 12:52:29droundysettopic: + Windows
nosy: + eivuokko, wglozer
2005-12-16 15:30:48zookosetstatus: unread -> unknown
nosy: + zooko
messages: + msg231
2005-12-16 23:13:43clivesetnosy: droundy, tommy, wglozer, zooko, eivuokko, clive
messages: + msg235
2005-12-17 21:19:46jchsetnosy: + jch
messages: + msg240
title: darcs crash (1.0.5) win32 -> Unavailable patch in DarcsRepo.write_checkpoint
2005-12-17 21:47:20clivesetnosy: droundy, jch, tommy, wglozer, zooko, eivuokko, clive
messages: + msg241
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
2007-07-19 07:51:25koweysettopic: - Windows
nosy: + kowey, beschmi
2007-07-23 15:36:09koweysettopic: + Partial
2008-01-13 15:52:04markstossetstatus: unknown -> resolved-in-unstable
nosy: + markstos
superseder: + unrecording checkpoint patch quietly breaks things
messages: + msg2466
2008-09-04 21:27:52adminsetstatus: resolved-in-unstable -> resolved
nosy: + dagit
2009-08-06 17:50:30adminsetnosy: + jast, Serware, dmitry.kurochkin, darcs-devel, mornfall, simon, thorkilnaur, - droundy, jch, wglozer, eivuokko, clive
2009-08-06 20:47:21adminsetnosy: - beschmi
2009-08-10 22:12:08adminsetnosy: + wglozer, eivuokko, clive, jch, - darcs-devel, jast, Serware, mornfall
2009-08-11 00:05:19adminsetnosy: - dagit
2009-08-25 18:01:50adminsetnosy: + darcs-devel, - simon
2009-08-27 14:03:48adminsetnosy: jch, tommy, kowey, markstos, wglozer, darcs-devel, zooko, eivuokko, clive, thorkilnaur, dmitry.kurochkin