分享

SVN push issue

 Jeln 2009-11-18

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:
Path: active.com
URL: =https://svn.dev./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 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!'


    本站是提供个人知识管理的网络存储空间,所有内容均由用户发布,不代表本站观点。请注意甄别内容中的联系方式、诱导购买等信息,谨防诈骗。如发现有害或侵权内容,请点击一键举报。
    转藏 分享 献花(0

    0条评论

    发表

    请遵守用户 评论公约

    类似文章 更多