Scriptindex.de

[ Menü ]

Home
News
Scripts
Neuzugänge
Suchen
Bücher
Manuals

[ Inhalt ]

Script eintragen
Tutorial eintragen
Newsletter
Umfragen
Link zu uns
Werbung bei uns
Kontakt
Impressum

[ Statistik ]

Hits gesamt: 5077630
Hits Heute: 116
max. Hits (10.07.07): 6964
User Online: 32
Scripts: 2828

[ Partner ]

CodeBase
I.S.U.M.
LUG Bayreuth
PEAR NEWS
PHP Classes

[ Facebook ]

[ Eigene Domain? ]

[ Buchtipp ]

ASP.NET WebBook
ASP.NET WebBook

Manuals > CVS--Concurrent Versions System v1.12.5: 6. Recursive behavior

[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

6. Recursive behavior

Almost all of the subcommands of CVS work recursively when you specify a directory as an argument. For instance, consider this directory structure:

  $HOME | +--tc | | +--CVS | (internal CVS files) +--Makefile +--backend.c +--driver.c +--frontend.c +--parser.c +--man | | | +--CVS | | (internal CVS files) | +--tc.1 | +--testing | +--CVS | (internal CVS files) +--testpgm.t +--test2.t

If `tc' is the current working directory, the following is true:

  • `cvs update testing' is equivalent to

     cvs update testing/testpgm.t testing/test2.t
  • `cvs update testing man' updates all files in the subdirectories

  • `cvs update .' or just `cvs update' updates all files in the tc directory

If no arguments are given to update it will update all files in the current working directory and all its subdirectories. In other words, `.' is a default argument to update. This is also true for most of the CVS subcommands, not only the update command.

The recursive behavior of the CVS subcommands can be turned off with the `-l' option. Conversely, the `-R' option can be used to force recursion if `-l' is specified in `~/.cvsrc' (see section Default options and the ~/.cvsrc file).

 $ cvs update -l # Don't update files in subdirectories

[ << ] [ >> ]           [Top] [Contents] [Index] [ ? ]

This document was generated by Derek Robert Price on December, 18 2003 using texi2html 1.67.


Copyright 1998 - 2009 by I.S.U.M.