"file not found" error while commiting

6

I have a working copy, checked out from SVN repository.

When i'm trying to commit, i get following error:

svn: File not found: revision 57, path '/trunk/path/to/my/file/logo-mini.jpg'

I've found this file in the repo and noticed, that it has only one revision - 58.

I don't understand, why SVN complains about this file, when it is presented and why it points to revision 57 instead of 58 ?

I've also renamed the grand-grand-grand-parent folder of this file. Possible, this is an issue ...

Update

Detailed error description, that i've got from Cornerstone app (Mac OS X):

Description : Could not find the specified file.
 Suggestion : Check that the path you have specified is correct.

Technical Information
=====================

      Error : V4FileNotFoundError
  Exception : ZSVNNoSuchEntryException

Causal Information
==================

Description : Commit failed (details follow):
     Status : 160013
       File : subversion/libsvn_client/commit.c, 867

Description : File not found: revision 57, path '/trunk/assets/themes/base/article-content/images/logo-mini.jpg'
     Status : 160013
       File : subversion/libsvn_fs_fs/tree.c, 663

So, i've renamed "/trunk/assets/themes directory" to "/trunk/assets/skins", while improving project structure.

I've tried following:

  • updating /trunk/assets/themes directory
  • cleaning
  • deleting from filesytem and checking out again
  • reverting entire /trunk/assets/themes directory to the HEAD revision. Even this does't helps. Still getting the same error.

I've got no results.

AntonAL

Posted 2011-03-06T20:26:35.487

Reputation: 633

What does your log say? svn log path/to/your/logo-mini.jpg? – Lekensteyn – 2011-03-06T20:31:43.147

I cannot see a log for this file in my working copy, because it's grand-grand-grand-parent folder was renamed. AFAIK, it was sheduled for deletion and all files was deleted, leaving empty folders. – AntonAL – 2011-03-06T20:39:17.560

Figured out, what you mean. It says: r58 | AntonAL | 2011-01-23 16:00:56 +0300 (вс, 23 янв 2011) | 140 lines. Anyway, this is rev 58 – AntonAL – 2011-03-06T20:56:33.593

see update in my question – AntonAL – 2011-03-06T21:06:53.283

When i'm doing svn log --verbose, i see, that this file was added in revision 58 (r58) – AntonAL – 2011-03-06T21:21:51.627

Answers

0

Cornerstone requires that you manually set working copy version in Cornerstone that matches version of Subversion on server. You can change it by selecting Working Copy -> Upgrade Working Copy...

I've just figure out the dates in this post, but I'm gonna commit the answer anyway just in case someone is still searching for an answer

leta1983

Posted 2011-03-06T20:26:35.487

Reputation: 1