[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: svn does not match expected url

From: Nico Kadel-Garcia <nkadel_at_gmail.com>
Date: Wed, 4 Jan 2012 09:19:17 -0500

On Tue, Jan 3, 2012 at 7:04 PM, Luis Mochan <mochan_at_fis.unam.mx> wrote:
> Today I tried to 'svn update' a very old folder from a very old repository

You don't mention which old server software, or client software, you
used to check this old folder out.

> name. Its full name is em.fis.unam.mx and its short name is em, so I
> sometimes use
>    svn ... svn://em.fis.unam.mx/...
> and sometimes just
>    svn ... svn://em/...

Mixing and matching will cause trouble. It should be possible to use
"svn switch" to set the URL to be consistent throughout your working
copy.

Did you maybe have an svn:extern you were dealing with?

> I checked manually that my folder was up to date and then removed it
> to check out a fresh copy, so now I cannot reproduce the error.
>
> Nevertheless, my questions are: Is this a known issue? Should I always
> use the full name of the repository host? Is there a decent way to
> correct the problem (in case it appears again in the future)?

I recommend fully qualified host names. If you have a server named
"svn" at work" and one named "svn" at home, life gets confusing.

What you have in /etc/hosts, and even searchable DNS domains in
/etc/resolv.conf, should not matter as long as the name resolves by
hook or by crook.

> Thanks and best regards,
> Luis
>
> --
>
>                                                                  o
> W. Luis Mochán,                      | tel:(52)(777)329-1734     /<(*)
> Instituto de Ciencias Físicas, UNAM  | fax:(52)(777)317-5388     `>/   /\
> Apdo. Postal 48-3, 62251             |                           (*)/\/  \
> Cuernavaca, Morelos, México          | mochan_at_fis.unam.mx   /\_/\__/
>
> O< ascii ribbon campaign - stop html mail - www.asciiribbon.org
>
>
Received on 2012-01-04 15:19:51 CET

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.