Nice programing

Tortoisesvn Subversion 1.8-병합-더 이상 분기 옵션을 다시 통합하지 않음

nicepro 2020. 11. 17. 21:04
반응형

Tortoisesvn Subversion 1.8-병합-더 이상 분기 옵션을 다시 통합하지 않음


tortoiseSvn 1.8에는 분기 옵션 "재 통합"이 없습니다. Tortoise Svn 1.8에서 분기를 다시 통합하는 올바른 방법은 무엇입니까?

병합을 선택하고 다음 옵션을 선택하십시오. 첫 번째 단계 병합

그러면 다음 창이 나타납니다. 여기에 이미지 설명 입력

아니면 내가 다른 일을 잘못하고 있습니까?


분기를 TARGET에 병합

편집하다

알겠습니다. 확장 된 답변 : 사진에서 "Merge for Dummies"

머리말

예, 사용한 시험장을 가리거나 숨기지 않겠습니다.

이 샘플 리소스에서 사용 :

Repo 그래프

  • 로컬 디렉토리 z:\WC-Trunk(트렁크의 WC, 프로세스에 사용됨)
  • TortoiseSVN 1.8.1, 빌드 24570-32 비트

재현 단계

브랜치를 트렁크에 병합하려면 트렁크의 Working Copy가 있어야합니다. 따라서 트렁크의 HEAD가 WC-Trunk로 체크 아웃되었습니다.

z:\WC-Trunk>svn ls
Dr?p?r.ma?ar.sv?nskan.man.eller.smalensk?n.txt
Hello.de.txt
Hello.en.txt
Hello.eo.txt
Hello.fr.txt

화장실이 필요합니다

z:\WC-Trunk>svn info
Path: .
Working Copy Root Path: Z:\WC-Trunk
URL: http://mayorat.ursinecorner.ru:8088/svn/Hello/trunk
Relative URL: ^/trunk
...

병합 시작

스타트

"이 방법은 분기 (또는 트렁크)에 대해 하나 이상의 수정을 수행하고 이러한 변경 사항을 다른 분기로 포팅하려는 경우를 다루기 때문에" "범위 병합"을 선택합니다.

병합 유형

달리 정의되지 않은 경우 모든 개정을 선택하고 트렁크 (프랑스 지점)에 병합해야하는 저장소의 트리 경로를 선택합니다.

병합 옵션

몇 가지 추가 병합 옵션을 정의하고 (필요한 경우) 감지를 위해 병합을 테스트 할 수 있으며, 어떤 형태로든 충돌 해결이 필요하거나, 마지막에 실제 병합 프로세스시작합니다.

옵션 2


Subversion 1.8은 --reintegrate 옵션을 더 이상 사용하지 않기 때문에 더 이상 TortoiseSVN에 없습니다. Subversion 1.8에는 자동 재 통합 처리 / 감지 기능이 있습니다.

참조 : Subversion 1.8 릴리스 노트 , 특히 자동 재 통합 섹션

편의상 관련 영역은 다음과 같습니다.

자동 재 통합 병합 (--reintegrate 옵션 더 이상 사용되지 않음)

다른 브랜치의 모든 적격 리비전을 병합하는 병합 중에 Subversion 1.8은 병합이 브랜치를 다시 통합하는지 여부를 자동으로 결정합니다. 따라서 분기를 다시 통합 할 때 더 이상 올바른 작업을 위해 --reintegrate 옵션이 필요하지 않습니다.

svn merge의 --reintegrate 옵션은 이제 더 이상 사용되지 않으며 사용하지 않는 것이 좋습니다. 브랜치를 다시 통합하려면 트렁크의 깨끗한 작업 복사본을 갖고 최상위 디렉토리에서 다음 명령을 실행합니다.

$ svn merge ^/branches/my-branch

This merge will still perform similar sanity checks which svn merge --reintegrate performed in earlier releases:

  • The working copy must not be a mixed-revision working copy.
  • The working copy must not have switched subtrees.
  • There must be no gaps in revision ranges merged from the reintegration target (e.g. the trunk) to the reintegration source
    (i.e. the branch to be reintegrated).

If any of these conditions are detected, the merge is aborted and the necessary steps must be taken to fix the problem before the branch can be reintegrated. In contrast to a --reintegrate merge, an automatic reintegration merge into a working copy with local modifications is allowed.

Merging to-and-fro between two branches in any order is possible using the automatic reintegration merge (the "keep-alive dance" is no longer necessary). For best results, it is recommended to always merge all eligible revisions, i.e. not using the -r or -c options of svn merge. Merging just a subset of eligible revisions increases the likelihood of problems during future merges.

Using --reintegrate in Subversion 1.8 will force a reintegration merge, whether or not that's the right merge to perform in the given situation.

In your case, you should do the following:

  1. Make sure you're using a clean, no modifications, up-to-date trunk working copy as you normally would
  2. TortoiseSVN -> Merge on this working copy root
  3. Select "Merge a range of revisions"
  4. Select the branch you are reintegrating
  5. 개정 범위를 지정하지 마십시오 (적격 한 모든 개정을 병합).
  6. Subversion 1.8은 재 통합을 자동 감지하고 동일한 안전 검사를 수행해야합니다.
  7. 병합을 정상적으로 진행하십시오.

호환성 표에 따르면 Subversion 1.8 클라이언트는 Subversion 서버 및 저장소 형식이 각각 버전 1.5 이상인 한이 자동 재 통합을 수행 할 수 있습니다.

아직 자동 재 통합을 수행하지 않았으며 릴리스 노트를 중단 할 것입니다.


Shift컨텍스트 메뉴를 열 때 키를 누르고 있으면 숨겨진 옵션이 표시됩니다. 이있을 것입니다 TortoiseSVN/ Merge reintegrate...메뉴.

그러나 당신은 새로운 Automatic reintegration merge

참고 URL : https://stackoverflow.com/questions/18444634/tortoisesvn-subversion-1-8-merge-no-more-reintegrate-a-branch-option

반응형