[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: Commit error on Added files Reference to non-existent node in filesystem 'C:/Subversion/db'

From: David Weintraub <qazwart_at_gmail.com>
Date: Wed, 16 Jul 2008 13:49:33 -0400

I'm just attempting to clarify what you're doing: Let's say that you
want to add a bunch of files to http://myurl/svn/project as project
"FOO", you are do the following steps:

STEP #1: You create a repository location for your project FOO

     C:\> svn mkdir http://myurl/svn/project/foo -m"Adding project
'FOO' to repository"

STEP #2: You create the trunk, branches, and tags folder for the project

    C:\> svn mkdir http://myusr/svn/project/foo/trunk
[...]/foo/branches [...]/foo/tags -m'Adding branches, and tags to FOO'

STEP #3 You check out project FOO to your local machine:

    C:\> svn co http://myusr/svn/project/foo/trunk foo

STEP #4 You add the files you want to project FOO

    C:\> chdir foo
    C:\FOO> xcopy C:\FOO-SOURCE\*.* . /s/e/q

STEP #5: Add the files copied into your Subversion work area to your
Subversion repository

    C:\FOO> svn add --force *

STEP #6: Commit the changes

    C:\FOO> svn commit -m"Added source files for project 'FOO'"

The problem you are having occurs in STEP #5.

--
David Weintraub
qazwart_at_gmail.com
On Tue, Jul 15, 2008 at 10:13 AM, Hagan, Laura
<laura.hagan_at_parivedasolutions.com> wrote:
> Hi,
>
>
>
> 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
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: users-help_at_subversion.tigris.org
Received on 2008-07-16 19:49:56 CEST

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.