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