Follow Techotopia on Twitter

On-line Guides
All Guides
eBook Store
iOS / Android
Linux for Beginners
Office Productivity
Linux Installation
Linux Security
Linux Utilities
Linux Virtualization
Linux Kernel
System/Network Admin
Programming
Scripting Languages
Development Tools
Web Development
GUI Toolkits/Desktop
Databases
Mail Systems
openSolaris
Eclipse Documentation
Techotopia.com
Virtuatopia.com
Answertopia.com

How To Guides
Virtualization
General System Admin
Linux Security
Linux Filesystems
Web Servers
Graphics & Desktop
PC Hardware
Windows
Problem Solutions
Privacy Policy

  




 

 

Updating Your Project Copy


You can edit the files you have checked out. It is useful to regularly ensure you are working on the latest copies by doing:



  cvs update

This will update your copy of the files from the archive. Any updates made to the archive by others will appear in your copy. If there are any conflicts you will be warned about them and will need to find and resolve them in the files updated. CVS will tell you of conflicts:



    Merging differences between 1.42 and 1.43 into main.py
    rcsmerge: warning: conflicts during merge
    cvs update: conflicts found in main.py

CVS will actually modify your file which ends up with both versions of the conflict:



    <<<<<<< main.py
    def detect_outlier(limit, score)
    =======
    def detect_outlier(maximum, score)
    >>>>>>> 1.43

Here I added a limit variable to the method whereas someone else added maximum. I need to choose one or the other.

To add any new directories that have been added to the repository to your local checked out copy, and to prune any directories that are empty from the local checked out copy, use:



  cvs update -dP


Copyright © 1995-2006 [email protected]

 
 
  Published under the terms fo the GNU General Public License Design by Interspire