学习是一种信仰。
分类: 项目管理
2013-06-23 22:44:57
1、linux下如何进行svn relocate操作:
(1)进入工作复本
production@campostdev:~> cd cpst/campost
(2)查看仓库地址(URL)
production@campostdev:~/cpst/campost> pwd
/pis/users/production/cpst/campost
production@campostdev:~/cpst/campost> svn info
Path: .
Working Copy Root Path: /pis/users/production/cpst/campost
URL: http://campostdev:18080/svn/newcamp/trunk/center/campost
Repository Root: http://campostdev:18080/svn/camp
Repository UUID: 3f4a94f3-a1e5-49c4-b63d-ae8c1607e3c5
Revision: 4499
Node Kind: directory
Schedule: normal
Last Changed Author: zhanghuijun
Last Changed Rev: 4497
Last Changed Date: 2013-06-10 11:48:46 +0100 (Mon, 10 Jun 2013)
(3)更改仓库地址(URL)
production@campostdev:~/cpst/campost> svn relocate http://campostdev:18080/svn/newcamp/trunk/center/campost
production@campostdev:~/cpst/campost> svn info
Path: .
Working Copy Root Path: /pis/users/production/cpst/campost
URL: http://campostdev:18080/svn/newcamp/trunk/center/campost
Repository Root: http://campostdev:18080/svn/newcamp
Repository UUID: 3f4a94f3-a1e5-49c4-b63d-ae8c1607e3c5
Revision: 4496
Node Kind: directory
Schedule: normal
Last Changed Author: production
Last Changed Rev: 4477
Last Changed Date: 2013-06-08 01:57:40 +0100 (Sat, 08 Jun 2013)
2、linux下如何修改提交修改的用户
windows下TortoiseSVN如果使用了记住提交后,想修改提交用户,两种方法:
(1)删除C:\Documents and Settings\user\Application Data\Subversion\auth\svn.simple文件夹下的内容
(2)TortoiseSVN->Setting->Saved Data然后点击Authentication data后面的clear即可
linux下的操作为:
删除$HOME/.subversion/auth/svn.simple/用户认证信息文件。