9805: assumes an existence of ".svn/format", SVN integration doesn't work after .svn/format files are gone

For some reason - my .svn folders don't contain ".svn/format" files any more (probably caused by a recent TortoiseSVN update)

IDEA doesn't see the project as part of SVN and throws the following exception:

2009-04-15 02:30:52,691 [2336013]   INFO - vcs.impl.AbstractVcsHelperImpl - svn: 'C:\_svn\clfdev\trunk\devmain\DEV5_COMP\Maven' is not a working copy
svn: Cannot read from 'C:\_svn\clfdev\trunk\devmain\DEV5_COMP\Maven\.svn\format': C:\_svn\clfdev\trunk\devmain\DEV5_COMP\Maven\.svn\format (The system cannot find the file specified)
com.intellij.openapi.vcs.VcsException: svn: 'C:\_svn\clfdev\trunk\devmain\DEV5_COMP\Maven' is not a working copy
svn: Cannot read from 'C:\_svn\clfdev\trunk\devmain\DEV5_COMP\Maven\.svn\format': C:\_svn\clfdev\trunk\devmain\DEV5_COMP\Maven\.svn\format (The system cannot find the file specified)
    at org.jetbrains.idea.svn.history.SvnHistoryProvider.getRevisionsList(SvnHistoryProvider.java:179)
    at org.jetbrains.idea.svn.history.SvnHistoryProvider.createSessionFor(SvnHistoryProvider.java:134)
    at com.intellij.openapi.vcs.impl.AbstractVcsHelperImpl.showFileHistory(AbstractVcsHelperImpl.java:118)


See ".svn/format files gone" (http://tortoisesvn.tigris.org/ds/viewMessage.do?dsMessageId=1515106&dsForumId=4061)
and the answer is no library should assume an .svn folder structure ("An app should never rely on something to be present in the .svn folder, because the format may change")

Right now, SVN integration doesn't work at all as long as there are no "format" files.

0
7 comments
Avatar
Permanently deleted user

this is because IDEA doesn't support svn 1.6 new working copy format (yet)

0
Avatar
Permanently deleted user

I had same problem. I found a solution:

1. Download beta-vesion of new svn-kit:
          http://svnkit.com/download.php ==> http://www.svnkit.com/org.tmatesoft.svn_1.3.0.standalone.zip
2. Copy svnkit.jar from this archive to Idea folder : "/plugins/svn4idea/lib"
3. Restart Idea.

It works for me.

0

Right, thanks!! It mostly works, but sometimes it doesn't - reverting multiply files din't work correctly, then I got another error message ... But it's better already

0
Avatar
Permanently deleted user

Unfortunately, not all svn-kit functions work properly. But its much better than formerly however.

0
Avatar
Permanently deleted user

It doesn't work for me at all

0
Avatar
Permanently deleted user

Does idea mark files by red? Does history work? And main question, what is version of your idea?

0
Avatar
Permanently deleted user

yaroslavm wrote:

Does idea mark files by red? Does history work? And main question, what is version of your idea?

IDEA 7.0.5. Now I noticed that this thread is IDEA 8.1.1 EAP related. Sorry.

0

Please sign in to leave a comment.