[cvsnt] cvs diff -N error

Flávio Etrusco flavio.etrusco at gmail.com
Fri Sep 1 17:02:19 BST 2006


Community technical support mailing list was retired 2010 and replaced with a professional technical support team. For assistance please contact: Pre-sales Technical support via email to sales@march-hare.com.


Ok, I can reproduce the bug easily.

Client is Windows XP SP2,  server is Windows 2003 (probably with
latest patches).

Client: Concurrent Versions System (CVSNT) 2.5.04 (Zen) Build 2428
Server: Concurrent Versions System (CVSNT) 2.5.02 (Servalan) Build 2115

The relevant part of -ttt output ('Validador-data-sources.xml' is the
newly added-but-not-commited-file):

------------x-----------
12:58:38: S -> RCS_parse(Validador-data-sources.xml,D:/Contratos/5024
- Framework/Controle_de_Versao/Validador)
12:58:38: S -> rcsbuf_open(D:/Contratos/5024 -
Framework/Controle_de_Versao/Validador/Validador-data-sources.xml,v)
12:58:38: S -> rcsbuf_open failed
12:58:38: S -> rcsbuf_open(D:/Contratos/5024 -
Framework/Controle_de_Versao/Validador/Attic/Validador-data-sources.xml,v)
12:58:38: S -> rcsbuf_open failed
12:58:38: S -> wnt_stat(Validador-data-sources.xml)
12:58:38: S -> _statcore(00000000,Validador-data-sources.xml)
12:58:38: S -> Trying GetFileAttributesEx....
12:58:38: S -> File attributes = 00000020
12:58:38: S ->  - read/write file
12:58:38: S -> GetUnixFileModeNtEA(V,000006C8) returns 0666
Index: Validador-data-sources.xml
12:58:38: S -> wnt_stat(Validador-data-sources.xml)
12:58:38: S -> _statcore(00000000,Validador-data-sources.xml)
12:58:38: S -> Trying GetFileAttributesEx....
12:58:38: S -> File attributes = 00000020
12:58:38: S ->  - read/write file
12:58:38: S -> GetUnixFileModeNtEA(V,000006C8) returns 0666
===================================================================
RCS file: Validador-data-sources.xml
diff -N Validador-data-sources.xml
12:58:38: S -> diff_exec(nul,Validador-data-sources.xml,-Lnul	1 Jan
1970 00:00:00 -0000,-LValidador-data-sources.xml	26 Apr 2006 02:42:44
-0000,,(null))
cvs server: nul: Invalid argument

------------x-----------


Regards,
Flávio


On 9/1/06, Bo Berglund <Bo.Berglund at system3r.se> wrote:
> Operating system on Server????
>
>
> Best regards,
>
> Bo Berglund
>
>
> -----Original Message-----
> From: cvsnt-bounces at cvsnt.org [mailto:cvsnt-bounces at cvsnt.org] On Behalf Of Bryce Schober
> Sent: den 1 september 2006 17:04
> To: CVSNT
> Subject: Re: [cvsnt] cvs diff -N error
>
> C:\cvs\Software>cvs version
> Client: Concurrent Versions System (CVSNT) 2.5.03 (Scorpio) Build 2382
> (client/server)
> Server: Concurrent Versions System (CVSNT) 2.5.03 (Scorpio) Build 2382
> (client/server)
>
> On 8/31/06, Flávio Etrusco <flavio.etrusco at gmail.com> wrote:
> >
> > Lalalalala client version? server version?
> >
> >
> > On 8/31/06, Bryce Schober <bryce.schober at dynonavionics.com> wrote:
> > > Doing cvs diff -N when I've added but not committed a file gives:
> > >
> > > C:\cvs\Project>cvs diff -uN mydir
> > > cvs server: Diffing mydir
> > > Index: mydir/newfile.txt
> > > ===================================================================
> > > RCS file: mydir/newfile.txt
> > > diff -N mydir/newfile.txt
> > > cvs [server aborted]: Cannot use reserved filename 'nul' on NT based
> > > machines
> > >
> > > I'm trying to generate a patch that includes the added file. Why doesn't
> > > this work?
> > >
> > > --
> > > Bryce Schober
> >


More information about the cvsnt mailing list
Download the latest CVSNT, TortosieCVS, WinCVS etc. for Windows 8 etc.
@CVSNT on Twitter   CVSNT on Facebook