SVN Synchronize vs Update to Head (subclipse)

前端 未结 2 1679
南方客
南方客 2021-01-30 07:34

I\'m fairly new to both Subversion and Subclipse and am seeing some issues that lead me to believe there is a difference between updating to head, and synchronizing. Specificall

2条回答
  •  难免孤独
    2021-01-30 08:07

    There is a difference. When you use the Synchronize view, only the items in the view are updated. With Subversion, folders also have a revision that is bumped everytime a child is modified. However, since these do not appear in the view, they never get updated. When you do Team > Update on the project, all folders and files are updated to a single uniform revision. I have a couple of blog posts that explain this:

    This one explains the core SVN concept of a mixed revision working copy, and is essential to understanding this:

    http://markphip.blogspot.com/2006/12/mixed-revision-working-copies.html

    The second shows a feature in Subclipse to deal with this:

    http://markphip.blogspot.com/2006/12/subclipse-synchronize-feature-show-out.html

    Since the second blog was written, most Subclipse users found they did not like this feature even though it helps with this problem. So it is now off by default in current versions. I do not think anyone uses it anymore.

    The main thing is just to occasionally use Team > Update on your project to bring it all up to a single uniform revision.

    Mark

提交回复
热议问题