info-cvs
[Top][All Lists]
Advanced

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

different behaviour for local vs remote repositories?


From: John Sellens
Subject: different behaviour for local vs remote repositories?
Date: Mon, 2 Sep 2002 23:57:28 -0400 (EDT)

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:address@hidden:/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
address@hidden




reply via email to

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