您好,欢迎访问三七文档
当前位置:首页 > 商业/管理/HR > 信息化管理 > 配置管理工具 Concurrent Versions System
ConcurrentVersionsSystemUserguideforCS408ConcurrentVersionsSystemPurposeConcurrentdevelopment•Sharingsourcecodes•DetectingconflictscausedbyconcurrencyVersioncontrol•Retainingchangehistory–Changeofsourcecode–Changelog•Tagging–Storingfullsourcecodeatanevent–Lettingdeveloperswitchsourcecodeattheevent•Branching–Managingtwoormoredevelopmentstreamsforasourcecode»Stableversionvs.newerversion2BranchstrategySinglestreammodelDualstreammodelMultistreammodel3•Branchingatemergency•TwobranchesaremanagedDevelopmentbranchMainbranch•Branchingatemergencyinmainstream•Developmentbranchismergedintomainstreamateachreleasepoint•MultiplebranchesaremanagedDevelopmentbranchMainbranch•Branchingatemergencyinmainstream•DevelopmentbranchesaremergedintomainstreamateachreleasepointInthiscourse,wewillusesinglestreammodelUserguide(1/8)Overview4Sourcecode(notinrepository)CVSRepositoryDeveloper’sworkspaceSourcecode(inrepository)Sourcecode(inworkspace)ImportCheckout(initialtime)UpdateCreatenewworkspaceCommitAddAdditionalsourcecode(notinrepository)DeleteLoginConfigurationitemsNon-configurationitemsUserguide(2/8)CVSROOTAddressforcvsrepositorySyntaxforpserver•:pserver:id@server_address/cvsroot_directoryLoginLoginandsetcredentialinlocalcomputerLoginmustbeexecutedbeforeimportorcheckoutUsage•cvs-dCVSROOTloginExample•Enteringthecommand5Userguide(3/8)ImportUploadsourcecodetocvsrepositoryUsage•cvs-dCVSROOTimportmodule_namevendor_taginitial_tagExample•Enteringthecommand•Writelogfortheimport6Userguide(4/8)CheckoutDownloadsourcecodefromcvsrepositoryUsage•cvs-dcvsrootcheckoutmodule_nameExample•Enteringthecommands(includinglogincommand)7Userguide(5/8)UpdateUpdatelocalsourcecodeUsage•cvsupdateoptionsExample•Enteringthecommand(REParser.javawasmodifiedbyothers)8Userguide(6/8)AddAddfilesordirectoriestoconfigurationitemsUsage•cvsaddfilesordirectoriestoaddExample•AddedFile.javaisnewlycreatedbyprogrammer•Enteringthecommand9Userguide(7/8)DeleteRemovefilesordirectoriesfromconfigurationitemsUsage•cvsdeletefilesordirectoriestodeleteExample•Removingthefilesordirectories•Enteringthecommand10Warning!!!ToreflectAddandDeletecommandstoCVSrepository,CommitcommandmustbeexecutedUserguide(8/8)CommitCommitchangesoflocalsourcecodetocvsrepositoryUsage•cvscommitExample•Enteringthecommand•Writinglogs11Advanceduserguide(1/5)LogWhen?•CommitareimportcommandsrequirewritinglogWhy?•LogcanhelptotracechangesWhat?•Nameofonewhoimportorcommit•Reason•Extrainformation12Advanceduserguide(2/5)Conflict13CVSRepositorySourcecodeversion1.0Sourcecodeversion1.1Developer2Sourcecodeversion1.0**Sourcecodeversion1.0Developer1Sourcecodeversion1.0Sourcecodeversion1.0*UpdateUpdateChangeChangeCommitCommitConflictTimeSourcecodeversion1.0**ofdeveloper2shouldalsobeversion1.1.Advanceduserguide(3/5)ConflictexampleDeveloper1insertinsertedMethod1toREParser.javaDeveloper2insertinsertedMethod2toREParser.javaDeveloper1commitDeveloper2commitThenDeveloper2meetsfollowingerrormessages14Advanceduserguide(4/5)ResolvingconflictExecuteUpdatecommandOpentheconflictfile15ConflictfileAddedbyhimself(developer2)Addedbyothers(developer1)Advanceduserguide(5/5)EditingtheconflictfileExecuteCommitcommand16Inthiscase,developer2decidestoremainbothmethodsCVSconfigurationinformationCVSServeraddressviper.kaist.ac.kr(143.248.188.6)CVSROOTpathTeam1:김선영류승균염혜원이수현최준수강창헌•/cvsroot/cs408_1Team2:AndriiShyshkalov,하세훈,장영진,AutretGuillaume,VivienHouet•/cvsroot/cs408_2Team3:이준희안재민박정훈김병수이해봄•/cvsroot/cs408_3Team4:AntoninGercier,NideyeAmyDieng,전종윤,이지은,류한승•/cvsroot/cs408_4Team5:김민국박지훈심영준이종협한성욱•/cvsroot/cs408_5Team6:ErdenefuyaG,백한나조승범정민기장연일•/cvsroot/cs408_5Team7:서상현주은광윤주현박웅최미나•/cvsroot/cs408_717
本文标题:配置管理工具 Concurrent Versions System
链接地址:https://www.777doc.com/doc-4022241 .html