darcs

Issue 1547 darcs whatsnew does not grok old "_darcs/current" repo format

Title darcs whatsnew does not grok old "_darcs/current" repo format
Priority bug Status resolved
Milestone Resolved in
Superseder Nosy List darcs-devel, dmitry.kurochkin, duncan, kowey, thorkilnaur, tux_rocker
Assigned To
Topics Regression

Created on 2009-08-21.01:06:56 by duncan.coutts, last changed 2009-10-24.00:31:48 by admin.

Messages
msg8309 (view) Author: duncan Date: 2009-08-21.01:06:53
I've got a relatively old darcs-1 format repo. It still has a _darcs/current
instead of the newer _darcs/pristine.

It seems that while some parts of darcs are quite happy with this old format
(including darcs check and repair), darcs whatsnew is not:

$ darcs whatsnew
darcs: ./_darcs/pristine: changeWorkingDirectory: does not exist (No such file
or directory)

It should be fairly straightforward to reproduce this. Just find an old repo
using _darcs/current.

As a workaround, it appears that this works:

$ mv _darcs/current _darcs/pristine

This is all using darcs version 2.3.0 (release)

If darcs is intending to stop supporting the old _darcs/current style then it'd
be good if darcs repair could update to the later darcs-1 layout.
msg8310 (view) Author: tux_rocker Date: 2009-08-21.07:24:22
This is a bug in the hashed-storage package to which some darcs functionality
has been outsourced starting with the 2.3 release. You should be able to solve
the problem by upgrading to hashed-storage 0.3.7.
History
Date User Action Args
2009-08-21 01:06:56duncan.couttscreate
2009-08-21 07:24:26tux_rockersetpriority: bug
status: resolved
topic: + Regression
messages: + msg8310
nosy: + tux_rocker
2009-08-25 18:15:51adminsetnosy: + darcs-devel, - simon
2009-08-27 14:28:36adminsetnosy: kowey, darcs-devel, duncan.coutts, thorkilnaur, tux_rocker, dmitry.kurochkin
2009-10-24 00:31:48adminsetnosy: + duncan, - duncan.coutts