darcs

Issue 1507 whatsnew does not use 'current' when 'pristine' is missing

Title whatsnew does not use 'current' when 'pristine' is missing
Priority bug Status resolved
Milestone Resolved in
Superseder Nosy List darcs-devel, dmitry.kurochkin, jaredj, kolibrie, kowey, mornfall, thorkilnaur
Assigned To mornfall
Topics ProbablyEasy

Created on 2009-07-28.20:17:52 by kolibrie, last changed 2009-09-20.16:38:55 by tux_rocker.

Messages
msg7993 (view) Author: kolibrie Date: 2009-07-28.20:17:48
I have a very old darcs1 format repo with a _darcs/current directory instead of
the newer _darcs/pristine.

After upgrading to darcs 2.3.0, the 'darcs whatsnew' command returns the error:

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

Using darcs 2.2.0, the normal output of whatsnew is displayed.

After moving the _darcs/current directory to _darcs/pristine, whatsnew works
correctly under darcs 2.3.0.

darcs should either continue to look for a 'current' directory when 'pristine'
is missing, or should prompt the user to rename that directory.
msg7995 (view) Author: kowey Date: 2009-08-02.10:18:36
Hi Petr,

Sounds like this would be of interest to you.
msg8000 (view) Author: mornfall Date: 2009-08-03.12:30:14
Easy fix indeed, I have checked this in on hashed-storage-0.3 branch. I have
also just released hashed-storage 0.3.7 (this includes the fix), so rebuilding
darcs against this version should fix the problem. I'll make sure that in darcs
2.3.1, we'll bump the dependency hashed-storage to 0.3.7.
History
Date User Action Args
2009-07-28 20:17:52kolibriecreate
2009-08-02 10:18:38koweysetstatus: unread -> unknown
nosy: + mornfall
messages: + msg7995
2009-08-03 12:30:17mornfallsetnosy: kowey, simon, thorkilnaur, kolibrie, jaredj, dmitry.kurochkin, mornfall
messages: + msg8000
2009-08-11 18:10:12koweysetstatus: unknown -> has-patch
nosy: kowey, simon, thorkilnaur, kolibrie, jaredj, dmitry.kurochkin, mornfall
assignedto: mornfall
2009-08-25 17:46:28adminsetnosy: + darcs-devel, - simon
2009-08-27 14:23:19adminsetnosy: kowey, darcs-devel, thorkilnaur, kolibrie, jaredj, dmitry.kurochkin, mornfall
2009-09-20 16:38:55tux_rockersetstatus: has-patch -> resolved
nosy: kowey, darcs-devel, thorkilnaur, kolibrie, jaredj, dmitry.kurochkin, mornfall