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?
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.
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