admin管理员组文章数量:1666725
AccuRev开发流程
本文是根据AccuRev培训资料编译而成,目的是让大家更好了解AccuRev,翻译如有不确处,请见谅。
Understanding AccuRev Concepts(理解AccuRev概念)
Understanding the Developer Role(理解开发者角色)
Workspaces(工作空间)
4 basic workspaces command(四个基本的工作空间命令)
Exploring the role further…(浏览角色更多的内容)
TimeSafe Technologymeans:(时间安全机制技术意味着:)
Every operation is stored as a recorded transaction with acorresponding date andtime(每一个操作都会被存储下来,有事务纪录和相应的日期和时间)
There is no way to delete any transaction in the repository; thehistory is always fullypreserved.(在这个存储区内无法进行删除这样的事务,历史纪录被完好的保护.)
Benefits(好处:)
AccuRev uses atomic transactions-you perform an operation ona set of elements at one time.(AccuRev使用原子事务-一次只能操作一个数据集的元素)
Benefits:(好处)
Basic objects in AccuRev(AccuRev 的基本对象)
Depot:version controlled storage for a directorytree(files anddirectories)(数据仓库:版本控制存储和目录树(文件和目录))
Any collection of code that is shared among projects is storedin a singedepot.(所有的代码集所有分享工程是存储在一个单独的数据仓库中。)
Stream:A particular configuration of the codebase(流,一个特殊的代码库的设置)
Dynamic streams(动态流:)
Can change over time as elements are added,removed,orchanged.(能够在元素被增加、移动或改变时实时改变。)
Inherit changes from streams in their backingchain.(继承前面链条流的改变。)
The base stream is the highest node in the stream hierarchy-ithas the same name asdepot.(基流是流层次结构中最高的节点-和depot的名字一样.)
Snapshots:(快照)
Streams are organized into a streamhierachy(流被组织成流层次结构)
The stream hierarchy can be changed dynamically from within thestream browser.(流层次结构可以在流浏览器中动态改变.)
Workspace:a developer’s privatearea(sandbox)(工作空间:一个开发者的私有区域(沙箱))
Contains two components:(包含两个部分:)
All workspaces are private(所有的工作空间都是私有的)
Based on a single Backing Stream(parent)(基于单独流)
These objects support advanced paralleldevelopment(这些对象支持高级平行开发)
The AccuRev Development Model(AccuRev开发模型)
Keep(拘留)
Promote(改进)
Update(更新)
Merge(合并)
Checkpoint Your Work(Keep)(你工作的检查点(拘留))
AccuRev has a 2-stage checkin(AccuRev 有两步的签入)
Keep-create a new version in yourworkspace(拘留-在你的工作空间中创建一个新的版本)
Sharing your changes(promote)(分享你的改变(改进))
AccuRev has a 2-stage checkin(AccuRev 有一个两步的签入)
1st stage of the checkin-keep(第一步签入-拘留)
2nd stage of the checkin-promote(第二步签入-改进)
Promote –make the version active in your basisstream(改进-让你的版本在基流中激活)
Like kept version(与拘留版本相似)
History is fully preserved(历史纪录是完全保护的)
You can revert to ‘any’ past version of afile(你可以转成任何过去版本的文件)
The version is now available to other people working from thesamestream.(这个版本对工作在相同基流上的其他人现在是可用的。)
Pulling in SharedChanges(update)(加入分享的改变(更新))
Use ‘update’to pull/get the latestchanges(使用更新去增加最新的改变)
‘update’ will ‘not overwrite’any work inprogress(更新不会重写任何正在进行中的工作)
‘update’only applies to files that are‘stale’(更新只对旧文件起作用)
If ‘update’ encounters ‘modified’files…it will error(如果更新遇到改变的文件将会出错)
You have one of three option(你有三选一的选择)
Merging(overlap status)(合并(叠加状态))
Sometimes,you will modify or keep a file that has also beenchanged in backingstream(有时,你会改变或者拘留一个你已经将改变放到父流当中的文件)
Version in your wspace has an ‘older’ancestor(在你工作空间版本中有一个旧的版本)
The file’s status will include overlap andhighlighted(文件的状态将会包含叠加并被高亮显示)
A Merge is required before you can promote the file to thebacking stream(将文件改进到基流之前需要一个合并)
Merging Algorithm (合并算法)
AccuRev’s merge algorithm for text files considers threeversions(AccuRev文本文件的合并算法有三个版本)
contributor 1:backing stream version(贡献1:父流版本)
contrubutor 2:your version(贡献 2:你的版本)
“common ancestor” version 普通父辈版本
Changes or Conflicts? (改变或冲突?)
If a section of text was changed by just one contributor,thechange is automaticallyaccepted(如果一个选择文本被一个贡献改变了,改变自动接收)
If both contributors changed the same section of text indifferent ways,there is a conflit,You have to resolve the conflictmanually.(如果两个贡献用不同的方式改变相同的选择的文本,将有一个冲突,你必须手动解决这个冲突。)
“Revert to…” (回复)
Reverting a change from the gui(通过图形用户界面回复一个改变)
Revert to Most Recent Version(回复一个最近的版本)
Revert to Backed Version(回复到父版本)
Replacing Missing Files(替换丢失的文件)
‘Populate’(gui)(迁移(图形用户界面))
Overwrite(重写)
Populate vs. Update (迁移 vs. 更新)
Update(更新)
Populate(迁移)
Always restores missing files(经常存储丢失的文件)
Will not always get you the latestversion(不会得到你最新的版本)
History of Changes(改变的历史记录)
You can look at the history of…(你可以观察历史纪录)
History can be range based(历史纪录可以平行)
Transaction history allows for easyreverts(事务历史纪录提供简易回复)
Adding Files to Version Control(增加文件到版本控制)
The add command(增加命令)
Creates a new element on theserver(在服务器上建立一个新的元素)
Creates the initial version of that element in the WorkspaceStream(在工作空间流中创建一个元素的初始版本)
2-stage commit with add(增加的两步提交)
Private in the workspace “only”(keptversion)(只有在工作空间中私有(拘留版本))
Promote to share the files with otherworkspaces(和其他工作空间分享改进)
Directories are also versioned(目录也是版本化的)
Diff’ing Files(区分的文件)
AccuRev allows diff’ing of any text file(AccuRev允许区分文本文件)
Any two versions of a single file can be diff’d(任何连个版本的文件可以被区分)
From the gui(从图形用户界面)
版权声明:本文标题:AccuRev开发流程 内容由热心网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:https://www.elefans.com/xitong/1730076774a1221879.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论