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

Re: [TSVN] Repo creation with TortoiseSVN

From: SteveKing <steveking_at_gmx.ch>
Date: 2004-07-28 22:44:48 CEST

S. Murthy Kambhampaty wrote:
> I am trying to replicate a setup described in the help file provided with
> TortoiseSVN. At the bottom of section "3.1.4 Configuration", in the box Use
> SVNParentPath: 'In my company I have direct access to that specific folder on
> the server via SMB (normal windows file access). So I just create a new folder
> there, run the TortoiseSVN command "create repository here..." and a new project
> has a home...'
>
> Sweet ... but try as I might, I can't seem to get this to work. If I create the
> repository on the linux (Fedora Core 2) box, I can do "Daily Operations" with
> TortoiseSVN, no problem. But if I create the folder in W2KPro and "Create
> Repository here" with TortoiseSVN, I get an error as follows:
[snip]

That's expected. Sorry to say that (maybe I should mention that in the
help file too).
The berkeley db's have different formats on windows and linux. So if you
use TSVN to create the repository, it has the "windows format", but
since your server runs on linux, you need a repository in "linux
format". So this won't work at all. It only works if you have the server
running on windows too.

> The subversion book, Chapter 5, has a warning: 'Do not create your repository on
> a network share—it cannot exist on a remote filesystem such as NFS, AFS, or
> Windows SMB.'

This only applies if you access the repository via the file:/// url
(direct access to the db, not via a server like apache or svnserve).
But you can _create_ the repository on a share, as long as you don't
access the repository via the share. (restrictions apply as I mentioned
above).

> Since our shop is very windows-centric, the usage patter described in the
> Tortoise configuration example above would be perfect. Any tips/comments on
> creating repositories on samba shares would be much appreciated.

The current workaround would be to set up a remote shell on the linux
server where you can log in from your windows box and create the
repositories there with 'svnadmin create newrepositoryname'. Shouldn't
be hard to do.

Or, you could wait until Subversion 1.1.0 and TSVN 1.1.0 get released.
In there is a new repository format which doesn't use the berkeley db.
I'm not 100% sure if that format is the same on windows and linux, but
I'm *pretty* sure that it is. So you could then use the new repository
format.

But for the time being, I'd recommend to use the remote shell and create
the repository directly on your linux server.

Stefan

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tortoisesvn.tigris.org
For additional commands, e-mail: dev-help@tortoisesvn.tigris.org
Received on Thu Jul 29 08:23:55 2004

This is an archived mail posted to the TortoiseSVN Dev mailing list.

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