Chinaunix首页 | 论坛 | 博客
  • 博客访问: 587481
  • 博文数量: 201
  • 博客积分: 3076
  • 博客等级: 中校
  • 技术积分: 2333
  • 用 户 组: 普通用户
  • 注册时间: 2009-08-02 19:44
文章分类

全部博文(201)

文章存档

2010年(118)

2009年(83)

我的朋友

分类:

2010-07-07 21:58:10

$ svn checkout  URL
But there are some nuances in Subversion's handling of URLs that are notable. For example,URLs containing the file:// access method (used for local repositories) must, in accordance with convention, have either a server name of localhost or no server name at all:
$ svn checkout file:///var/svn/repos
$ svn checkout file://localhost/var/svn/repos

Also, users of the file:// scheme on Windows platforms will need to use an unofficially “standard” syntax for accessing repositories that are on the same machine, but on a different drive than the client's current working drive. Either of the two following URL path syntaxes will work, where X is the drive on which the repository resides:
C:\> svn checkout file:///X:/var/svn/repos
C:\> svn checkout "file:///X|/var/svn/repos"

$ svn commit file -m "message"
$ svn update

revision N represents the state of the repository filesystem after the Nth commit.

working copies do not always correspond to any single revision in
the repository; they may contain files from several different revisions.

after you do a clean update at the top of your working copy, it
will generally correspond to exactly one revision in the repository

the svn status command will show you the state of any item in your working copy.
阅读(716) | 评论(0) | 转发(0) |
0

上一篇:hg note

下一篇:SVN,HG,GIT命令对照

给主人留下些什么吧!~~