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

Re: svn commit: rev 1877 - trunk/subversion/libsvn_wc trunk/subversion/tests/clients/cmdline

From: Philip Martin <philip_at_codematters.co.uk>
Date: 2002-05-05 20:05:36 CEST

Karl Fogel <kfogel@newton.ch.collab.net> writes:

> philip@tigris.org writes:
> > + /** ### comparing URLs, should they be cannonicalized first? */
> > + if (! svn_stringbuf_compare (entry->url, url))
> > + return
> > + svn_error_createf (SVN_ERR_WC_OBSTRUCTED_UPDATE, 0, NULL, pool,
> > + "URL '%s' doesn't match existing URL '%s' in '%s'",
> > + url->data, entry->url->data, path->data);
> > + }
>
> I think there should be no need to canonicalize them -- they should
> already be in canonical form. If they're not, that's a bug we'd want
> revealed anyway (?)...

Hmmm....

$ svn co -d ~/wc http://svn.collab.net:81/repos/svn/trunk/tools/dev
$ svn co -d ~/wc http://svn.collab.net:81/repos/svn/trunk//tools/dev

../svn/subversion/libsvn_wc/adm_files.c:1125
svn_error: #21034 : <Obstructed update>
  URL 'http://svn.collab.net:81/repos/svn/trunk//tools/dev' doesn't match existing URL 'http://svn.collab.net:81/repos/svn/trunk/tools/dev' in '/home/pm/wc'

-- 
Philip
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sun May 5 20:06:35 2002

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