logo       

Re: rdiff: msg#00205

Subject: Re: rdiff
"Derek Robert Price" <derek@xxxxxxxxxxx> wrote in message 
news:3EB6982F.2090804@xxxxxxxxxxxxxx
> >The other advantage rdiff has is that if two releases have
> >different version numbers, but that is just a historical anomaly,
> >there are no actual code changes, rdiff will not report any
> >difference, while diff will show an "empty" change (which
> >is usually of no interest to anyone).
>
> I've never verified the empty change behavior, but perhaps diff
> shouldn't be displaying empty changes either.
>
> Regardless, I don't have time to do all this myself.  :)
>
> Patches gratefully accepted!  Test cases and new issues welcome as well.

The following diff on cvs1-11-5 rectifies the problem for
at least one variation of the diff command.

If you go cvs diff -r xxx file.c

then it will be quiet if there are no real changes.  But still produce
diffs if there are real changes.

This doesn't fix the problem for cvs diff -r xxx -r yyy file.c though.

And I didn't try it with plain "cvs diff file.c".

Any ideas on where to fix it for the -r xxx -r yyy variation?

Thanks.  Paul.


Index: diff.c
===================================================================
RCS file: /cvs/ccvs/src/diff.c,v
retrieving revision 1.93
diff -r1.93 diff.c
1006,1007c1006,1007
<  else
<      return DIFF_DIFFERENT;
---
>  /*else
>      return DIFF_DIFFERENT;*/


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

Recently Viewed:
web.pylons.gene...    hurd.l4/2002-10...    kernel.commits....    user-groups.lin...    yellowdog.gener...    java.drools.use...    security.openva...    package-managem...    linux.debian.us...    qnx.openqnx.dev...    genealogy.gramp...    file-systems.if...    voip.wengophone...    tex.context/200...    ietf.smime/2003...    audio.csound.de...    culture.region....    xfree86.devel/2...    mobile.kannel.u...    distributed.con...    education.engli...    org.user-groups...    bug-tracking.gn...    recreation.bicy...   
Home | blog view | USPTO Patent Archive | advertise | OSDir is an inevitable website. super tiny logo

Free Magazines

Cisco News
Receive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business.
subscribe

Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field.
subscribe

The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business.
subscribe

Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company.
subscribe

Total Telecom Total Telecom is "The Economist of the communications industry".
subscribe