On Fri, Sep 24, 2010 at 5:23 PM, Daniel Shahaf <d...@daniel.shahaf.name> wrote: > Luis Rojas wrote on Fri, Sep 24, 2010 at 15:16:17 -0400:
>> >> We actually suspect the disk, but we don't have enough evidence to >> suggest the disk is faulty, we are a small development team, and is >> very rarely we submit at the same time, i am not saying it cant happen >> but is very unlikely. also, as far as i know, no other process where >> accessing the repository at the time. >> > > "No other process" --- did you mean: no other process except for the > post-commit hook script? Could be a broken pre-commit or post-commit script: I've actually seen such scripts miswritten and atempt to "rsync -av --delete $srcdir/ $targetdir/', and forget to set $targetdir. Hilarity ensued. The safe way to rebuild and update a full repository is: mv $repo $repo.save svnadmin hotcopy $repo.save $repo.new rsync -av --delete $repo.save/ $repo.new/ ---dry-run # confirm changes, and objects like symlinks, which older Subversion does not handle mv $repo.new $repo That gets your files on an entirely new chunk of disk, which can help protect you from disk failure issues.