Commit error on Added files Reference to non-existent node in filesystem 'C:/Subversion/db'
From: Hagan, Laura <laura.hagan_at_parivedasolutions.com>
Date: Tue, 15 Jul 2008 09:13:42 -0500
I am having an issue adding new files to a new repository when I perform a commit. I have a large existing project (3900 files with up to five levels of subfolders in some places). I create a directory in my new repository, then map a working directory on my server to that folder that contains. At this point there is nothing in the working folder. Next I copy the 3900 files into the working directory. I Add the entire folder structure/files in one command to Subversion. When I try to do a Commit on the top level working directory, I get the error "Reference to non-existent node 'xxxxxx' in filesystem 'C:/Subversion/db'" when it is about 75% through the process. This error usually occurs on files that are in the folders 4 levels deep. These files are just images. The reading I did suggested the Berkley DB is corrupt but I am using the FileSystem instead. Also, how can this repository be corrupt if I am adding files to it for the first time?
In an effort to get the rest of the files into Subversion, I remove the .svn folder from the folder w/issues, move on to the next error and repeat until I am able to get the rest of the files into the repository.
I have tried to add and commit the same files to a completely different server/repository and got the same error, but on a different files. I even tried a new repository on the original server and got the same error. The next thing I tried was to Add and Commit the files in smaller chunks. My folder structure is Web\Themes\default\images\roleIcons\xxx.jpg. Instead of adding files at the top level folder Web, I started at the bottom level folder and worked my way up. I am able to add/commit the files in one chunk all the way up to the Themes folder without errors. This folder contains only 800 files. All of the other folders under the Web folder contain the remainder 3100 files.
My question is, why am I getting this error? Can you only Add/Commit a certain number of files at one time? I am trying to get a hand full of existing projects into Subversion so we can switch over from Source Safe but given these issues I am hesitant.
This is an archived mail posted to the Subversion Users mailing list.