Chinaunix首页 | 论坛 | 博客
  • 博客访问: 402031
  • 博文数量: 20
  • 博客积分: 5010
  • 博客等级: 大校
  • 技术积分: 1270
  • 用 户 组: 普通用户
  • 注册时间: 2006-06-16 09:18
文章分类
文章存档

2011年(6)

2010年(2)

2009年(1)

2008年(11)

我的朋友

分类: 系统运维

2008-06-20 16:08:15

In the Subversion, if you want to rollback your current workspace to the previous version, first you can type:

svn cat -r PREV filename > filename

Now, the file status is M, you can commit your modification.

Second, you can :

svn up -r VERSION_NUMBER

eg:
svn up -r 50
Then you can change  your  workspace  to  version 50. Note: you cannot commit your modification in this situation.
阅读(1386) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~