首页 > 系统服务 > 详细

Linux下svn命令switch用法

时间:2015-07-10 20:27:47      阅读:1047      评论:0      收藏:0      [点我收藏+]

# svn info /data/www/49you/api.49you.com

Path: /data/www/49you/api.49you.com
URL: svn://192.168.10.81:3690/api.49you.com/wwwroot
Repository Root: svn://192.168.10.81:3690/api.49you.com
Repository UUID: e1f22fcc-588e-4d25-baff-28a024ac003d
Revision: 1569
Node Kind: directory
Schedule: normal
Last Changed Author: zhukf
Last Changed Rev: 1569
Last Changed Date: 2015-07-10 14:35:01 +0800 (Fri, 10 Jul 2015)

# cd /data/www/49you/api.49you.com  #这步非常重要,必须进入要重新定位的目录内,否则会提示(svn: ‘.‘ is not a working copy)

# svn sw --relocate svn://192.168.10.81:3690/api.49you.com/wwwroot svn://120.26.11.66:3690/api.49you.com/wwwroot 

Password for ‘root‘:
Authentication realm: <svn://120.26.11.66:3690> e1f22fcc-588e-4d25-baff-28a024ac003d
Username: admin
Password for ‘admin‘:

-----------------------------------------------------------------------
ATTENTION! Your password for authentication realm:

<svn://120.26.11.66:3690> e1f22fcc-588e-4d25-baff-28a024ac003d

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

# svn info api.49you.com/
Path: api.49you.com
URL: svn://120.26.11.66:3690/api.49you.com/wwwroot
Repository Root: svn://120.26.11.66:3690/api.49you.com
Repository UUID: e1f22fcc-588e-4d25-baff-28a024ac003d
Revision: 1569
Node Kind: directory
Schedule: normal
Last Changed Author: zhukf
Last Changed Rev: 1569
Last Changed Date: 2015-07-10 14:35:01 +0800 (Fri, 10 Jul 2015)

Linux下svn命令switch用法

原文:http://www.cnblogs.com/fjping0606/p/4637117.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!