Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

CVS: show files that are locally changed

Tags:

cvs

Is there any simple way to show only the files in my repository that have been locally added, removed, or modified? I know that I can type "cvs stat" and look through the list of files, but that is tedious and error-prone. I am wondering if there is an easier way. I am using CVS 1.11.17, in case that matters.

like image 537
Elias Zamaria Avatar asked Jan 16 '10 00:01

Elias Zamaria


People also ask

How do I view cvs file history?

You can use the history file (see section The history file) to log various CVS actions. To retrieve the information from the history file, use the cvs history command (see section history--Show status of files and users).

How do I get my files from cvs repository?

Use “cvs checkout” giving the name of the directory in the cvs repository you want to checkout, where the name you give is a directory under CVSROOT, presently $CD_SOFT/cvs (eg app/alh, script). The directory you give, and all subdirectories, will be placed in your working directory.

What is a cvs log?

The cvs log command displays information about files, directories, or modules. You pass a parameter to specify which file, directory, or module you are interested in. If you don't specify anything, cvs log displays log information about all files in the current sandbox directory.


2 Answers

A 'dummy' update will give you this information.

cvs -qn update 

A short description of the used options:

-q      Cause CVS to be somewhat quiet. -n      Do not execute anything that will change the disk. 
like image 106
CB Bailey Avatar answered Sep 20 '22 18:09

CB Bailey


You can get a short listing of differences using the cvs diff command:

cvs -q diff --brief 
like image 39
martin clayton Avatar answered Sep 19 '22 18:09

martin clayton