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

Re: Problem with File Creation

From: Sven Brueggemann <SBrueggemann_at_gmx.net>
Date: 2006-03-08 16:36:56 CET

Brian Russell wrote:

[error when adding a file that already exists in the repo]

>>>>"Error: Failed to add file 'e:\svn\a\b\c\d.txt': object of the same name
>>>>already exists"
> However, I am not sure that the state of the wc after this failure is
> desirable. Even after removing the offending file, an update produces an
> error of the form "File not found: transaction 'nn' etc".

I can't confirm this. Even if I delete the offending file without
reverting the local add first, I receive an error message on update that
tells me, what went wrong:

"Failed to add file 'e:\svn\a\b\c\d.txt': object of the same name is
already scheduled for addition."

Maybe that's because I only had that single file to be updated.

> What would be the recommended recovery action if the "already exists"
> error occurred, in order to be sure of a known state of the wc?

First remove the offending file (if it's versioned, unversion it first).
Then update.

When asking google for the new error message you receive, I find
threads from 2004 regarding case issues. Are you sure you are not
trapped by a case mismatch? What version of TSVN and svn are you using?

Kind regards


To unsubscribe, e-mail: users-unsubscribe@tortoisesvn.tigris.org
For additional commands, e-mail: users-help@tortoisesvn.tigris.org
Received on Wed Mar 8 17:57:22 2006

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