0

I have a subversion externals entry in a library folder which looks like this:

Z https://svn/Z/trunk/library/Z

Fetching external item into '/home/releases/50/library/Z' 
svn: OPTIONS of 'http://svn/repo/trunk/library/Z': could not connect to server (http://svn)

The externals URL was the same, but over the HTTP protocol. Having changed the externals to point to the HTTPS, I can't figure out why subversion is still trying to use the old URL.

Does subversion cache the externals path, and if so how can I clear this? If not, what else could be causing this?

I can check out from the correct (HTTPS) URL fine from the server.

NOTE: svn is an entry in the server's local hosts file, pointing to our subversion server's IP.

0

2 Answers 2

1

Change into /home/releases/50/library/Z and run svn info. I suspect you will find that it is still reporting the old repository root http://svn/repo/.

I believe you have two options. Just delete Z and do an svn update, which will retrieve a new copy using the updated externals. This may be the easiest if you don't have any un-versioned and un-committed stuff in that directory.

Or change into the directory and perform a relocate.

1
  • Thanks for your answer. I don't actually have a working copy, as the checkout fails - that's the most frustrating thing! Jan 13, 2011 at 10:33
1

Hopefully this answer will help someone else.

I had actually changed the externals in the root of my project, where an entry existed as follows:

library/Z [url]

and added the new one in the externals for library.

Unfortunately I hadn't commit the very root of the project somehow and this externals entry had priority over the one in the library folder.

2
  • Ah, thats weird. Do you really need it defined in two locations? You might save yourself some confusion in the future if you only have it defined in one place.
    – Zoredache
    Jan 13, 2011 at 17:49
  • No, I just need it defined in one place. My mistake was in not actually committing the externals change in the very root. You are right though, it was very confusing! Jan 16, 2011 at 0:30

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .