Red Hat Bugzilla – Bug 277501
cvs diff -r BASE -r HEAD complains about deleted files
Last modified: 2015-02-01 17:47:51 EST
Description of problem:
When I do a cvs diff -r BASE -r HEAD (to see what has changed between the
version of a CVS repository I have checked out, and the most recent revision),
cvs prints the warning message
cvs diff: no revision in file [file name] or missing file [file name]
for every file that has been deleted in the history of the repository, even if
the file exists in neither BASE nor HEAD.
The same thing happens for any other pair of tags both of which do not apply to
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Do cvs diff -pu -r BASE -r HEAD in a checkout of a repository which has
2. Observe what cvs prints on its standard error.
"No revision in file" messages for every file deleted in the history of the
Silence about files that exist in neither BASE nor HEAD.
This problem seems to be local to Fedora's version of cvs, and to have been
introduced by the fix to bug 18161 (cvs-1.11.21-diff.patch in the srpm).
Hi, I'm not sure this is good idea. User should know that there are differences
between the most recent version and the local version.
In the example I gave, there are no differences between the most recent version
and the local version. In both cases, the file does not exist: it has been
removed earlier in the history of the repository.
I'm sorry, I didn't get it. You're right, that cvs should be quiet in this case,
it's quite confusing. I'm going to talk with upstream about the mentioned patch.
Fixed in rawhide