Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

cvs command to view newly added empty/non-empty Dir

Status
Not open for further replies.

njava

Programmer
Aug 29, 2002
6
US
Hi all,
I am not a cvs expert. I am using "cvs -nq up" (somebody told me to use this:) ) to view a list of all new/updated/modified/conflicting files.

But, the limitation of this command is that it does not list any Newly Added Directories.
How can I see a List of all Newly Added Directories into CVS?

Any help/hint is very much appreciated.
Thanks.
 
try this

cvs -nq update -d

----------------------------------------
from help
CVS global options (specified before the command name) are:
-H Displays usage information for command.
-Q Cause CVS to be really quiet.
-q Cause CVS to be somewhat quiet.
-r Make checked-out files read-only.
-w Make checked-out files read-write (default).
-n Do not execute anything that will change the disk.
-t Show trace of program execution (repeat for more verbosity) -- try with -n.
-v CVS version and copyright.
-T tmpdir Use 'tmpdir' for temporary files.
-e editor Use 'editor' for editing log information.
-d CVS_root Overrides $CVSROOT as the root of the CVS tree.
-f Do not use the ~/.cvsrc file.
-F file Read command arguments from file.
-z # Use compression level '#' for net traffic.
-x Encrypt all net traffic (fail if not encrypted).
-y Encrypt all net traffic (if supported by protocol).
-a Authenticate all net traffic.
-N Supress network share error. (UNSUPPORTED OPTION)
-s VAR=VAL Set CVS user variable.
-o Translate between server and client locale if possible.
-O Disable locale translation.


Usage: cvs update [-ABPCdflRpbmt] [-k kopt] [-r rev] [-D date] [-j rev]
[-I ign] [-W spec] [files...]
-3 Produce 3-way conflicts.
-A Reset any sticky tags/date/kopts.
-b Perform -j merge from branch point.
-C Overwrite locally modified files with clean repository copies.
-c Update base revision copies.
-D date Set date to update from (is sticky).
-d Build directories, like checkout does.
-f Force a head revision match if tag/date not found.
-I ign More files to ignore (! to reset).
-j rev Merge in changes made between current revision and rev.
-k kopt Use RCS kopt -k option on checkout. (is sticky)
-l Local directory only, no recursion.
-m Perform -j merge from last merge point (default).
-P Prune empty directories.
-p Send updates to standard output (avoids stickiness).
-R Process directories recursively.
-r rev Update using specified revision/tag (is sticky).
-S Select between conflicting case sensitive names.
-t Update using last checkin time.
-W spec Wrappers specification line.



Zhavic

---------------------------------------------------------------
In the 1960s you needed the power of two Comodore64s to get a rocket to the moon. Now you need a machine which is a vast number of times more powerful just to run the most popular GUI.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top