Difference between 'Team-> Update to HEAD' and 'Replace With-> Latest from Repository'?

StackOverflow https://stackoverflow.com/questions/21608434

  •  08-10-2022
  •  | 
  •  

문제

What is the difference between the Team-> Update to HEAD and Replace With-> Latest from Repository? I frequently use both of them but never know the difference.

Note: My platform is Ubuntu, Eclipse Kepler with Subclipse 1.8.x

도움이 되었습니까?

해결책

This should be explained in the Subclipse help that comes with the plugin.

Team -> Update to HEAD is the equivalent of svn update - the current state of the latest revision is merged into your WC with any local uncommitted changes you might have. Work should not be lost (you may have a merge conflict)

Replace with -> Latest from Repository ignores local changes and replaces your local copy with the latest version in the repository. Local uncommitted changes will be lost.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top