2013-05-27 2 views
2

이 문제를 어떻게 해결할 수 있습니까?smartgit : 명령 실행 실패 : 트렁크가 오래 되었음

나는 smartgit/hg를 svn 저장소에 사용하며 항상 하나의 트렁크 만 사용하여 작업했습니다.

Executing a command has failed. 
svn: Verzeichnis "/trunk" ist veraltet 

의미 : "폴더/트렁크 오래된"또는

가 어떻게이 문제를 해결할 수있는 지금, 나는 그것에서 다른 분기를 시작했다고하고, "체리 그림이"나는이 문제가 사용 ?

그 메시지가 매번 오는 것은 다시

이 내 나무입니다 : enter image description here

는 화면 하단 로그는 다음과 같습니다 푸시 SmartGit에

Synchronize: svn: Verzeichnis »/trunk« ist veraltet 
HEAD is now at 347425d Merge remote-tracking branch 'refs/remotes/svn/trunk' into trunk 
HEAD is now at 347425d Merge remote-tracking branch 'refs/remotes/svn/trunk' into trunk 
Automatic merge went well; stopped before committing as requested 
Already up-to-date! 
Squash commit -- not updating HEAD 
Automatic merge went well; stopped before committing as requested 
Already up-to-date! 
Squash commit -- not updating HEAD 
Trying simple merge with d800a237bf659f59bfa63781afcede0a8a31e148 
Trying simple merge with cecb0300061476beaf44b82ef3aebceb753ecb0a 
Automatic merge went well; stopped before committing as requested 
Squash commit -- not updating HEAD 
Automatic merge went well; stopped before committing as requested 
Already up-to-date! 
Squash commit -- not updating HEAD 
Automatic merge went well; stopped before committing as requested 
Already up-to-date! 
Squash commit -- not updating HEAD 
Trying simple merge with 7c2851542517e5071a08c8170b8921bf1e02681e 
Trying simple merge with e7da29419e447230a3fa434fadaf948e15c2c796 
Automatic merge went well; stopped before committing as requested 
Squash commit -- not updating HEAD 
HEAD is now at 347425d Merge remote-tracking branch 'refs/remotes/svn/trunk' into trunk 

답변

2

은 커밋을 전송 git-svn-id 서명이있는 커밋이 충족 될 때까지 "first parent"경로로 refs/head/trunk에서 도달 할 수 있습니다. 보통이 커밋에는 "refs/remotes/svn/trunk"참조가 있습니다.

스크린 샷 (AFAIU)에 따르면 "첫 번째 부모"경로로 연결할 수있는 경로는 파란색 줄에 있지만 "svn/trunk"참조는 분홍색 선에 있습니다. 이것은 "트렁크"커밋 부모가 혼란스러워한다는 것을 의미합니다. 따라서 다음을 수행하십시오.

  1. 마지막 병합 커밋을 실행 취소하십시오.
  2. 트렁크가 핑크 라인에 있는지 확인하십시오. 그렇지 않으면 "재설정 ..."명령을 사용하여 "트렁크"참조를 svn/트렁크로 이동하십시오.
  3. 외부 변경 사항이 없는지 확인하십시오 (당겨 받기 + 리베이스 옵션 실행)
  4. "blue"분기를 다시 병합하십시오. 그들은 녹색에서 벚꽃 고른 변경 어쨌든했다 원인
+0

  • 밀어 나는 파란색 선에 모두 6 커밋을 취소하여 해결했다. 그런 다음 전에는 두 줄만 사용했고 "svn/trunk"에 대한 로컬 git- "trunk"참조를 재설정 할 수있었습니다. – rubo77