bug-cvs
[Top][All Lists]
Advanced

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

bug in cvs diff


From: Paul Edwards
Subject: bug in cvs diff
Date: Wed, 26 Nov 2003 09:06:13 GMT

Given that this problem happens in diff, but not update,
I'm inclined to suspect it is a bug rather than a feature,
in cvs 1.11.9:

cvs checkout -r branch aaa

aaa/bbb is created
aaa/bbb/ccc is not created, because it is only on an old branch/head.
mkdir aaa/bbb/ccc because these days we still create "ccc", but the
files are not checked in anymore.
cvs update works fine
cvs diff -r xxx says:

cvs diff: in directory bbb/ccc:
cvs [diff aborted]: there is no version here; do 'cvs checkout' first

Given that I didn't specify "-N" in the diff, there's absolutely
no reason for diff to attempt to descend into the non-CVS-controlled
directory.  Even if "-N" was specified, it should still be smart
enough to produce diffs without needing the directory to exist
and be under CVS control.

BFN.  Paul.




reply via email to

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