Home :: International :: Manuals :: Howto :: FAQ :: Man Pages :: Email Login

 
 
 

Chapter 8. Updating your tree with the latest code

Abstract

How to update your source tree with the latest from the repository.

Where and what to update

If you go to the directory where you checked out a module and use CVS update commands, the CVS client will patch all the necessary files in the tree with any updates. These updates will bring your local files up to date with the files in the repository. A directory must have a "cvs" subdirectory in it to successfully run the update command. The update command is recursive and will not only update the files in the current directory, but all directories underneath it with the "cvs" subdirectory. You can go into one of the subdirectories of your tree and run the update command there if you only wish to update that section of the tree.

Updating a source tree (module)

Run the CVS update command in this fashion:

cvs -z 9 -q update -PAd

Examples

Go to the directory where the "reactos" module has been checked out and get all the latest updates:

C:\>cd\ros\reactosC:\ROS\REACTOS>cvs -z 9 -q update -PAd
Get only the updates for the kernel:
C:\ROS\REACTOS>cd ntoskrnlC:\ROS\REACTOS\NTOSKRNL>cvs -z 9 -q update -PAd

 
 
 
 
Google
  Web Linuxinfor   
 

Home :: Copyright :: Privacy :: Credits :: Get a free Linuxinfor Email Account

Document on this page is part of "Developer Tutorials". See Index Page for more info about Authorship and Copyright.

1999-2008 Linuxinfor.com. No rights reserved.