info-cvs
[Top][All Lists]
Advanced

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

Re: cvs command line usage


From: Jim Hyslop
Subject: Re: cvs command line usage
Date: Fri, 05 Aug 2011 10:16:00 -0400
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:5.0) Gecko/20110624 Thunderbird/5.0

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 11-08-07 5:04 PM, J.V. wrote:
> How do I show a list of files on my local machine that:
> 
> 1) files that do not exist in the repo 2) files that are modified
> locally but have not been committed 3) files that are in the repo but
> not on my local system 4) files that have been modified in the repo
> but not (updated) on my local system

cvs -nq update

(1) will be indicated by '?'
(2) will be indicated by 'M'
(3) and (4) will be indicated by 'U'

If you need to distinguish between (3) and (4) you'll have to write a
script or batch file or script that will check to see if the file exists
locally, and convert the 'U' indicator to something else (maybe 'N' for
'New').

- -- 
Jim Hyslop
Dreampossible: Better software. Simply.     http://www.dreampossible.ca
                 Consulting * Mentoring * Training in
    C/C++ * OOD * SW Development & Practices * Version Management
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.8 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk47+x8ACgkQLdDyDwyJw+POyQCgg7NNXt9VMKqvI3JQNxCGWOdx
Pz8AoO7/JR/pPfwojTsT7J5qKzFzJDr5
=xCzZ
-----END PGP SIGNATURE-----



reply via email to

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