(file) Return to working_with_sandbox.txt CVS log (file) (dir) Up to [Development] / JSOC / CM

File: [Development] / JSOC / CM / Attic / working_with_sandbox.txt (download)
Revision: 1.1.1.1 (vendor branch), Mon Oct 1 23:12:21 2007 UTC (15 years, 8 months ago) by arta
Branch: Vtag
CVS Tags: Ver_LATEST, Ver_9-9, Ver_5-9, Ver_5-8, Ver_5-7, Ver_5-6, Ver_5-5, Ver_5-3, Ver_5-2, Ver_5-13, Ver_5-12, Ver_5-11, Ver_5-10, Ver_5-1, Ver_5-0, Ver_4-7, Ver_4-6, Ver_4-5, Ver_4-4, Ver_4-3, Ver_4-2, Ver_4-1, Ver_4-0, NewTree01_cp09_JSOC, NewTree01_cp08_JSOC, NewTree01_cp07_JSOC, NewTree01_cp06_JSOC, NewTree01_cp05_JSOC, NewTree01_cp04_JSOC, NewTree01_cp03_JSOC, NewTree01_cp02_JSOC, NewTree01_cp01_JSOC
Changes since 1.1: +0 -0 lines
First new, reorganized JSOC tree


WORKING IN YOUR SANDBOX:
------------------------

* You cd and edit files in your sandbox as appropriate. When you want to 
commit your changes to the repository do:

> cvs commit [file] 
> [sync_binary_dirtree.sh] (Obsolete)

It is only necessary to run sync_binary_dirtree.sh if the binary 
repository has been updated or new dirs have been added to the source tree.

You will be asked for any change notes. 

* To resynchronize your sandbox with the repository do:

> cvs update -APd

(the -d will download new directories as well)
See the cvs man page for all switches and options.

* To add a file to the repository, first create the file in your sandbox and 
then do from the dir containing the file:

> cvs add filename
> cvs commit

If you're adding a binary file, use the -kb option:
> cvs add -kb file.doc

If you forgot to use the -kb at add time, you can later do:
> cvs admin -kb file.doc

* To remove a file from the repository, first remove the file in your
sandbox and then do from the dir containing the file:

> cvs remove filename
> cvs commit


* To determine which files are up-to-date and which need to be committed:

> cvs status [file]
> cvs status -v [file]	(see status and tagging info)

* To see the revision history of a file:

> cvs log sum_svc.c

* To retrieve a static, read only copy of a previous version:

> cvs update -r 1.2 filename

* To remove the sticky tag after a previous version checkout:

> cvs update -A filename              #remove a sticky tag


* To revert your sandbox file to a previous revision:

> cvs update -j sandbox_revision -j previous_revision

GUI:
----------------------

There is a web page GUI at:

http://helios.stanford.edu/cgi-bin/viewcvs.cgi/cvsroot/



Karen Tian
Powered by
ViewCVS 0.9.4