[cvsnt] cvs [diff aborted]: Local access to network share not supported (use -N to override this error)

Joseph Koenig jkoenig at broadcom.com
Fri Jun 22 18:23:01 BST 2007


My CVS/Root file just said, "/projects/cvsroot".  This was created when I did my CVS checkout on a linux terminal. I am assuming that WinCVS interpreted this to mean local, hence the error I got originally.

Does that make sense?

-----Original Message-----
From: Arthur Barrett [mailto:arthur.barrett at march-hare.com] 
Sent: Thursday, June 21, 2007 1:33 PM
To: Flávio Etrusco
Cc: Joseph Koenig; cvsnt at cvsnt.org
Subject: RE: [cvsnt] cvs [diff aborted]: Local access to network share not supported (use -N to override this error)

Flávio,

The error message is specifically for when your sandbox is using :local: on a network share.  Hence why the wording says "local access to network".

A "normal" sandbox on a network share is also "not supported" as Tony pointed out - but does not generate this error (on the commercial side we do support sandboxes on network shares).

Regards,


Arthur


> -----Original Message-----
> From: Flávio Etrusco [mailto:flavio.etrusco at gmail.com] 
> Sent: 21 June 2007 15:53
> To: Arthur Barrett
> Cc: Joseph Koenig; cvsnt at cvsnt.org
> Subject: Re: [cvsnt] cvs [diff aborted]: Local access to 
> network share not supported (use -N to override this error)
> 
> 
> Doesn't cvsnt issue this error message for the simple fact 
> that the sandbox is on a mapped network share?
> 
> From the log it doesn't seem to be a server message, but if 
> the repository was on a mapped network share the server would 
> throw a similar error message, wouldn't it?
> 
> Regards,
> Flávio
> 
> 
> On 6/20/07, Arthur Barrett <arthur.barrett at march-hare.com> wrote:
> > Joseph,
> >
> > in directory Z:\projects\some\path\to\file do this:
> >
> > type CVS\Root
> >
> >
> > What I think you will see is that it is :local: - you need to 
> > re-checkout the sandbox using pserver (or WinCVS has a 
> macro to change 
> > the Root from :local: to :pserver: I believe - but I don't 
> use WinCVS 
> > so can't advise you on that).
> >
> > From your initial comments I gather that z: is a mapped drive to a 
> > samba share on the linux box.
> >
> > If so when you checked out the sandbox on linux you should 
> have used 
> > :pserver: not :local:.  Again: local is very dangerous and should 
> > never be used except by the CVS/CVSNT developers.
> >
> > Furthermore sharing a sandbox between Linux and Windows can 
> be rather 
> > dangerous - but if you are only using WinCVS diffs then 
> that should be 
> > OK.  If however you use WinMerge to do merging (from 
> WinCVS) then you 
> > could easily end up changing the line endings on the source files - 
> > which if you commit from Linux will create a very messy result.
> >
> > Regards,
> >
> >
> > Arthur Barrett
> >
> >
> > _______________________________________________
> > cvsnt mailing list
> > cvsnt at cvsnt.org http://www.cvsnt.org/cgi-bin/mailman/listinfo/cvsnt
> >
> 




More information about the cvsnt mailing list