[dywang@dywOffice testrcs]$ rcs -adywang important.c RCS file: RCS/important.c,v done [dywang@dywOffice testrcs]$ cd ../testrcs1 [dywang@dywOffice testrcs1]$ rcs -adywtest f.c RCS file: f.c,v done
[dywang@dywOffice testrcs1]$ rlog -h f.c RCS file: f.c,v Working file: f.c head: 1.1 branch: locks: strict access list: dywtest symbolic names: abc_1: 1.1 keyword substitution: kv total revisions: 1 =============================================================== [dywang@dywOffice testrcs]$ cd ../testrcs [dywang@dywOffice testrcs]$ rlog -h important.c RCS file: RCS/important.c,v Working file: important.c head: 1.6 branch: locks: strict access list: dywang symbolic names: r1_5: 1.5 r1_3: 1.3 markSymbol1_6: 1.6 keyword substitution: kv total revisions: 7 ===================================================================
[dywang@dywOffice testrcs]$ rcs -A../testrcs1/f.c important.c RCS file: RCS/important.c,v done
[dywang@dywOffice testrcs]$ rlog -h important.c RCS file: RCS/important.c,v Working file: important.c head: 1.6 branch: locks: strict access list: dywang dywtest symbolic names: r1_5: 1.5 r1_3: 1.3 markSymbol1_6: 1.6 keyword substitution: kv total revisions: 7 ==============================================================
[dywang@dywOffice testrcs]$ rcs -edywtest important.c RCS file: RCS/important.c,v done
[dywang@dywOffice testrcs]$ rlog -h important.c RCS file: RCS/important.c,v Working file: important.c head: 1.6 branch: locks: strict access list: dywang symbolic names: r1_5: 1.5 r1_3: 1.3 markSymbol1_6: 1.6 keyword substitution: kv total revisions: 7 ===============================================================
[dywang@dywOffice testrcs]$ rcs -e important.c RCS file: RCS/important.c,v done
[dywang@dywOffice testrcs]$ rlog -h important.c RCS file: RCS/important.c,v Working file: important.c head: 1.6 branch: locks: strict access list: symbolic names: r1_5: 1.5 r1_3: 1.3 markSymbol1_6: 1.6 keyword substitution: kv total revisions: 7 ================================================================
練習題