svn更改用户问题

如果在本机用svn的一个帐户update和commite代码,并且选择了保存用户名和密码。

上面是一个假设,如果这个假设成立,当你准备换另一个svn的用户来update和commite的时候就遇到麻烦了,至少我是这样的,我逐次用一下办法解决

1.删除隐藏文件夹 .svn,重新取code,无效
2. 卸载svn,重新取code,无效

最后网上搜了一番。发现如下可以顺利解决;
删除掉Documents and Settings/user/Application Data/Subversion/auth/svn.simple文件夹下的文件即可。
再次访问时,会弹出要求输入用户名和密码.

Last modified onSunday, 14 October 2012 04:07

( ! ) Warning: count(): Parameter must be an array or an object that implements Countable in /var/www/vhosts/shan.info/httpdocs/templates/gk_publisher/html/com_k2/templates/default/item.php on line 169
Call Stack
#TimeMemoryFunctionLocation
10.0004403592{main}( ).../index.php:0
20.05681321296Joomla\CMS\Application\SiteApplication->execute( ).../index.php:49
30.05681321296Joomla\CMS\Application\SiteApplication->doExecute( ).../CMSApplication.php:196
40.23562979600Joomla\CMS\Application\SiteApplication->dispatch( ).../SiteApplication.php:233
50.23663004056Joomla\CMS\Component\ComponentHelper::renderComponent( ).../SiteApplication.php:194
60.23793059384Joomla\CMS\Component\ComponentHelper::executeComponent( ).../ComponentHelper.php:377
70.23803076440require_once( '/var/www/vhosts/shan.info/httpdocs/components/com_k2/k2.php' ).../ComponentHelper.php:402
80.24843220528K2ControllerItem->execute( ).../k2.php:64
90.24843220528K2ControllerItem->display( ).../BaseController.php:710
100.25793489608K2ControllerItem->display( ).../item.php:78
110.25793489608K2ControllerItem->display( ).../controller.php:19
120.25973508128Joomla\CMS\Cache\Controller\ViewController->get( ).../BaseController.php:663
130.26373528544K2ViewItem->display( ).../ViewController.php:102
140.36264011520K2ViewItem->display( ).../view.html.php:742
150.36264011520K2ViewItem->loadTemplate( ).../HtmlView.php:230
160.36634186240include( '/var/www/vhosts/shan.info/httpdocs/templates/gk_publisher/html/com_k2/templates/default/item.php' ).../HtmlView.php:701

( ! ) Notice: Only variables should be assigned by reference in /var/www/vhosts/shan.info/httpdocs/templates/gk_publisher/html/com_k2/templates/default/item.php on line 478
Call Stack
#TimeMemoryFunctionLocation
10.0004403592{main}( ).../index.php:0
20.05681321296Joomla\CMS\Application\SiteApplication->execute( ).../index.php:49
30.05681321296Joomla\CMS\Application\SiteApplication->doExecute( ).../CMSApplication.php:196
40.23562979600Joomla\CMS\Application\SiteApplication->dispatch( ).../SiteApplication.php:233
50.23663004056Joomla\CMS\Component\ComponentHelper::renderComponent( ).../SiteApplication.php:194
60.23793059384Joomla\CMS\Component\ComponentHelper::executeComponent( ).../ComponentHelper.php:377
70.23803076440require_once( '/var/www/vhosts/shan.info/httpdocs/components/com_k2/k2.php' ).../ComponentHelper.php:402
80.24843220528K2ControllerItem->execute( ).../k2.php:64
90.24843220528K2ControllerItem->display( ).../BaseController.php:710
100.25793489608K2ControllerItem->display( ).../item.php:78
110.25793489608K2ControllerItem->display( ).../controller.php:19
120.25973508128Joomla\CMS\Cache\Controller\ViewController->get( ).../BaseController.php:663
130.26373528544K2ViewItem->display( ).../ViewController.php:102
140.36264011520K2ViewItem->display( ).../view.html.php:742
150.36264011520K2ViewItem->loadTemplate( ).../HtmlView.php:230
160.36634186240include( '/var/www/vhosts/shan.info/httpdocs/templates/gk_publisher/html/com_k2/templates/default/item.php' ).../HtmlView.php:701
back to top