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

Re: Subversion repository over samba

From: Ryan Schmidt <subversion-2007b_at_ryandesign.com>
Date: 2007-10-26 22:24:39 CEST

On Oct 26, 2007, at 12:15, braulio.horta@embraer.com.br wrote:

> > > I know this is not a ToitoiseSVN mailing list, but i think my
> > > problem is related with Subversion itself and not TSVN.
> > >
> > > I'm using TSVN 1.4.99.10947(a nightly build) and TSVN 1.4.5.
> > >
> > > I have a samba file server where i put my repository.
> > > When i try to make a commit to repo using TSVN 1.4.99.10947, it
> > > returns the following error message:
> > >
> > > Error: Commit failed (details follow):
> > > Error: Can't remove 'path\to\repo\db\transactions\1-3.txn': The
> > > system cannot find the file
> > > Error: specified.
> > >
> > > In fact it does make the commit correctly, but i receive this
> error
> > > and i
> > > have to update my working copy before going on working.
> > > I tried both "FS format 2"(TSVN 1.4.5) and "FS format 3" (TSVN
> > > 1.4.99.10947) and it is the same.
> > >
> > > When i use TSVN 1.4.5 this message doesn't appear and everything
> > > works fine.
> > >
> > > Does anyone know if it is a bug?
> >
> > Are you saying you're accessing your repository using the file:///
> > protocol pointing at something mounted via Samba? If so, then don't
> > do that. Set up a svnserve or apache2 server, put the repository
> on a
> > local hard drive of that server, and connect to it from your client
> > machines using the svn:// or svn+ssh:// or http:// or https://
> > protocols.
>
> Yes, I'm using file:/// protocol via samba. It is important for me
> because I'm not the samba server administrator.
> So I can't simply install a SVN server there. And I've been storing
> my repo there for a long time successully.
>
> But i think that there are still 2 problems.
>
> First: How can i receive an error message on a successfull
> commit??? It seens too strange for me.
>
> Second: If i was able to do it before, why can't i do it now? And I
> can't see any improvement in this
> behavior (maybe it was a side effect of some improvement?). It is
> the same repo. Just the client has changed.
> Why it can't work???
>
> I'd appreciate if someone could help me checking if it is a natural
> behavior or a bug.
>
> Sorry for bothering you guys and thanks in advance!

You may be able to drive your car for some time, even if the wheels
are not bolted to it. But sooner or later the wheels will probably
fly off and you will wish you had chosen a more secure form of
transport. :-) Similarly, file:/// access to a Subversion repository
stored on a Samba share may work, but it is certainly not
recommended, and you are likely to encounter problems such as the one
you in fact did encounter. file:/// access is really only there for a
single individual to test Subversion without needing to install a
server. For anything more than that, or for access over a network,
use a proper Subversion server, either svnserve or apache2. You
should speak with your server administrator about installing that
software.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Fri Oct 26 22:27:31 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.