bug-rcs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

rcsdiff + revision symbolic names BUG


From: Jan Sedlacek
Subject: rcsdiff + revision symbolic names BUG
Date: Fri, 05 Aug 2005 17:25:20 +0200
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.8) Gecko/20050511

Hello,

    I've found a bug in rcsdiff command.

Comparing the same revision using different symbolic names or using revision number and symbolic name gives different result if file contains $Name: $ for different command invocation:

>/appl/rcs/bin/rcsdiff -rPOKUS -r1.2 filename
===================================================================
RCS file: RCS/
filename,v
>
>/appl/rcs/bin/rcsdiff -rPOKUS -r1.2 --brief filename
===================================================================
RCS file: RCS/
filename,v
retrieving revision 1.2
retrieving revision 1.2
diff --brief -r1.2 -r1.2
Files
filename    2004/07/26 09:11:51     1.2 and filename  2004/07/26 09:11:51     1.2 differ
>
address@hidden>/appl/rcs/bin/rcsdiff -rPOKUS -r1.2 --text filename
===================================================================
RCS file: RCS/
filename,v
retrieving revision 1.2
retrieving revision 1.2
diff --text -r1.2 -r1.2
4c4
< #--         $Name: POKUS $
---
> #--         $Name:  $
address@hidden>

If there is no option for the diff command, rcsdiff just compares revisions end exits, but if there is an option for the diff command rcsdiff starts diff command in any case and in result the difference is reported... It's little bit confusing for some users...

    Regards,

    Jan


reply via email to

[Prev in Thread] Current Thread [Next in Thread]