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

Re: "The system cannot find the file specified" during update

From: Ryan Schmidt <subversion-2008c_at_ryandesign.com>
Date: Tue, 21 Oct 2008 03:37:51 -0500

On Oct 21, 2008, at 02:52, Ruslan Sivak wrote:

> Stefan Sperling wrote:
>> On Tue, Oct 21, 2008 at 03:09:51AM -0400, Ruslan Sivak wrote:
>>> We've had these kind of issues on an off for about a month now.
>>> They seem to just go away by themselves, but I wanted to see if
>>> anyone here has an idea of what's going on. I can't seem to
>>> make this one go away.
>>> I switch to a certain directory and do an svn update. It updates
>>> a bunch of files and then errors out with
>>> svn: In directory '.'
>>> svn: Can't open file '.svn\tmp\text-base\fc228205-7e93-ee10-
>>> e903ca61ec859384.jpg
>>> .svn-base': The system cannot find the file specified.
>>> Any idea of what could be wrong here?
>> Please provide more information.
>> Have you checked whether the file really there?
>> Are you using Windows or Linux with a FAT partition?
>> Is the working copy on a filesystem which does not treat filenames
>> as case-sensitive (i.e. it cannot tell apart lower case from upper
>> case letters)? If so, was that file originally checked in under a
>> name which only differs in case from what the error is printing?
> Thank you for your help. The file did indeed turn out to be in
> repository twice - in two differenent cases.

Ok. You can install a pre-commit hook to prevent this from happening
in the future:


> I guess this goes back to my issue of committing the files. The
> changes happen directly on the file system, and nightly I issue an
> svn commit as part of a batch process. The problem, however, is
> that it doesn't commit deletiions. Is there still no way to pass a
> parameter to the svn executable to tell it to commit the deletions
> as well?

Run "svn rm" for each file you want to delete. Then "svn ci".

Sounds like you've already deleted the files without informing
Subversion, and would like to now inform Subversion of this after the
fact. To find out which files you need to "svn rm", you could run
"svn st" -- those lines beginning with "!" are the files which were
improperly removed.

You generally don't want to detect things after the fact. Use the
correct "svn" commands at the time the action occurs. See the FAQ:


To unsubscribe, e-mail: users-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: users-help_at_subversion.tigris.org
Received on 2008-10-21 10:38:17 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.