문제

I'm just getting started with SVN using the tools mentioned above, as for normal updating and committing I didn't have any problems, my problem is now when I'm trying to update my trunk with my branch changes.

First off, I started using the branch/tags option to created the branch from the trunk (is this the correct way to do it? or can I just copy the content from the trunk to the branch folder?).

After some changes done in the branch folder, I'm trying to copy those changes to the trunk, following other answers on here they say to switch the working directory to the trunk, but whenever I try to do so I get

'https://sc-mika/svn/repo.test/trunk' shares no common ancestry  with 'C:/Users/SC'.

What is it that I'm doing wrong?

도움이 되었습니까?

해결책

In order to get branch's changes in trunk, you must merge branch into trunk (not just switch your WC) - read SVN Book

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