Difference: YingYin (9 vs. 10)

Revision 102007-06-14 - TWikiGuest

Line: 1 to 1
 
META TOPICPARENT name="TWikiUsers"
Line: 7 to 7
 

Setting Up and Using CVS

Changed:
<
<
You can access CVS repository in many ways. If you use Eclipse IDE (http://www.eclipse.org) then:
>
>
You can access CVS repository in many ways.

For Eclipse IDE (http://www.eclipse.org):

  For checking out project
  • Click File → new → project → CVS → Checkout Projects from CVS
Line: 38 to 40
 
  1. Fill in the repository location information as menstioned above
  2. Don't put project under CVSROOT directory

Added:
>
>

For Unix Commands:

Invoking CVS

The format of a CVS invocation is:

$ cvs <command>

where command can be: update, commit, import etc. For example, you can use

$ cvs update

Accessing A Repository

Before you can do anything, you must tell CVS the location of the repository you'll be accessing. This isn't a concern if you already have a working copy checked out - any working copy knows what repository it came from, so CVS can automatically deduce the repository for a given working copy. So for the first time, you need to tell CVS explicitly where to go. This is done with the -d global option followed by the path to the repository. For example:

$ cvs -d /ubc/cs/home/y/yingyin/GanttChart <command>

You can also change the environment variable CVSROOT to avoid typing -d <repository location>:

  • edit ~/csh_init/environment with a text editor
  • add the following line: setenv CVSROOT <repository location>
  • logout and log back in.
 Some useful links on CVS
 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2024 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback