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

7

17

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

Dionysius answered 18/3, 2015 at 18:53 Comment(0)
T
19

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
Tuxedo answered 30/12, 2015 at 11:40 Comment(2)
renaming svn:external name is sufficientSzabo
This is the only solution that worked for me. Simple, and can be done on the command-line. Thanks.Epiphora
N
6

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.

Nejd answered 27/8, 2015 at 9:53 Comment(4)
It might have been enough to delete the local (external) file and update from the repositoryNejd
Your answer worked, during some years we never had this issue in the past, but now isn't working, probably it was a conflict generated by some reason in the next attempt I'll delete the files at the project and commit again.Dionysius
This worked! To make it clearer: In your working copy open the SVN properties of the folder, edit externals and change the local name of the external in question here. Then do the update. After that you can revert the props and update again.Szabo
@VictorHD: If my answer worked, would you accept my answer? See here: meta.stackexchange.com/a/5235/300359Nejd
I
6

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
Insoluble answered 28/8, 2017 at 17:40 Comment(0)
V
3
  1. Remove external
  2. Commit
  3. Remove folder for external
  4. Commit
  5. Add external again
  6. SVN Update
Vocalise answered 15/5, 2015 at 14:0 Comment(1)
I tried your tip without success the file still is with unexpected status.Dionysius
C
3

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.

Conroy answered 9/7, 2015 at 18:24 Comment(0)
B
1

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.

Breadboard answered 16/3, 2017 at 15:47 Comment(0)
S
1

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 .
Sangria answered 2/8, 2021 at 3:12 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.