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

Imported subdirectory checkout problems

From: Maciej & Branka <mmandb_at_sympatico.ca>
Date: 2003-08-23 12:31:40 CEST

Hi I'm the first time user of the subvision version 0.27. compiled on SuSe 8.2.

I have noticed a strange behavior when I tried to accessed (checkout) a subdirectory
within the repository right after the import. What I did was:

 1 - svnadmin create /path/to/repository
 2 - cd /local/directory
 3 - svn import test file:///path/to/repository -m ""

test directory has layout: test/stuff
Now if I try to checkout test as:

 svn co file:///path/to/repository => OK
 svn co file:///path/to/repository/test/stuff => WRONG!!!

 I'm getting:

svn: Bad URL passed to RA layer
svn: Source URL doesn't exist: file:///path/to/repository/test/stuff.

But, if I checkout file:///path/to/repository move stuff to stuff_second
check it in and do:
svn co file:///path/to/repository/test/stuff_second => IT WORKS

In summary:
You can't checkout an imported subdirectory unless you have moved it.
Is it correct behavior, bug or am I missing something?

Received on Mon Aug 25 16:55:26 2003

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