Linux下SVN命令switch用法


# 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)


免责声明!

本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。



 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM