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

Re: BUG (?) in svn cp

From: <terry_at_eatoni.com>
Date: 2004-03-02 19:28:48 CET

>>>>> "Daniele" == Daniele Nicolodi <daniele@grinta.net> writes:

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

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

Hi Daniele. You should do this:

  $ export R=http://localhost:8080/svn/code
  $ svn cp $R/trunk $R/tags/0.6.1

What you have right now is expanding into something with two slashes
in it (${R}/trunk expands to http://localhost:8080/svn/code//trunk for
example).

By the way, you don't need wrap the assignment in quotes. That's only
needed if there's a space in the right hand side.

Terry

---------------------------------------------------------------------
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:27:54 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.