[darcs-devel] [issue1547] darcs whatsnew does not grok old "_darcs/current" repo format

Duncan Coutts bugs at darcs.net
Fri Aug 21 01:06:56 UTC 2009


New submission from Duncan Coutts <duncan.coutts at worc.ox.ac.uk>:

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.

----------
messages: 8309
nosy: dmitry.kurochkin, duncan.coutts, kowey, simon, thorkilnaur
title: darcs whatsnew does not grok old "_darcs/current" repo format

__________________________________
Darcs bug tracker <bugs at darcs.net>
<http://bugs.darcs.net/issue1547>
__________________________________


More information about the darcs-devel mailing list