darcs repository web UI and hosting app. This is the main darcsden trunk, which also runs hub.darcs.net. (https://hub.darcs.net)
#28forking then deleting a private repo makes repos unviewable ?
Reported by Polarina:
This can be reproduced by the following simple steps:
1. Create a new repository named A, mark it as private
2. Open your new repository
3. Hit the "fork" button
You should now have duplicate repositories. I can then open one of those
repositories, and delete it. It will tell me it was deleted
successfully, which it did. But only one of those new repositories get
deleted. After that, the following error occurs when trying to open any
of the remaining repositories:
> not found
> Sorry.. your GET request to /Polarina/implvz failed. The details have
been logged. > repository invalid
- description updated
- description updated
This is part of a larger issue: maintaining information about repos both in db and on filesystem provides opportunity for bugs like this one any time the two get out of sync (eg through non-atomic actions.)
Fixed by making fork more robust.
- status set to closed