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

"Unsupported special file type '' " by co or export

From: Adrian May <adrian.may_at_blue-cell-networks.com>
Date: 2005-02-28 12:43:39 CET

Hi folks,

This seems like a pretty basic bug. I'm trying to import then export or
checkout a very ordinary directory tree and it always seems to blow the
first time it has to cd ..

I have an old repository where I can get stuff out of, but I cant
remember exactly how I made it. I'm using 1.1.3 without any patches,
using the apr stuff that comes with the source distribution and it
doesn't make a difference whether Im using Berkeley DB or not and all
the config files are at default apart from allowing anonymous read access.

Heres what I import:

0 root@devox:~# ls -R svnin
svnin:
branches tags trunk

svnin/branches:

svnin/tags:

svnin/trunk:
beamzone doc server tools

svnin/trunk/beamzone:

svnin/trunk/doc:

svnin/trunk/server:

svnin/trunk/tools:
makebeamzone.sh

Pretty unadventurous I'd say

0 root@devox:~# svnadmin create /opt/svndata/BCN2

Then I set write access for everyone:
0 root@devox:~# vi /opt/svndata/BCN2/conf/svnserve.conf

Then the import looks fine:

0 root_at_devox:~# svn import svnin svn://localhost/BCN2 -m "Born"
Hinzufügen svnin/trunk
Hinzufügen svnin/trunk/tools
Hinzufügen svnin/trunk/tools/makebeamzone.sh
Hinzufügen svnin/trunk/beamzone
Hinzufügen svnin/trunk/doc
Hinzufügen svnin/trunk/server
Hinzufügen svnin/branches
Hinzufügen svnin/tags

Revision 1 übertragen.

But try getting it out again:

0 root_at_devox:~# svn export svn://localhost/BCN2 svnout
A svnout
A svnout/trunk
A svnout/trunk/beamzone
A svnout/trunk/tools
svn: Unsupported special file type ''

0 root@devox:~# rm -rf svnout

0 root_at_devox:~# svn co svn://localhost/BCN2 svnout
A svnout/trunk
A svnout/trunk/beamzone
A svnout/trunk/tools
A svnout/trunk/tools/makebeamzone.sh
svn: In Verzeichnis 'svnout/trunk/tools'
svn: Unsupported special file type ''

0 root@devox:~# rm -rf svnout

0 root_at_devox:~# svn co svn://localhost/BCN2/trunk svnout
A svnout/beamzone
A svnout/tools
A svnout/tools/makebeamzone.sh
svn: In Verzeichnis 'svnout/tools'
svn: Unsupported special file type ''

With debug info it says:

0 root_at_devox:~# svn co svn://localhost/BCN2/trunk svnout2
A svnout2/beamzone
A svnout2/tools
A svnout2/tools/makebeamzone.sh
subversion/libsvn_wc/log.c:329: (apr_err=155009)
svn: In Verzeichnis 'svnout2/tools'
subversion/libsvn_subr/subst.c:846: (apr_err=200007)
svn: Unsupported special file type ''

But:
0 root_at_devox:~# svn import svnin svn://localhost/BCN2/subdir -m "Born
> "
Hinzufügen svnin/trunk
Hinzufügen svnin/trunk/tools
Hinzufügen svnin/trunk/tools/makebeamzone.sh
Hinzufügen svnin/trunk/beamzone
Hinzufügen svnin/trunk/doc
Hinzufügen svnin/trunk/server
Hinzufügen svnin/branches
Hinzufügen svnin/tags

Revision 2 übertragen.

0 root_at_devox:~# svn export svn://localhost/BCN2/subdir svnout3
A svnout3
A svnout3/trunk
A svnout3/trunk/beamzone
A svnout3/trunk/tools
A svnout3/trunk/tools/makebeamzone.sh
A svnout3/trunk/doc
A svnout3/trunk/server
A svnout3/branches
A svnout3/tags
Exportiert, Revision 2.

So it looks like the golden rule is never to import anything straight
into the repository path itself but always to a subdirectory of it. That
doesnt square though with the Quick Start in the book, which I
successfully followed verbatim.

Ad.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Mon Feb 28 14:49:49 2005

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

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