Magicgunnar
Magicgunnar

Reputation: 220

Can't perform a cleanup in svn

I try to make a cleanup in Zend Studio 8. I get this message:

Some of selected resources were not cleaned.

svn: Error processing command 'upgrade-format' in 'C:\Users\Gunnar\Zend\workspaces\DefaultWorkspace7\scripts\release'
svn: Unexpected format number:
   expected: 9
     actual: 10

What does this mean?

And how do I solve it?

Upvotes: 1

Views: 345

Answers (1)

David W.
David W.

Reputation: 107080

Go to the working directory in a terminal, and go into the .svn directory there. There's a file called format. Cat out that file. It consists of a single number. This is the number of the working directory format.

Format 10 is for Subversion 1.6. I take it that format 9 is for Subversion 1.5. Did you mix up the command line and built in Zend Subversion clients by any chance, or maybe use TortiousSVN? It is possible that Zend is using an older format for the working copy than the other Subversion client, and that Subversion client upgraded the working copy for you.

You must be very careful when using multiple Subversion clients. Subversion does not guarantee that the format of the working directory for one client is compatible with the working directory for another client.

Unfortunately, I can't tell you want needs to be done until I know more about your situation.

  • What OS are you on?
  • Is Zend a plugin to Eclipse? (The screen shots I saw look that way).
  • Do you have a Subversion command line client or TortoiseSVN installed? (Tortoise, by the way installs a Subversion command line client.
  • Did you mix up Subversion clients in the same working directory?
  • Is the Subversion client a plugin for Zend. I've never used Zend, so I can't say. Can you find out what version of the Subversion client plugin in Zend? And, also your other Subversion clients too, if you can.

If you mixed up clients, go to the client you used that updated your working directory. Check in all of your changes in there, then checkout a fresh copy in Zend and be careful with mixing Subversion clients.

If you can answer the above questions, I might be able to help you out a bit more. If Zend is an Eclipse plugin, you might be able to upgrade your Eclipse Subversion plugin (either Subclipse or Subversive) to the latest version of the client API. Then upgrade any other client to the same version number.

Upvotes: 1

Related Questions