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

assertion failed svn cp URL->URL

From: John Belli <JABelli_at_rtelectronics.com>
Date: 2006-02-11 00:38:32 CET

I was trying to rearrange a branch, and I ran into this bug (on Win XP). I
didn't see anything similar in the issue tracker.

C:\> md foo

C:\> svnadmin create foo

C:\> svn mkdir file:///foo/bar -m "mkdir bar"

Committed revision 1.

C:\> svn mkdir file:///foo/bar/baz -m "mkdir bar/baz"

Committed revision 2.

C:\> svn ls --recursive file:///foo
bar/
bar/baz/

C:\> svn rm file:///foo/bar -m "deleted bar"

Committed revision 3.

C:\> svn cp -r2 file:///foo/bar/baz file:///foo/bar -m "resurrect bar/baz as
bar"
Assertion failed: ! svn_path_is_empty (path), file
C:\Home\brane\src\svn\releases\subversion-1.3.0\subversion\libsvn_client\cop
y.c, line 214

This application has requested the Runtime to terminate it in an unusual
way.
Please contact the application's support team for more information.

C:\> svn --version
svn, version 1.3.0 (r17949)
   compiled Jan 15 2006, 23:18:48

It's prefectly possible to resurrect it with a different name and then
rename it:

C:\> svn cp -r2 file:///foo/bar/baz file:///foo/bar_ -m "resurrect bar/baz
as bar_"

Committed revision 4.

C:\> svn mv file:///foo/bar_ file:///foo/bar -m "renamed bar_ to bar"

Committed revision 5.

-- 
John Belli, Programmer
Refrigerated Transport Electronics, Inc.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sat Feb 11 13:00:09 2006

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.