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

BUG (?) in svn cp

From: Daniele Nicolodi <daniele_at_grinta.net>
Date: 2004-03-02 19:19:23 CET

Hello. I have found that strange behavior:

$ svn --version
svn, version 1.0.0
   compiled Feb 24 2004, 20:38:43
...

$ svn info
Path: .
URL: http://localhost:8080/svn/code//trunk
Repository UUID: 967adb50-e5c9-0310-b011-97f0cbf72830
Revision: 162
Node Kind: directory
Schedule: normal
Last Changed Author: daniele
Last Changed Rev: 159
Last Changed Date: 2004-03-01 18:00:31 +0100 (Mon, 01 Mar 2004)

$ export R="http://localhost:8080/svn/code/"
$ svn cp ${R}/trunk ${R}/tags/0.6.1
svn: subversion/libsvn_subr/path.c:156: svn_path_join: Assertion
`is_canonical (base, blen)' failed.
Aborted

$ svn cp ${R}trunk ${R}tags/0.6.1
svn: PROPFIND request failed on '/tags/0.6.1'
svn: PROPFIND of '/tags/0.6.1': 405 Method Not Allowed (http://localhost:8080)

$ svn cp ${R}trunk ${R}tags/0.6.1
Committed revision 168.

I think there is a bug in the code that handles paths, double // should
not have special meaning in my opinion as usualy is.
The duoble path separator in the last part of url reported by svn info
i think was introduced by a svn switch.

Ciao

-- 
Daniele
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Tue Mar 2 19:18:30 2004

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

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