Victor HD
Victor HD

Reputation: 181

Tortoise SVN Error after update: 'The specified path has an unexpected status'

My tortoise SVN has one issue related with the externals file that I'm unable to identify, this is happening during the checkout process.

After do "commit" and download one fresh checkout this path has this unexpected status.

Exernal Failed: C:\Archive\test4\src\STM\SDK_A18_C052 Error: The specified path has an unexpected status

Please verify my external related to this path:

url: ^/Platform/Integration/ST_40/trunk/src/STM/SDK_A18_C052 local path: src/STM/SDK_A18_C052

1- I tried to create the externals again.

2- I tried to delete this directory and create it again.

3- I tried to realocate this file.

4- I tried to redo the checkout.

Best Regards, Mr. Desperate Man

Upvotes: 18

Views: 10239

Answers (7)

Jozhn
Jozhn

Reputation: 21

Easy way to solve this problem without commit or add externals:

  1. Remove external file from svn - properties - externals
  2. Remove external file itself
  3. Run svn update .
  4. Run svn revert . //revert root directory
  5. Run svn update .

Upvotes: 2

Kosta Stojanovski
Kosta Stojanovski

Reputation: 143

Inspired from the post above I have used another step (step 3) where you don't need to create the external again but do revert. After the change the steps look like:

  1. Remove external from svn:externals
  2. Make SVN update
  3. Revert
  4. Make SVN update

Upvotes: 6

Tobias Knauss
Tobias Knauss

Reputation: 3509

For me there was no need to rename or commit anything.

I found useful information here at stackoverflow
and after reading it, I just tried switch command and kept the path (so I did not actually switch), which caused the faulty external file to be deleted and re-added.

Problem solved in 1 step.

Upvotes: 1

Delimitry
Delimitry

Reputation: 3027

How I fixed this problem:

  1. Remove external from svn:externals
  2. Make SVN update
  3. Add external back to svn:externals
  4. Make SVN update

Upvotes: 19

hardmooth
hardmooth

Reputation: 1262

I had the same issue with an external file and was unwilling to make a commit (as suggested by Shadow76)

In this bug report I found the following procedure without a commit:

  1. change the local name of the external (file or folder)
  2. make an SVN Update
  3. change the local name of the external back to before step 1
  4. make another SVN Update

which resulted in a successful external.

Upvotes: 6

mcdon
mcdon

Reputation: 5049

I had the same issue recently. It turned out my external conflicted with an existing folder in my repository.

You can use repo-browser to look for a conflicting folder in your repository. If you find a folder that matches the local path of your external, you'll have to delete or rename the offending folder in your repository, or use a different local path for your external.

Upvotes: 3

Shadow76
Shadow76

Reputation: 61

  1. Remove external
  2. Commit
  3. Remove folder for external
  4. Commit
  5. Add external again
  6. SVN Update

Upvotes: 3

Related Questions