svn子命令mkdir,创建一个纳入版本控制的新目录
2015-09-06 16:01
411 查看
概要:
svn mkdir PATH...
svn mkdir URL...
描述:
创建一个目录,名字是提供的
别名:
无
改变:
如果是对URL操作则会影响版本库,否则是工作拷贝
是否访问版本库:
只有在对URI操作时会。
选项:
--message (-m) TEXT
--file (-F) FILE
--quiet (-q)
--username USER
--password PASS
--no-auth-cache
--non-interactive
--editor-cmd EDITOR
--encoding ENC
--force-log
--config-dir DIR
列子:
在工作拷贝创建一个目录:
# svn mkdir newdir
A newdir
在版本库创建一个目录(立即提交,所以需要日志信息):
# svn mkdir -m "Making a new dir." http://192.168.1.200/repos/dyh/File
Authentication realm: <http://192.168.1.200:80> Welcome to SVN
Password for 'root':
Authentication realm: <http://192.168.1.200:80> Welcome to SVN
Username: admin
Password for 'admin':
-----------------------------------------------------------------------
ATTENTION! Your password for authentication realm:
<http://192.168.1.200:80> Welcome to SVN
can only be stored to disk unencrypted! You are advised to configure
your system so that Subversion can store passwords encrypted, if
possible. See the documentation for details.
You can avoid future appearances of this warning by setting the value
of the 'store-plaintext-passwords' option to either 'yes' or 'no' in
'/root/.subversion/servers'.
-----------------------------------------------------------------------
Store password unencrypted (yes/no)? yes
Committed revision 344.
svn org:http://www.subversion.org.cn/svnbook/1.4/
svn mkdir PATH...
svn mkdir URL...
描述:
创建一个目录,名字是提供的
PATH或者URL的最后一部分,工作拷贝
PATH指定的目录会预定要添加,而通过URL指定的目录会作为一次立即提交在版本库建立。多个目录URL的提交是原子操作,在两种情况下,中介目录必须已经存在。
别名:
无
改变:
如果是对URL操作则会影响版本库,否则是工作拷贝
是否访问版本库:
只有在对URI操作时会。
选项:
--message (-m) TEXT
--file (-F) FILE
--quiet (-q)
--username USER
--password PASS
--no-auth-cache
--non-interactive
--editor-cmd EDITOR
--encoding ENC
--force-log
--config-dir DIR
列子:
在工作拷贝创建一个目录:
# svn mkdir newdir
A newdir
在版本库创建一个目录(立即提交,所以需要日志信息):
# svn mkdir -m "Making a new dir." http://192.168.1.200/repos/dyh/File
Authentication realm: <http://192.168.1.200:80> Welcome to SVN
Password for 'root':
Authentication realm: <http://192.168.1.200:80> Welcome to SVN
Username: admin
Password for 'admin':
-----------------------------------------------------------------------
ATTENTION! Your password for authentication realm:
<http://192.168.1.200:80> Welcome to SVN
can only be stored to disk unencrypted! You are advised to configure
your system so that Subversion can store passwords encrypted, if
possible. See the documentation for details.
You can avoid future appearances of this warning by setting the value
of the 'store-plaintext-passwords' option to either 'yes' or 'no' in
'/root/.subversion/servers'.
-----------------------------------------------------------------------
Store password unencrypted (yes/no)? yes
Committed revision 344.
svn org:http://www.subversion.org.cn/svnbook/1.4/
相关文章推荐
- sass语法整理
- log4j生成日志文件
- 4.2 内核工作队列原理汇总
- Spring实战 (第3版)——AOP
- k近邻算法C++二维情况下的实现
- 删除选中图层中的所有实体
- 数组初始化(c, c++, gcc, g++)
- 花纹的选区
- 三分钟理解“状态模式”——设计模式轻松掌握
- C语言几个预编译指令的用法
- hdoj 4307 Matrix 【最大流 求解矩阵乘最值】【经典构图!】
- 三分钟理解“状态模式”——设计模式轻松掌握
- 工作周报053
- 原生js实现 返回顶部
- IP地址查询接口
- 婚纱抠图
- Android 开源框架Universal-Image-Loader完全解析(一)--- 基本介绍及使用
- 250法则
- sql查询上一条数据和下一条数据
- jquery浮动定位层导航描点上下滚动的浮动导航