I've been a casual CVS user for a couple of years now, and I'm
confused by this behaviour.  I've looked in FAQs, list archives,
google, and a CVS book and can't find a mention of this behaviour,
and it seems very unexpected.  I hope this isn't a FAQ.

If I have a remote CVS repository, "cvs diff" will indicate files that
I've added to my local checked out copy, with "? filename".  With a local
repository, "cvs diff" does not indicate added files.

An example, using the same repository.  The remote behaviour:
    % setenv CVSROOT :ext:jsellens@localhost:/home/jsellens/CVSHOME
    % cvs co testproj
    % cd testproj
    % touch burp
    % cvs diff
    ? burp
    cvs server: Diffing .
And locally:
    % setenv CVSROOT :local:/home/jsellens/CVSHOME
    % cvs co testproj
    % cd testproj
    % touch barf
    % cvs diff
    cvs diff: Diffing .

Note that using a remote repository, "cvs diff" indicated the added file,
while the local repository case didn't.

This cvs command claims to be
    Concurrent Versions System (CVS) 1.11.1p1-FreeBSD (client/server)

My question: Is this the expected behaviour?  Is there a way to cause
the same behaviour with a local repository?

Thanks very much

John
[EMAIL PROTECTED]


_______________________________________________
Info-cvs mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/info-cvs

Reply via email to