서버내에서 프로젝트 파일들 버전별로 엉성하게 관리하던거 정리하면서

로컬 저장소의 경로를 바꾼다고 switch 하는데 "shares no common ancestry with" 에러 발생 -_-

찾아봐도 무슨 소리인지 모르겠고..



걍 아래 ignore ancestry 하면 저장소 이동 완료

먼가 찜찜해...


[링크 : http://svnbook.red-bean.com/en/1.7/svn.branchmerge.switchwc.html]


+

고민을 해보니.. 리비전 이력상 구버전을 신버전 위치로 바꾸려고 하지만

신버전 위치에 구버전 리비전 이력이 없다면... 그럴거 같기도 하고.. 조금은 더 파악해 봐야겠다



음.. switch는 relocate와 달리.. 머랄까.. branch간 update + merge 기능이라고 해야하려나?

결론은.. 내가 한 행위에 대해서는(서버측 경로 변경) relocate로 해결해주는게 옳다


The svn switch command transforms an existing working copy to reflect a different branch.

Because svn switch is essentially a variant of svn update, it shares the same behaviors; any local modifications in your working copy are preserved when new data arrives from the repository.

[34] You can, however, use svn relocate if the URL of your server changes and you don't want to abandon an existing working copy. See svn relocate in Chapter 9, Subversion Complete Reference for more information and an example.

'프로그램 사용 > Version Control' 카테고리의 다른 글

svnadmin dump로 덤프/합치기  (0) 2015.11.26
svn merge  (0) 2015.08.19
svn 저장소 합치기  (0) 2015.06.06
svn diff syntax highlight 적용해서 보기  (0) 2015.01.30
svn add *.so ignored / --no-ignore  (0) 2015.01.06
Posted by 구차니