| 27 | }}} |
| 28 | |
| 29 | == Adding a new file == |
| 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: |
| 32 | {{{ |
| 33 | unix% mv myNewFile myNewFile.tmp |
| 34 | unix% cat /dev/null > myNewFile |
| 35 | unix% ci -r1.0 -m"Empty revision." myNewFile |
| 36 | }}} |
| 37 | enter an appropriate description as ci requests. Then create symbolic |
| 38 | revision names: |
| 39 | {{{ |
| 40 | unix% rcs -ncabb_branchpoint:1.0 -ncabb:1.0.1 myNewFile |
| 41 | }}} |
| 42 | Finally, create the initial revision on the branch: |
| 43 | {{{ |
| 44 | unix% mv myNewFile.tmp myNewFile |
| 45 | unix% ci -rcabb.1 myNewFile |