How to set a revision number for svn external?

白昼怎懂夜的黑 提交于 2019-12-07 03:19:28

问题


So I have this file Mobile.framework and if I do a svn propedit i get

svn propedit svn:externals

It brings up

Mobile.embeddedframework  svn+ssh://../Mobile.embeddedframework

This is pointed to the head.

I want to edit this and set it to -r1209. Whats the correct way to set it to a revision?


回答1:


Have a look at the SVN manual:

Mobile.framework svn+ssh://../Mobile.embeddedframework@100 - note the @100.

(or)

svn propedit svn:externals .

can help you edit it.




回答2:


svn propset svn:externals \
Mobile.framework  svn+ssh://../Mobile.embeddedframework@1024

1024 is arbitrary :) replace it with the revision number you want to use

EDIT Then for 100 you use

svn propset svn:externals \
Mobile.framework  svn+ssh://../Mobile.embeddedframework@100

EDIT AGAIN* Oh yes, I forgot the target

svn propset . svn:externals \
Mobile.framework  svn+ssh://../Mobile.embeddedframework@100

Note, that there is a dot in the command.



来源:https://stackoverflow.com/questions/12698959/how-to-set-a-revision-number-for-svn-external

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!