Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Subversion Merge "Path Not Found"

Tags:

svn

subclipse

In my Subversion project I have branched from the trunk, made some changes and I am now reintegrating that branch back onto the trunk. When I try to do the merge, I get the following error message, which appears to be complaining about a particular revision.

Merge status operation failed.
Filesystem has no item
svn: '/svn/repo/!svn/rvr/24066/path/to/branch/newProject' path not found

Note: The branch was created at revision 24068.

Can anyone explain why this error occurs and how it can be resolved?

EDIT

The version of SVN and Subclipse I am using is 1.6.

like image 599
ConMan Avatar asked Jul 01 '14 15:07

ConMan


3 Answers

For anyone who happens to stumble upon this question, here is a few things that I have picked up since posting this question:

  1. Check the path it is saying doesn't exist actually exists, svn is usually right about these things.
  2. It can sometimes be a case sensitivity issue, so check for those rogue capitalisation mistakes.
  3. If you are using svn over http, paste the url into your browser and check that you can see the file.
  4. Try doing a svn cleanup or in eclipse Team > Cleanup. This is designed for removing locks which are left from when an operation doesn't complete successfully, it has fixed a few head scratchers for me in the past!
  5. Check for rogue svn.info files. This file should exist in the root of your branch, and can sometimes cause problems if it exists in other areas of the project and isn't kept up to date. I saw this problem at work on 26/06/15 with svn 1.8 and eclipse with subversive and the svnkit 1.8 connector, which was preventing us from merging. The solution was to delete all the svn.info files except the one in the root of the project.
like image 149
ConMan Avatar answered Nov 18 '22 03:11

ConMan


I ran into this issue and found that it was caused by one of the Cached Repositories in TortoiseSVN.

To fix it I went to TortoiseSVN Settings, Log Caching > Cached Repositories and deleted the cache.

SVN Cached Repository

like image 43
msmucker0527 Avatar answered Nov 18 '22 03:11

msmucker0527


Had the same error doing "show log" on a branch. Clearing the cache as msmucker0527 described cleared the issue for me. Actually did "Update" of the cache log, rather than "Delete". Found "Settings" under Start / TortoiseSVN / Settings

like image 23
flashlowe Avatar answered Nov 18 '22 02:11

flashlowe