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

Re: svn: No repository found

From: Ryan Schmidt <subversion-2007a_at_ryandesign.com>
Date: 2007-03-12 04:03:30 CET

On Mar 11, 2007, at 17:44, ken carlino wrote:

> I did start 'svnserve' like your suggestion:
> svnserve is launched with svnserve -d -r /srv/svn/repositories
> But I can only check out if I do this (Duncan Murdoch's suggestion)
> svn co svn+ssh://

When checking out via svn+ssh, Subversion does not make use of any
daemon running on the server. Rather, it starts its own daemon which
lives only long enough to handle the one connection, then exits.

The daemon you started above is only used if you access the repo via
the svn (not svn+ssh) protocol.

> And another strange think i notice is subversion creates a subdirector
> 'trunk' and have all my source under it. how can i configure
> subversion so that it does not do that?

Subversion does not do that. Subversion is a versioned file system.
You can create any directories or files in it as you see fit.
Somehow, you have created a directory "trunk" in your repository and
have placed your files into it. You could instead place your files
anywhere else, as you like. Perhaps you followed some instructions
somewhere, perhaps in the Subversion Book online, which recommended
that you do this. It is true that it is a recommendation that you
place your project into a directory called trunk, so that you can
later create directories branches and tags in order to make use of
those features. But if you do not plan to make branches or tags, then
you do not need a trunk. If you are just starting out with your
repository, you could delete it and re-import your files and this
time not tell Subversion to place them in a directory called trunk.
If you do not want to delete your repository, you can use svn mv
commands to move the contents of the trunk directory out of the
trunk, then use svn rm to delete the now-empty trunk.

To reply to the mailing list, please use your mailer's Reply To All  
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Mon Mar 12 04:03:55 2007

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.