Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Tortoise SVN reports files as "missing" or "deleted" although they are present on disk

Tags:

tortoisesvn

When I open the commit dialog in tortoise svn, I can see that a lot of files are either missing or deleted, but I have them on disk.

What is the difference between missing and deleted?

How are they either missing or deleted if I have them?

(svn status does not report those files)

like image 260
Anders Lindén Avatar asked Feb 24 '16 09:02

Anders Lindén


People also ask

How do I recover deleted files from TortoiseSVN?

Getting a deleted file or folder back If you have not committed a delete operation to the repository, then use TortoiseSVN -> Revert to retrieve the file. If you have already committed the deletion: Use the log dialogue box to find out the revision of your file.

What does red exclamation mark mean in TortoiseSVN?

As soon as you start editing a file, the status changes to modified and the icon overlay then changes to a red exclamation mark. That way you can easily see which files were changed since you last updated your working copy and need to be committed.

What is TortoiseSVN status cache?

TortoiseSVN cache process checks repository checkouts for changes and displays nice overlay icons in Windows Explorer. Instead of disabling the cache, you can optimize the paths where TSVNCache.exe looks for repositories so it only actually looks at working copies and not your whole disk(s) drive(s).


2 Answers

  1. missing: means the file is actually missing in your working copy. This happens if you delete the file without using the svn command. You can restore the missing file by updating the working copy or using the revert command.

  2. deleted: the file is deleted in svn, i.e. it is marked for deletion on the next commit. This status is shown even if the file itself is still in your working copy. If it's still in the working copy, it will be removed on the next commit. And the next commit will also remove the file from the repository.

like image 70
Stefan Avatar answered Sep 21 '22 03:09

Stefan


  • missing = file exists in the repository but not in your working copy
  • deleted = file has been deleted in your working copy and is about to be deleted in the repository
like image 24
splash Avatar answered Sep 22 '22 03:09

splash