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 arta 1.1
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 arta 1.1
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 arta 1.1 http://helios.stanford.edu/cgi-bin/viewcvs.cgi/cvsroot/
65
66 Nice cvs GUI (linux4) at:
67 xim:/usr/bin/lincvs
68
|