Bug 64474 - cvs diff can't handle diff options
Summary: cvs diff can't handle diff options
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: cvs (Show other bugs)
(Show other bugs)
Version: 7.1
Hardware: i386 Linux
Target Milestone: ---
Assignee: Martin Stransky
QA Contact: Ben Levenson
Depends On:
TreeView+ depends on / blocked
Reported: 2002-05-06 14:31 UTC by Mark H Johnson
Modified: 2005-10-31 22:00 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2005-03-15 13:39:28 UTC
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)
Script that works (638 bytes, text/plain)
2002-05-06 14:33 UTC, Mark H Johnson
no flags Details
Script that does not work (616 bytes, text/plain)
2002-05-06 14:34 UTC, Mark H Johnson
no flags Details

Description Mark H Johnson 2002-05-06 14:31:41 UTC
Description of Problem:
Not sure if this is a problem with...
 - cvs diff
 - rcsdiff
or something else. Most likely cvs is broke and rcsdiff may have similar
problems. According to the man page, cvs diff will pass through parameters
to rcsdiff (which passes them through to diff) when doing a file comparison.
The bug is shown if blanks appear in any of the arguments. Have also checked
on a system with Skipjack beta 2, no change in behavior there either.

Version-Release number of selected component (if applicable):

How Reproducible:
Attaching a script that works and one that fails to properly compare and
print out the differences in a file [changes highlighted by enscript]. Using
a checked out copy of a CVS directory, make a change to a file & run this
script like this...
  code_review.OK file printer
to generate the good results. You can also do
  code_review file printer
to generate the failing results.

Steps to Reproduce:
1. See above.

Actual Results:
Errors shown when running script, output not correct.

Expected Results:
Correct output.

Additional Information:
	Will be attaching two files, code_review.OK works properly using
octal codes for spaces; code_review attempts to use various quoting methods
with the spaces & none have worked.

Comment 1 Mark H Johnson 2002-05-06 14:33:39 UTC
Created attachment 56425 [details]
Script that works

Comment 2 Mark H Johnson 2002-05-06 14:34:30 UTC
Created attachment 56426 [details]
Script that does not work

Comment 3 Martin Stransky 2005-03-15 13:39:28 UTC
Yes, you can't use spaces in cvs diff command. I sent patch to cvs

Note You need to log in before you can comment on or make changes to this bug.