create new tag
view all tags

Access to eSDO CVS


  • host: esdocvs.mssl.ucl.ac.uk
  • port: 60001

Linux Access

First, create the file .ssh/config

Add the following entries to the file and save:

      # esdocvs.mssl.ucl.ac.uk is an alias of msslxx.mssl.ucl.ac.uk
      Host esdocvs.mssl.ucl.ac.uk
      Port 60001
      ForwardX11 no

      # MSSL users also need the short form
      Host esdocvs
      Port 60001
      ForwardX11 no

Check out CVS resources from the commandline

CVS Checkout creates your own copy of CVS resources on your computer. You can change these local copies of files without affecting other developers. To learn more about CVS commands, type man cvs or look at an online CVS man page. The following examples show some of the more common CVS commands, but the CVS man page explains all available commands and flags. Please update this page with useful examples you find.

  1. Create a directory where you plan to keep CVS files, such as /esdo-cvs/.
  2. To check out the whole eSDO CVS structure (all files for algorithms and visualization tools), type the command below:
    CVS_RSH=ssh cvs -d:ext:cvs_user_name@esdocvs.mssl.ucl.ac.uk:/cvs checkout CVSROOT
  3. To check out part of the CVS resources, specify which directory structure within CVS you need:
    CVS_RSH=ssh cvs -d:ext:cvs_user_name@esdocvs.mssl.ucl.ac.uk:/cvs checkout CVSROOT/esdo/algorithms/Helicity

Check out updated versions of code into an existing CVS directory

CVS update is used when you want to overwrite your own local copies of CVS files with the latest versions from CVS.

  1. Navigate to your top level CVS directory (for instance, /esdo-cvs/.
  2. Update the whole CVS structure by typing
    CVS_RSH=ssh cvs -d:ext:cvs_user_name@esdocvs.mssl.ucl.ac.uk:/cvs update CVSROOT
  3. Similarly, update only a portion of the CVS structure by specifying a specific directory or file, for instance
    CVS_RSH=ssh cvs -d:ext:cvs_user_name@esdocvs.mssl.ucl.ac.uk:/cvs update CVSROOT/esdo/algorithms/Helicity

Committing changes to CVS

All of these commands will change files in the central CVS repository. Be careful! Run the command first (such as add, import, remove, etc) and then run CVS commit.

Add new files

  1. First, create a new file or directory in your own local copy of the CVS hierarchy.
  2. Note: if you try this directly from the commandline, you may need to cd to the directory containing the file you want to add.
  3. Next, make this change to the central CVS repository by adding the new file or directory:
    CVS_RSH=ssh cvs -d:ext:cvs_user_name@esdocvs.mssl.ucl.ac.uk:/cvs add CVSROOT/esdo/algorithms/Helicity/src/helicity.c
  4. Note: if the above gives a "there is no version here" error, make sure you're in the directory where the file exists (for instance, cd to CVSROOT/esdo/algorithms/Helicity/src/), and try again with no path information:
    CVS_RSH=ssh cvs -d:ext:cvs_user_name@esdocvs.mssl.ucl.ac.uk:/cvs add helicity.c
  5. Now commit the changes:
    CVS_RSH=ssh cvs -d:ext:cvs_user_name@esdocvs.mssl.ucl.ac.uk:/cvs commit

Remove files (use carefully!)

  1. Identify the files you wish to remove (the remove is done on your local copy of the CVS hierarchy until you commit the changes):
    CVS_RSH=ssh cvs -d:ext:cvs_user_name@esdocvs.mssl.ucl.ac.uk:/cvs remove CVSROOT/esdo/algorithms/Helicity/src/helicity.c
  2. Now commit the changes:
    CVS_RSH=ssh cvs -d:ext:cvs_user_name@esdocvs.mssl.ucl.ac.uk:/cvs commit
  3. Then remove the files from your local hierarchy: rm [filename]
  4. Finally, checkout directory again using -P flag: CVS_RSH=ssh cvs -d:ext:cvs_user_name@esdocvs.mssl.ucl.ac.uk:/cvs checkout CVSROOT/esdo/algorithms/Helicity

Check in updated files to CVS

Use CVS commit to check in files from your local copy of CVS to the central CVS repository.

  1. To check in a specific file:
    CVS_RSH=ssh cvs -d:ext:cvs_user_name@esdocvs.mssl.ucl.ac.uk:/cvs commit -f CVSROOT/esdo/algorithms/Helicity/src/helicity.c
  2. To check in your local CVS versions of all files:
    CVS_RSH=ssh cvs -d:ext:cvs_user_name@esdocvs.mssl.ucl.ac.uk:/cvs commit

-- ElizabethAuden - 20 Mar 2006

Edit | Attach | Watch | Print version | History: r6 < r5 < r4 < r3 < r2 | Backlinks | Raw View | More topic actions
Topic revision: r6 - 2007-10-19 - ElizabethAuden
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2019 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback