SVN push issue
来源:百度文库 编辑:神马文学网 时间:2024/05/02 00:58:41
Today, I want to test a page on a server, so Ipush the code to that server.
Command:
sudo -u content -H /etc/init.d/cfapachepush=https://svn.dev.activenetwork.com/regcenter/branches/integration/active.com/ironman
After testing the page, I want to rollbackthe code on that server, but I run into an error.
Command:
sudo -u content -H /etc/init.d/cfapachepush https://svn.dev.activenetwork.com/regcenter/tags/123.03/123.03.15
ERROR:
INFO: Updating"/opt/www/Releases/runningCopy/active.com"
svn: Unrecognized URL scheme'=https://svn.dev.activenetwork.com/regcenter/branches/integration/active.com'
INFO: Updating"/opt/www/Releases/runningCopy/cfc"
svn: Unrecognized URL scheme'=https://svn.dev.activenetwork.com/regcenter/branches/integration/cfc'
INFO: Updating "/opt/www/Releases/runningCopy/ct"
svn: Unrecognized URL scheme'=https://svn.dev.activenetwork.com/regcenter/branches/integration/ct'
INFO: Updating"/opt/www/Releases/runningCopy/xsl"
At revision 1931.
Then I check the info and find there is '=' in the URL.
Command:
svn info active.com
Info:
Path: active.com
URL: =https://svn.dev.activenetwork.com/regcenter/tags/123.03/123.03.15/active.com
Repository UUID: 36ad38a0-5454-1c48-817e-b0898a19143b
Revision: 1931
Node Kind: directory
Schedule: normal
Last Changed Author: blamotte
Last Changed Rev: 1925
Last Changed Date: 2009-11-16 07:56:37 -0800 (Mon, 16 Nov 2009)
Reason:
After researching the issue, I find I putan equal mark to the url. The command ‘sudo -u content -H /etc/init.d/cfapachepush=https://svn.dev.activenetwork.com/regcenter/branches/integration/active.com/ironman’should be ‘sudo -u content -H /etc/init.d/cfapache push https://svn.dev.activenetwork.com/regcenter/branches/integration/active.com/ironman’
Solution:
Change the url of svn info from ‘=https://svn.dev.activenetwork.com/regcenter/branches/integration/active.com/ironman’to ‘https://svn.dev.activenetwork.com/regcenter/branches/integration/active.com/ironman’in folder active.com, cfc and ct.
Command:
sudo -u content -H vim/opt/www/Releases/runningCopy/active.com/.svn/entries
>press the key 'i' to enter to the insert mode.
>remove '=' from url.
>press the key 'Esc' to leave the insert mode.
>press the key ':'
>enter 'wq!'
sudo -u content -H vim /opt/www/Releases/runningCopy/cfc/.svn/entries
>press the key 'i' to enter to the insert mode.
>remove '=' from url.
>press the key 'Esc' to leave the insert mode.
>press the key ':'
>enter 'wq!'
sudo -u content -H vim/opt/www/Releases/runningCopy/ct/.svn/entries
>press the key 'i' to enter to the insert mode.
>remove '=' from url.
>press the key 'Esc' to leave the insert mode.
>press the key ':'
>enter 'wq!'