Xcode Subversion (SCM) Difference between Refresh and Update

廉价感情. 提交于 2019-12-11 03:05:26

问题


I have configured Xcode to use Subversion (hosted on a remote webserver - Beanstalk.com). In Xcode menu under SCM, I want to know the difference between two options
1. "Refresh Entire Project ..." and
2. "Update Entire Project ..."

Please help.

Thanks
Dev.


回答1:


Open the SCM Results window from the SCM menu item, click on the little 'text' button on the left-hand-side (might be at the bottom of the window to start with?), expand it so you can see a little more, and then run refresh and update to see what commands Xcode passes to SVN.

Sorry, can't speak for SVN right now, but for CVS it did this for me:




回答2:


I believe Refresh will check the repository if there is a newer, updated version of any files within your project that may have been committed by another developer since your last checkout.

Opening your SCM Results view will show you in the 'Update' column what files have been updated since your last checkout with an 'M'.

If you select Update, you will actually pull down those files and update your current project while Refresh will just check the files and list them in the SCM results window without downloading and overwriting your file.



来源:https://stackoverflow.com/questions/4792042/xcode-subversion-scm-difference-between-refresh-and-update

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