Changes between Version 14 and Version 15 of Notes/RCSUsage
- Timestamp:
- 04/08/08 11:21:54 (16 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Notes/RCSUsage
v14 v15 29 29 == Adding a new file == 30 30 To create a new file in the CABB branch it is first necessary to check in an 31 empty file on the trunk as revision 1.0 :31 empty file on the trunk as revision 1.0 (remove RCSINIT definition first): 32 32 {{{ 33 unix% mv myNewFile myNewFile.tmp 34 unix% cat /dev/null > myNewFile 35 unix% ci -r1.0 -m"Empty revision." myNewFile 33 unix% unsetenv RCSINIT 34 unix% mv mynewprog.for mynewprog.for.tmp 35 unix% touch mynewprog.for 36 unix% ci -r1.0 -m"Empty revision." mynewprog.for 36 37 }}} 37 enter an appropriate description as ci requests. Then create symbolic38 enter an appropriate description for the new file as ci requests. Then create symbolic 38 39 revision names: 39 40 {{{ 40 unix% rcs -ncabb_branchpoint:1.0 -ncabb:1.0.1 myNewFile41 unix% rcs -ncabb_branchpoint:1.0 -ncabb:1.0.1 mynewprog.for 41 42 }}} 42 43 Finally, create the initial revision on the branch: 43 44 {{{ 44 unix% mv myNewFile.tmp myNewFile45 unix% ci -rcabb.1 myNewFile45 unix% mv mynewprog.for.tmp mynewprog.for 46 unix% ci -u -rcabb.1 -m"Initial cabb branch checkin" mynewprog.for 46 47 }}} 47 48