You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@subversion.apache.org by Ivan Zhakov <ch...@gmail.com> on 2006/10/07 22:07:25 UTC
bug when wc-wc copy directory to itself
I'm just found bug, so first of I post it here in order to don't forget it.
On Windows, using Subversion 1.4.0
Recipe is clear:
rd /q /s db
rd /q /s wc
svnadmin create db
svn co file:///c:/tmp/db wc
mkdir wc\dir1
mkdir wc\dir1\dir2
svn add wc\dir1
svn ci -m "Revision 1" wc
svn cp wc/dir1 wc/dir1
svn cp wc/dir1 c:\tmp\wc\dir1
And you'll get:
C:\tmp>svn cp wc/dir1 wc/dir1
svn: Cannot copy path 'wc\dir1' into its own child 'wc\dir1\dir1'
C:\tmp>svn cp wc/dir1 c:\tmp\wc\dir1
svn: Can't create directory
'C:\tmp\wc\dir1\dir1\dir1\dir1\dir1\dir1\dir1\dir1\dir1\dir1\dir1\dir1\d
ir1\dir1\dir1\dir1\dir1\dir1\dir1\dir1\dir1\dir1\dir1\dir1\dir1\dir1\dir1\dir1\dir1\dir1\dir1\dir1\d
ir1\dir1\dir1\dir1\dir1\dir1\dir1\dir1\dir1\dir1\dir1\dir1\.svn\tmp\prop-base':
The filename or exte
nsion is too long.
So it seems Subversion checks child by path instead of URL.
--
Ivan Zhakov
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org