[darcs-devel] [issue612] Repository corruption

David Rusenko bugs at darcs.net
Thu Jan 24 12:46:49 UTC 2008


New submission from David Rusenko <david at weebly.com>:

"Tolerant IO" fix for issue 434 addresses some of the repository corruption
issues. However, there is still a critical case when root modifies a repository
(changing the _darcs/inventory file ownership to root) and later user_a tries to
push a patch to the repository. All of the changes will be applied, the pristine
tree will be modified, but the inventory file will not reflect the patch. 

A very simple fix would be to check that the inventory file and other necessary
files are writable before modifying the repository or the pristine directory --
this would save us much time here repairing our repositories by hand.

----------
messages: 2719
nosy: beschmi, droundy, drusenko, kowey, tommy
priority: critical
status: unread
title: Repository corruption

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


More information about the darcs-devel mailing list