Today, I want to test a page on a server, so I push the code to that server. Command: sudo -u content -H /etc/init.d/cfapache push =https://svn.dev./regcenter/branches/integration/active.com/ironman After testing the page, I want to rollback the code on that server, but I run into an error. Command: sudo -u content -H /etc/init.d/cfapache push https://svn.dev./regcenter/tags/123.03/123.03.15 ERROR: INFO: Updating "/opt/www/Releases/runningCopy/active.com" svn: Unrecognized URL scheme '=https://svn.dev./regcenter/branches/integration/active.com' INFO: Updating "/opt/www/Releases/runningCopy/cfc" svn: Unrecognized URL scheme '=https://svn.dev./regcenter/branches/integration/cfc' INFO: Updating "/opt/www/Releases/runningCopy/ct" svn: Unrecognized URL scheme '=https://svn.dev./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: Reason: After researching the issue, I find I put an equal mark to the url. The command ‘sudo -u content -H /etc/init.d/cfapache push =https://svn.dev./regcenter/branches/integration/active.com/ironman’ should be ‘sudo -u content -H /etc/init.d/cfapache push https://svn.dev./regcenter/branches/integration/active.com/ironman’ Solution: Change the url of svn info from ‘=https://svn.dev./regcenter/branches/integration/active.com/ironman’ to ‘https://svn.dev./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!' |
|