# Failed to update missing (!) added (A) files

From: Pavel Ivashkov <fuurin_at_gmx.net>
Date: 2007-03-30 23:15:48 CEST

Hello all,

I have a (probably P3) issue, need to confirm it before posting a
bug.

Steps to reproduce:
* in any clean working copy
* schedule a file (foo) for addition (now in status A added)
* manually delete the file (now in status ! missing)
* try to update the file (svn up foo)

Error:
svn: Can't copy '.svn\text-base\foo.svn-base' to '.svn\tmp\foo.tmp.tmp':
The system cannot find the file specified.

It seems that Subversion doesn't track the file after it have been
scheduled for addition and relies on the user version.

Checking the code for file status handling you can see
svn_wc_status_missing: under v.c., but is missing

So I guess, if this file is controlled then it has to be recoverable
in this situation, i.e. the update command should restore the file
in working copy.

Is it a known behaviour, or there is already an issue in tracker (I
cannot find such myself)?

--
Pavel                mailto:fuurin@gmx.net
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org