darcs

Issue 1573 repair does not notice setpref corruption

Title repair does not notice setpref corruption
Priority bug Status given-up
Milestone Resolved in
Superseder darcs get can retrieve a not-yet-recorded setpref setting
View: 1572
Nosy List darcs-devel, dmitry.kurochkin, kowey
Assigned To
Topics

Created on 2009-08-27.01:07:46 by kowey, last changed 2017-07-30.23:04:16 by gh.

Messages
msg8523 (view) Author: kowey Date: 2009-08-27.01:07:44
This is related to issue1572.  It's likely that the same fix for issue1572 will
cover this as well, ie. a notion of pristine prefs.

. ./lib                         # Load some portability helpers.
rm -rf R                        # Another script may have left a mess.
darcs init      --repo R        # Create our test repos.
cd R
darcs setpref boringfile f
darcs record -am 'setpref'
rm _darcs/prefs/prefs
darcs repair
test -e _darcs/prefs/prefs

See issue1572 for a simple workaround.
History
Date User Action Args
2009-08-27 01:07:46koweycreate
2009-08-27 13:44:05adminsetnosy: kowey, darcs-devel, dmitry.kurochkin
2009-08-27 14:33:51adminsetnosy: kowey, darcs-devel, dmitry.kurochkin
2017-07-30 23:04:16ghsetstatus: waiting-for -> given-up