ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/JSOC/CM/V1.0/working_with_sandbox.txt
Revision: 1.1.1.1 (vendor branch)
Committed: Tue Oct 2 00:12:21 2007 UTC (15 years, 11 months ago) by arta
Content type: text/plain
Branch: MAIN, Vtag
CVS Tags: Ver_6-0, Ver_6-1, Ver_6-2, Ver_6-3, Ver_6-4, Ver_4-3, Ver_4-0, Ver_4-1, NetDRMS_Ver_8-8, NewTree01_cp03_JSOC, Ver_4-4, Ver_8-5, Ver_4-7, NewTree01_cp05_JSOC, Ver_5-14, Ver_5-13, Ver_5-12, Ver_5-11, Ver_5-10, Ver_LATEST, NetDRMS_Ver_LATEST, Ver_4-6, NewTree01_cp04_JSOC, NetDRMS_Ver_8-12, NetDRMS_Ver_8-10, NetDRMS_Ver_8-11, NetDRMS_Ver_9-1, NetDRMS_Ver_9-0, NetDRMS_Ver_9-3, NetDRMS_Ver_9-2, NetDRMS_Ver_9-5, NetDRMS_Ver_9-4, Ver_7-0, Ver_5-6, Ver_4-5, NewTree01_cp07_JSOC, NewTree01_cp08_JSOC, NewTree01_cp01_JSOC, Ver_4-2, NetDRMS_Ver_9-41, Ver_9-41, NewTree01_cp02_JSOC, NetDRMS_Ver_8-4, NetDRMS_Ver_8-5, Ver_5-8, NetDRMS_Ver_8-6, Ver_5-7, Ver_8-8, NetDRMS_Ver_8-7, NewTree01_cp06_JSOC, Ver_5-9, Ver_8-2, Ver_9-3, Ver_8-0, Ver_8-1, Ver_8-6, Ver_8-7, Ver_8-4, Ver_8-11, Ver_5-3, Ver_5-2, Ver_5-1, Ver_5-0, Ver_7-1, Ver_9-1, Ver_5-5, Ver_8-3, NewTree01_cp09_JSOC, Ver_9-5, Ver_9-4, Ver_8-10, Ver_9-2, Ver_8-12, Ver_9-0, HEAD
Changes since 1.1: +0 -0 lines
Log Message:
First new, reorganized JSOC tree

File Contents

# User Rev Content
1 arta 1.1
2     WORKING IN YOUR SANDBOX:
3     ------------------------
4    
5     * You cd and edit files in your sandbox as appropriate. When you want to
6     commit your changes to the repository do:
7    
8     > cvs commit [file]
9     > [sync_binary_dirtree.sh] (Obsolete)
10    
11     It is only necessary to run sync_binary_dirtree.sh if the binary
12     repository has been updated or new dirs have been added to the source tree.
13    
14     You will be asked for any change notes.
15    
16     * To resynchronize your sandbox with the repository do:
17    
18     > cvs update -d
19    
20     (the -d will download new directories as well)
21     See the cvs man page for all switches and options.
22    
23     * To add a file to the repository, first create the file in your sandbox and
24     then do from the dir containing the file:
25    
26     > cvs add filename
27     > cvs commit
28    
29     If you're adding a binary file, use the -kb option:
30     > cvs add -kb file.doc
31    
32     If you forgot to use the -kb at add time, you can later do:
33     > cvs admin -kb file.doc
34    
35     * To remove a file from the repository, first remove the file in your
36     sandbox and then do from the dir containing the file:
37    
38     > cvs remove filename
39     > cvs commit
40    
41    
42     * To determine which files are up-to-date and which need to be committed:
43    
44     > cvs status [file]
45     > cvs status -v [file] (see status and tagging info)
46    
47     * To see the revision history of a file:
48    
49     > cvs log sum_svc.c
50    
51     * To retrieve a static, read only copy of a previous version:
52    
53     > cvs update -r 1.2 filename
54    
55     * To revert your sandbox file to a previous revision:
56    
57     > cvs update -j sandbox_revision -j previous_revision
58    
59     GUI:
60     ----------------------
61    
62     There is a web page GUI at:
63    
64     http://helios.stanford.edu/cgi-bin/viewcvs.cgi/cvsroot/
65    
66     Nice cvs GUI (linux4) at:
67     xim:/usr/bin/lincvs
68