info-cvs
[Top][All Lists]
Advanced

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

RE: cvs command line usage (UNCLASSIFIED)


From: Glasgow, Steven Mr CIV USA TRADOC
Subject: RE: cvs command line usage (UNCLASSIFIED)
Date: Fri, 5 Aug 2011 09:44:01 -0500

Classification: UNCLASSIFIED
Caveats: NONE

Sorry...fat fingers...in the first line you enter, change ">>" to ">".

Steve

-----Original Message-----
From: Glasgow, Steven Mr CIV USA TRADOC 
Sent: Friday, August 05, 2011 9:20 AM
To: address@hidden
Subject: RE: cvs command line usage (UNCLASSIFIED)

Classification: UNCLASSIFIED
Caveats: NONE

Enter this command....

cvs -q -n update -d >> /tmp/modified.txt

Then...
1) awk '/? /{ print $2 }' /tmp/modified.txt
2) awk '/M /{ print $2 }' /tmp/modified.txt
3 & 4) awk '/U /{ print $2 }' /tmp/modified.txt

Also...

1) awk '/A /{ print $2 }' /tmp/modified.txt
    Will show you the files you have added but not yet committed

2) awk '/R /{ print $2 }' /tmp/modified.txt
    Will show you the files you have removed but not yet committed

3) awk '/C /{ print $2 }' /tmp/modified.txt
    Will show you files that will have conflicts when you update

Steve

-----Original Message-----
From: address@hidden
[mailto:address@hidden On Behalf Of
J.V.
Sent: Sunday, August 07, 2011 4:04 PM
To: address@hidden
Subject: cvs command line usage

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


With all of the above, I simply want a single line per file and not alot of
other messages or junk.  Just one line per file.

If this is not possible, would I have to resort to writing perl or
something?

J.V.

Classification: UNCLASSIFIED
Caveats: NONE


Classification: UNCLASSIFIED
Caveats: NONE


Attachment: smime.p7s
Description: S/MIME cryptographic signature


reply via email to

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