svn修订版本关键字(Subversion Rrvision keywords)

Subversion客户端可以理解一些修订版本关键字,这些关键字可以用来代替--revision (r)的数字参数,这会被Subversion解释到特定修订版本号:

HEAD

版本库中最新的(或者是“最年轻的”)版本。

The latest (or “youngest”) revision in the  repository


BASE

工作拷贝中一个条目的修订版本号,如果这个版本在本地修改了,则“BASE版本”就是这个条目在本地未修改的版本。

The revision number of an item in a  working copy . If the item has been locally modified, this refers to the way the item appears without those local modifications. 


COMMITTED

项目最近修改的修订版本,与BASE相同或更早。

The most recent revision prior to, or equal to, BASE, in which an item changed. 

PREV

一个项目最后修改版本之前的那个版本,技术上可以认为是COMMITTED -1。

The revision immediately before the last revision in which an item changed. Technically, this boils down to(归结为) COMMITTED-1. 

因而可以从描述中得到,关键字PREVBASECOMMITTED只在引用工作拷贝路径时使用,而不能用于版本库URL, 而关键字 HEAD 则可以用于两种路径类型。
As can be derived from their descriptions, the   PREV ,   BASE , and   COMMITTED   revision keywords are used only when referring to a working copy path—they don't apply to repository URLs.   HEAD,  on the other hand, can be used in conjunction with both of these path types. 



来自http://svnbook.red-bean.com/
  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值