⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 rcs.ps

📁 早期freebsd实现
💻 PS
📖 第 1 页 / 共 5 页
字号:
3770(data,)S3991(form)S4215(letters)S4489(and)S4663(articles.)S6492 V970(This)S1191(paper)S1455(discusses)S1870(the)S2035(practice)S2393(of)S2519(version)S2856(control)S3182(using)S3442(RCS.)S3730(It)S3834(also)S4038(introduces)S4497(basic)S4746(version)S6672 V720(control)S1036(concepts,)S1443(useful)S1720(for)S1869(clarifying)S2290(current)S2605(practice)S2953(and)S3130(designing)S3551(similar)S3861(systems.)S4265(Revision)S4653(groups)S4957(of)S6852 V720(individual)S1161(components)S1679(are)S1835(treated)S2141(in)S2254(the)S2411(next)S2618(three)S2853(sections,)S3236(and)S3416(the)S3574(extensions)S4032(to)S4146(con\256gurations)S4754(follow.)S7032 V720(Because)S1082(of)S1195(its)S1320(size,)S1530(a)S1604(survey)S1900(of)S2013(version)S2337(control)S2650(tools)S2875(appears)S3209(at)S3311(the)S3463(end)S3637(of)S3750(the)S3902(paper.)S7132 V8 Y1720(333333333333333333)S7232 V8 R720(An)S842(earlier)S1067(version)S1325(of)S1415(this)S1554(paper)S1754(was)S1902(published)S2236(in)S8 I2322(Software\320Practice)S2970(&)S3056(Experience)S8 B3450(15)S8 R3530(,)S3574(7)S3638(\(July)S3821(1985\),)S4051(637-654.)S7920 VEP%%Page: 2 3BP/slant 0 def/height 1.000000 def8 R8 R40 V10 R0(-)S580 V2792(- 2 -)S900 V10 B720(2.)S855(Getting)S1207(started)S1536(with)S1755(RCS)S1116 V10 R970(Suppose)S1339(a)S1413(text)S1593(\256le)S10 I1751(f.c)S10 R1878(is)S1975(to)S2083(be)S2207(placed)S2497(under)S2754(control)S3067(of)S3180(RCS.)S3455(Invoking)S3846(the)S3998(check-in)S4371(command)S1296 V10 I1080(ci)S1212(f.c)S1536 V10 R720(creates)S1030(a)S1108(new)S1308(revision)S1664(group)S1931(with)S2143(the)S2299(contents)S2666(of)S10 I2783(f.c)S10 R2914(as)S3031(the)S3187(initial)S3455(revision)S3811(\(numbered)S4278(1.1\))S4471(and)S4650(stores)S4918(the)S1716 V720(group)S986(into)S1175(the)S1330(\256le)S10 I1491(f.c,v)S10 R1657(.)S1745(Unless)S2050(told)S2239(otherwise,)S2685(the)S2840(command)S3267(deletes)S10 I3577(f.c)S10 R3674(.)S3762(It)S3856(also)S4050(asks)S4255(for)S4404(a)S4481(description)S4957(of)S1896 V720(the)S878(group.)S1202(The)S1393(description)S1873(should)S2176(state)S2395(the)S2553(common)S2939(purpose)S3291(of)S3410(all)S3546(revisions)S3943(in)S4057(the)S4215(group,)S4510(and)S4691(becomes)S2076 V720(part)S913(of)S1034(the)S1194(group's)S1537(documentation.)S2224(All)S2390(later)S2605(check-in)S2986(commands)S3457(will)S3651(ask)S3822(for)S3976(a)S4058(log)S4224(entry,)S4492(which)S4773(should)S2256 V720(summarize)S1197(the)S1358(changes)S1718(made.)S2029(\(The)S2257(\256rst)S2453(revision)S2815(is)S2922(assigned)S3306(a)S3390(default)S3707(log)S3875(message,)S4278(which)S4562(just)S4747(records)S2436 V720(the)S872(fact)S1051(that)S1231(it)S1317(is)S1414(the)S1566(initial)S1830(revision.\))S2652 V970(Files)S1204(ending)S1515(in)S10 I1632(,v)S10 R1740(are)S1900(called)S10 I2177(RCS)S2394(files)S10 R2600(\()S10 I2633(v)S10 R2716(stands)S3006(for)S10 I3162(v)S10 R3206(ersions\);)S3590(the)S3752(others)S4036(are)S4197(called)S4475(working)S4848(\256les.)S2832 V720(To)S861(get)S1013(back)S1231(the)S1383(working)S1746(\256le)S10 I1904(f.c)S10 R2031(in)S2139(the)S2291(previous)S2665(example,)S3058(execute)S3392(the)S3544(check-out)S3967(command:)S3012 V10 I1080(co)S1234(f.c)S3252 V10 R720(This)S932(command)S1360(extracts)S1704(the)S1860(latest)S2105(revision)S2461(from)S2689(the)S2845(revision)S3201(group)S10 I3468(f.c,v)S10 R3668(and)S3846(writes)S4124(it)S4214(into)S10 I4404(f.c)S10 R4501(.)S4590(The)S4780(\256le)S10 I4943(f.c)S3432 V10 R720(can)S888(now)S1090(be)S1214(edited)S1488(and,)S1687(when)S1933(\256nished,)S2305(checked)S2661(back)S2879(in)S2987(with)S10 I3195(ci)S10 R3267(:)S3612 V10 I1080(ci)S1212(f.c)S3852 V720(Ci)S10 R845(assigns)S1164(number)S1499(1.2)S1654(to)S1762(the)S1914(new)S2110(revision.)S2517(If)S10 I2613(ci)S10 R2715(complains)S3156(with)S3364(the)S3516(message)S4032 V10 I1080(ci)S1182(error:)S1456(no)S1586(lock)S1782(set)S1923(by)S2047(<login>)S4272 V10 R720(then)S922(the)S1074(system)S1383(administrator)S1947(has)S2111(decided)S2452(to)S2561(con\256gure)S2969(RCS)S3190(for)S3337(a)S3412(production)S3876(environment)S4412(by)S4543(enabling)S4918(the)S4452 V720(`strict)S993(locking)S1333(feature'.)S1736(If)S1841(this)S2025(feature)S2340(is)S2446(enabled,)S2820(all)S2959(RCS)S3188(\256les)S3394(are)S3554(initialized)S3993(such)S4215(that)S4404(check-in)S4786(opera-)S4632 V720(tions)S959(require)S1285(a)S1373(lock)S1590(on)S1735(the)S1902(previous)S2291(revision)S2658(\(the)S2858(one)S3047(from)S3286(which)S3575(the)S3742(current)S4069(one)S4258(evolved\).)S4707(Locking)S4812 V720(prevents)S1100(overlapping)S1619(modi\256cations)S2206(if)S2309(several)S2633(people)S2941(work)S3188(on)S3330(the)S3494(same)S3740(\256le.)S3964(If)S4071(locking)S4412(is)S4520(required,)S4918(the)S4992 V720(revision)S1072(should)S1369(have)S1587(been)S1805(locked)S2101(during)S2392(the)S2544(check-out)S2967(by)S3097(using)S3344(the)S3496(option)S10 I3782(\261l)S10 R3860(:)S5172 V10 I1080(co)S1234(\261l)S1372(f.c)S5412 V10 R720(Of)S858(course)S1151(it)S1240(is)S1340(too)S1501(late)S1678(now)S1883(for)S2032(the)S2187(check-out)S2614(with)S2826(locking,)S3185(because)S10 I3534(f.c)S10 R3665(has)S3832(already)S4159(been)S4381(changed;)S4775(check-)S5592 V720(ing)S880(out)S1040(the)S1194(\256le)S1354(again)S1602(would)S1884(overwrite)S2298(the)S2452(modi\256cations.)S3084(\(To)S3260(prevent)S3591(accidental)S4027(overwrites,)S10 I4505(co)S10 R4631(senses)S4918(the)S5772 V720(presence)S1111(of)S1237(a)S1324(working)S1700(\256le)S1871(and)S2058(asks)S2273(whether)S2637(the)S2803(user)S3013(really)S3284(intended)S3672(to)S3794(overwrite)S4220(it.)S4375(The)S4574(overwriting)S5952 V720(check-out)S1151(is)S1256(sometimes)S1722(useful)S2004(for)S2158(backing)S2512(up)S2650(to)S2766(the)S2926(previous)S3307(revision.\))S3754(To)S3902(be)S4033(able)S4236(to)S4351(proceed)S4703(with)S4918(the)S6132 V720(check-in)S1093(in)S1201(the)S1353(present)S1671(case,)S1897(\256rst)S2083(execute)S6312 V10 I1080(rcs)S1262(\261l)S1400(f.c)S6552 V10 R720(This)S933(command)S1363(retroactively)S1903(locks)S2150(the)S2308(latest)S2555(revision,)S2938(unless)S3224(someone)S3615(else)S3806(locked)S4108(it)S4200(in)S4314(the)S4472(meantime.)S4957(In)S6732 V720(this)S895(case,)S1121(the)S1273(two)S1453(programmers)S2015(involved)S2395(have)S2613(to)S2721(negotiate)S3117(whose)S3402(modi\256cations)S3977(should)S4274(take)S4470(precedence.)S6948 V970(If)S1073(an)S1204(RCS)S1431(\256le)S1596(is)S1700(private,)S2039(i.e.,)S2223(if)S2321(only)S2536(the)S2695(owner)S2981(of)S3101(the)S3260(\256le)S3426(is)S3531(expected)S3923(to)S4039(deposit)S4366(revisions)S4765(into)S4959(it,)S7128 V720(the)S879(strict)S1116(locking)S1453(feature)S1766(is)S1870(unnecessary)S2394(and)S2575(may)S2784(be)S2915(disabled.)S3340(If)S3443(strict)S3680(locking)S4017(is)S4120(disabled,)S4514(the)S4672(owner)S4957(of)S7308 V720(the)S884(RCS)S1117(\256le)S1288(need)S1519(not)S1690(have)S1921(a)S2008(lock)S2223(for)S2382(check-in.)S2823(For)S3005(safety)S3286(reasons,)S3653(all)S3796(others)S4083(still)S4277(do.)S4475(Turning)S4840(strict)S7920 VEP%%Page: 3 4BP/slant 0 def/height 1.000000 def10 R10 R40 V0(-)S580 V2792(- 3 -)S900 V720(locking)S1050(o)S1100 H	(f)show 10 -.5 mul h (f)show10 R1191(and)S1365(on)S1495(is)S1592(done)S1816(with)S2024(the)S2176(commands:)S1080 V10 I1080(rcs)S1262(\261U)S1444(f.c)S10 R1751(and)S10 I2165(rcs)S2347(\261L)S2513(f.c)S1320 V10 R720(These)S993(commands)S1461(enable)S1756(or)S1875(disable)S2194(the)S2352(strict)S2588(locking)S2924(feature)S3236(for)S3388(each)S3606(RCS)S3832(\256le)S3996(individually.)S4571(The)S4762(system)S1500 V720(administrator)S1283(only)S1491(decides)S1820(whether)S2171(strict)S2401(locking)S2731(is)S2828(enabled)S3168(initially.)S1716 V970(To)S1114(reduce)S1412(the)S1567(clutter)S1855(in)S1966(a)S2043(working)S2409(directory,)S2827(all)S2960(RCS)S3183(\256les)S3383(can)S3554(be)S3681(moved)S3986(to)S4097(a)S4174(subdirectory)S4706(with)S4918(the)S1896 V720(name)S10 I980(RCS)S10 R1158(.)S1257(RCS)S1491(commands)S1968(look)S2190(\256rst)S2390(into)S2590(that)S2784(directory)S3188(for)S3348(RCS)S3581(\256les.)S3846(All)S4017(the)S4182(commands)S4658(presented)S2076 V720(above)S988(work)S1223(with)S1431(the)S10 I1583(RCS)S10 R1791(subdirectory)S2320(without)S2656(change.\262)S2292 V970(It)S1068(may)S1277(be)S1408(undesirable)S1906(that)S10 I2094(ci)S10 R2204(deletes)S2519(the)S2679(working)S3050(\256le.)S3271(For)S3448(instance,)S3838(sometimes)S4304(one)S4486(would)S4774(like)S4962(to)S2472 V720(save)S927(the)S1079(current)S1391(revision,)S1768(but)S1926(continue)S2300(editing.)S2663(Invoking)S2652 V10 I1080(ci)S1212(\261l)S1350(f.c)S2892 V10 R720(checks)S1027(in)S10 I1141(f.c)S10 R1274(as)S1393(usual,)S1665(but)S1829(performs)S2225(an)S2355(additional)S2792(check-out)S3222(with)S3437(locking)S3774(afterwards.)S4286(Thus,)S4548(the)S4707(working)S3072 V720(\256le)S883(does)S1101(not)S1264(disappear)S1681(after)S1898(the)S2055(check-in.)S2488(Similarly,)S2921(the)S3078(option)S10 I3368(\261u)S10 R3502(does)S3719(a)S3797(check-in)S4174(followed)S4563(by)S4697(a)S4775(check-)S3252 V720(out)S885(without)S1228(locking.)S1620(This)S1835(option)S2128(is)S2232(useful)S2513(if)S2611(the)S2770(\256le)S2935(is)S3039(needed)S3359(for)S3513(compilation)S4029(after)S4249(the)S4409(check-in.)S4845(Both)S3432 V720(options)S1045(update)S1341(the)S1493(identi\256cation)S2051(markers)S2402(in)S2510(the)S2662(working)S3025(\256le)S3183(\(see)S3373(below\).)S3648 V970(Besides)S1311(the)S1463(operations)S10 I1909(ci)S10 R2011(and)S10 I2185(co)S10 R2279(,)S2334(RCS)S2554(provides)S2928(the)S3080(following)S3499(commands:)S3828 V10 I720(ident)S10 R1241(extract)S1542(identi\256cation)S2100(markers)S3948 V10 I720(rcs)S10 R1241(change)S1553(RCS)S1773(\256le)S1931(attributes)S4068 V10 I720(rcsclean)S10 R1241(remove)S1570(unchanged)S2032(working)S2395(\256les)S2592(\(optional\))S4188 V10 I720(rcsdiff)S10 R1241(compare)S1614(revisions)S4308 V10 I720(rcsfreeze)S10 R1241(record)S1525(a)S1599(con\256guration)S2162(\(optional\))S4428 V10 I720(rcsmerge)S10 R1241(merge)S1520(revisions)S4548 V10 I720(rlog)S10 R1241(read)S1442(log)S1600(messages)S2007(and)S2181(other)S2416(information)S2918(in)S3026(RCS)S3246(\256les)S4728 V720(A)S822(synopsis)S1197(of)S1310(these)S1545(commands)S2008(appears)S2342(in)S2450(the)S2602(Appendix.)S4968 V10 B720(2.1.)S930(Automatic)S1409(Identi\256cation)S5124 V10 R970(RCS)S1201(can)S1381(stamp)S1662(source)S1964(and)S2150(object)S2436(code)S2666(with)S2886(special)S3205(identi\256cation)S3775(strings,)S4109(similar)S4429(to)S4549(product)S4896(and)S5244 V720(serial)S966(numbers.)S1395(To)S1536(obtain)S1816(such)S2029(identi\256cation,)S2612(place)S2852(the)S3004(marker)S5424 V10 I1080($Id$)S5664 V10 R720(into)S923(the)S

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -