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

Joseph Koenig jkoenig at broadcom.com
Wed Jun 20 23:25:05 BST 2007


So, I'm actually using pserver. Here is a log of what I am seeing:
 

cvs -d :pserver:jkoenig at some_host.com:/projects/cvsroot login 
Logging in to :pserver:jkoenig at some_host.com:/projects/cvsroot
Locating: Z:\projects\some\path\to\file.c
Z:/projects/some/path/to/file.c
***** CVS exited normally with code 0 *****

cvs update -p -r 1.29.16.6 -- file.c (in directory Z:\projects\some\path\to\file)

cvs [update aborted]: Local access to network share not supported (Use -N to override this error).

***** CVS exited normally with code 1 *****

cvs diff -- file.c (in directory Z:\projects\some\path\to\file)

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

Any help would be appreciated. 

________________________________

From: Arthur Barrett [mailto:arthur.barrett at march-hare.com]
Sent: Wed 6/20/2007 3:10 PM
To: 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)



Joseph,

You are using :local: - this is only for internal developers of
CVS/CVSNT to use - never use it for project work.  In addition you are
usint :local: to access a network drive which as you know is
unsupported.

Instead set up a proper cvsnt (or the older cvs) server so you can use
:pserver:hostname:/repo or :ssh:hostname:/repo or :ext:hostname:/repo
intead.  This is easy to do and only should take a few minutes, then
your linux and windows work will be a lot safer and more reliably
versioned. This page is a little out of date but gives you the gist -
ask here on the newsgroup if you get stuck setting up a server:
http://www.cvsnt.org/wiki/InstallationLinux


Regards,


Arthur Barrett


> -----Original Message-----
> From: cvsnt-bounces at cvsnt.org
> [mailto:cvsnt-bounces at cvsnt.org] On Behalf Of Joseph Koenig
> Sent: 21 June 2007 07:37
> To: cvsnt at cvsnt.org
> Subject: [cvsnt] cvs [diff aborted]: Local access to network
> share not supported (use -N to override this error)
>
>
> I have searched the archives and realize that this is
> preceived to be dangerous. I know the warnings, and I
> understand why the warning is there. When I do my commmits
> and checkouts I am not using wincvs, and I am SSHed into a
> server where I am not working locally.
>
> I am just using wincvs as an easy way to diff files before I
> commit them from a remote linux session.
>
> How do I pass this -N argument? I have searched and not found
> this answer, which I desperately need. In a prior thread
> someone has mentioned putting this into a .cvsrc file, which
> again, I  don't know where this file is supposed to be placed
> when I am operating directly in windows, especially given
> that it isn't a valid windows name.
>
> Thanks
> j
>
> _______________________________________________
> cvsnt mailing list
> cvsnt at cvsnt.org http://www.cvsnt.org/cgi-bin/mailman/listinfo/cvsnt
>






More information about the cvsnt mailing list