码迷,mamicode.com
首页 > 系统相关 > 详细

Linux下svn命令switch用法

时间:2015-07-10 20:28:58      阅读:474      评论: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
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!