You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by dhanushka ranasinghe <pa...@gmail.com> on 2012/06/20 07:01:20 UTC

svn warning when checkout.

Hi guys ,

i have svn repo that can be checkout from both http and https, but commits
are only allowed via https.  issue is when we checking out svn form http
... i get following waring ...

is there any reason for that

Fetching external item into 'modules/'
svn: warning: '*http*://svn.khc.com/repos/home/tests'
*is not the same repository as*
*'https://svn.khc.com/repos/home'


Thank You
Dhanushka
*

Re: svn warning when checkout.

Posted by Nico Kadel-Garcia <nk...@gmail.com>.
On Wed, Jun 20, 2012 at 1:15 AM, Ryan Schmidt
<su...@ryandesign.com> wrote:
>
> On Jun 20, 2012, at 00:01, dhanushka ranasinghe wrote:
>
>> i have svn repo that can be checkout from both http and https, but commits are only allowed via https.  issue is when we checking out svn form http ... i get following waring ...
>>
>> is there any reason for that
>>
>> Fetching external item into 'modules/'
>> svn: warning: 'http://svn.khc.com/repos/home/tests'
>> is not the same repository as
>> 'https://svn.khc.com/repos/home'
>
> It sounds like your externals are using absolute https URLs, and Subversion complains that this does not match the URL you checked out the rest of the repository from when you check out with http.
>
> I don't know why Subversion is caring about that. But have you considered using relative URLs for your externals? Usually that's better than using absolute URLs including the protocol.

Did you do a "svn switch" somewhere in there, and neglect or fail to
switch the contents of the externals in your working copy? And can you
show your "svn:externals" content?

Re: svn warning when checkout.

Posted by Ryan Schmidt <su...@ryandesign.com>.
On Jun 20, 2012, at 00:01, dhanushka ranasinghe wrote:

> i have svn repo that can be checkout from both http and https, but commits are only allowed via https.  issue is when we checking out svn form http ... i get following waring ...
> 
> is there any reason for that 
> 
> Fetching external item into 'modules/'
> svn: warning: 'http://svn.khc.com/repos/home/tests'
> is not the same repository as
> 'https://svn.khc.com/repos/home'

It sounds like your externals are using absolute https URLs, and Subversion complains that this does not match the URL you checked out the rest of the repository from when you check out with http.

I don't know why Subversion is caring about that. But have you considered using relative URLs for your externals? Usually that's better than using absolute URLs including the protocol.