[cvsnt] cvs diff -I broken in 2.5.03 in linux

Mauro Mariuzzo mauro.mariuzzo at smc.it
Sat Feb 18 12:27:27 GMT 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.


Hi, I'm switching from CVS to CVSNT (both on Fedora Core 4) because I
need "cvs ls" e "commitid".

I've many scripts that uses "cvs diff -I" to ignore a particular changes
to our sources.

Unfortunately CVSNT versione 2.5.03 seems to have the same bug of 2.0.51a.

News?

This is the command log


cvs -tt diff -I Versione basefun.sor
13:02:47:   -> Tracelevel set to 2.  PID is 16306
13:02:47:   -> Session ID is 3fb243f3186775e7
13:02:47:   -> Session time is Wed Feb 15 12:02:47 2006
13:02:47:   -> main loop with
CVSROOT=:pserver:xxxx.xx.smc:/home/prova/CVSROOT
13:02:47:   -> Config file name /home/prova/.cvs/cvspass
13:02:47:   -> Server codepage is UTF-8
13:02:47:   -> Client codepage is ISO-8859-1
13:02:47:   -> Server->Client codepage translation is active
13:02:47:   -> Server version is CVSNT 2.5.03 (Scorpio) Build 2151
13:02:47:   -> Client version is CVSNT 2.5.03 (Scorpio) Build 2151
13:02:47:   -> Requesting server cvsignore
13:02:47:   -> Requesting server cvswrappers
13:02:47:   -> Requesting server cvsrc (read-cvsrc2)
13:02:47:   -> Sending file 'basefun.sor' to server
13:02:47: S -> run_trigger()
13:02:47: S -> Call pre-loaded 'default_trigger.la'
13:02:47: S -> precommand_proc()
13:02:47: S -> Checking admin file /home/prova/CVSROOT/CVSROOT/admin for
user pra600s
13:02:47: S -> RCS_checkout (/home/prova/CVSROOT/dev/gen/basefun.sor,v,
4.54, , (function))
13:02:47: S -> run_trigger()
13:02:47: S -> Call pre-loaded 'default_trigger.la'
13:02:47: S -> keywords_proc(Revision,basefun.sor,v)
13:02:47: S -> run_trigger()
13:02:47: S -> Call pre-loaded 'default_trigger.la'
13:02:47: S -> keywords_proc(Date,basefun.sor,v)
13:02:47: S -> run_trigger()
13:02:47: S -> Call pre-loaded 'default_trigger.la'
13:02:47: S -> keywords_proc(Revision,basefun.sor,v)
13:02:47: S -> run_trigger()
13:02:47: S -> Call pre-loaded 'default_trigger.la'
13:02:47: S -> keywords_proc(Date,basefun.sor,v)
13:02:47: S -> run_trigger()
13:02:47: S -> Call pre-loaded 'default_trigger.la'
13:02:47: S -> keywords_proc(Author,basefun.sor,v)
Index: basefun.sor
===================================================================
RCS file: /home/prova/CVSROOT/dev/gen/basefun.sor,v
retrieving revision 4.54
13:02:47: S -> RCS_checkout (/home/prova/CVSROOT/dev/gen/basefun.sor,v,
4.54, , /tmp/cvseUBGou)
13:02:47: S -> run_trigger()
13:02:47: S -> Call pre-loaded 'default_trigger.la'
13:02:47: S -> keywords_proc(Revision,basefun.sor,v)
13:02:47: S -> run_trigger()
13:02:47: S -> Call pre-loaded 'default_trigger.la'
13:02:47: S -> keywords_proc(Date,basefun.sor,v)
13:02:47: S -> run_trigger()
13:02:47: S -> Call pre-loaded 'default_trigger.la'
13:02:47: S -> keywords_proc(Revision,basefun.sor,v)
13:02:47: S -> run_trigger()
13:02:47: S -> Call pre-loaded 'default_trigger.la'
13:02:47: S -> keywords_proc(Date,basefun.sor,v)
13:02:47: S -> run_trigger()
13:02:47: S -> Call pre-loaded 'default_trigger.la'
13:02:47: S -> keywords_proc(Author,basefun.sor,v)
13:02:47: S -> checkout -> .
diff -IVersione -r4.54 basefun.sor
13:02:47: S -> diff_execv(/tmp/cvseUBGou,basefun.sor,-Lbasefun.sor
14 Jan 2006 14:06:11 -0000      4.54,-Lbasefun.sor       14 Feb 2006
18:23:14 -0000, -IVersione,(null))
cvs [diff aborted]: end of file from server (consult above messages if any)



Tony Hoyle wrote:
> On Tue, 3 Aug 2004 13:06:36 -0400, "Mark Levedahl" <noone at nospam.net>
> wrote:
> 
>> cvs diff -Ifoo should suppress any diff lines containing 'foo' (which can be
>> a regular expression). This works fine in 2.0.35, does not work in 2.0.51a,
>> have no idea what version actually broke it.
>>
>> Example of current symptoms:
>>
>> cvs diff -Ifoo  suppresses everything if foo is not matched.
>> cvs diff -Ifoo causes a crash in cvs if foo is matched.
>>
> It seems to be a bug in the regexp library.  That's deep voodoo that
> I'm not touching with a bargepole... best to wait until a fixed
> version of that comes out.  since -I isn't a documented option this
> isn't really an issue.
> 
> Tony
> 






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