Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

SVN says file is in version control when it isnt

Tags:

svn

I run 'svn status' and I get

?      app/views/ad_report

But when I try to run 'svn add app/views/ad_report', it says it's already in version control, but status just said it isn't.

svn: warning: 'app/views/ad_report' is already under version control

There is a folder with the same name in a different path, 'app/views/backend/ad_report', but there are a lot of same folder names, but different path in this repo, and all those have been added.

Is svn getting these two folders mixed up? How do I get around this?

like image 763
AdamB Avatar asked Nov 22 '10 21:11

AdamB


Video Answer


1 Answers

Did you move the folder from app/views/ad_report to app/views/backend/ad_report before? If that's true, did you copy the .svn folder with it? That's where it might be coming from. Either delete it or move it back and use the svn move command to move it directly in the repo.

like image 62
Femaref Avatar answered Nov 10 '22 09:11

Femaref