2017-10-18 1 views
0

나는 우분투 14.04, git-svn 버전 1.9.1 (svn 1.8.8)을 사용 중입니다. 과정은 다음과 같이 끝냈다git svn - svn 커밋이 누락 되었습니까?

git svn clone https://svn.code.sf.net/p/searchmonkey/code -T trunk -b branches -t tags --prefix=origin/ searchmonkey-code-svngit 

가 :

이제
... 
r850 = 3b98c1c32c0043184313828780c02ed7c2d85a7e (refs/remotes/origin/shawno) 
    M searchmonkey_2_x_x/util.h 
    M searchmonkey_2_x_x/mainwindow.ui 
    M searchmonkey_2_x_x/tab.cpp 
    M searchmonkey_2_x_x/mapped.cpp 
    M searchmonkey_2_x_x/find.h 
    M searchmonkey_2_x_x/grep.cpp 
    M searchmonkey_2_x_x/matcher.cpp 
    M searchmonkey_2_x_x/matcher.h 
    M searchmonkey_2_x_x/mainwindow.cpp 
r851 = b3fe25fdacad270432f1a2f7b5876b83b54d2387 (refs/remotes/origin/shawno) 
Checked out HEAD: 
    https://svn.code.sf.net/p/searchmonkey/code/trunk r365 
error closing pipe: Bad file descriptor at /usr/lib/git-core/git-svn line 0. 
error closing pipe: Bad file descriptor at /usr/lib/git-core/git-svn line 0. 

, I cd searchmonkey-code-svngit 및 문제 gitk --all, 나는 최신을 볼 때 커밋 r851은, 어느 내가했습니다 위해 내가 사용 https://sourceforge.net/p/searchmonkey/code/HEAD/tree/를 복제 시도 재설정 master. 그래서 지금 상태는 다음과 같습니다

$ git svn info 
Path: . 
URL: https://svn.code.sf.net/p/searchmonkey/code/branches/shawno 
Repository Root: https://svn.code.sf.net/p/searchmonkey/code 
Repository UUID: 937bcc44-791b-0410-a411-b6e56c9656c8 
Revision: 851 
Node Kind: directory 
Schedule: normal 
Last Changed Author: shawno 
Last Changed Rev: 851 
Last Changed Date: 2011-05-06 04:01:08 +0200 (Fri, 06 May 2011) 
$ git status 
On branch master 
nothing to commit, working directory clean 
$ git log -1 
commit b3fe25fdacad270432f1a2f7b5876b83b54d2387 
Author: shawno <[email protected]> 
Date: Fri May 6 02:01:08 2011 +0000 

    minor changes before move working copy to non-system drive 

    git-svn-id: https://svn.code.sf.net/p/searchmonkey/code/branches/[email protected] 937bcc44-791b-0410-a411-b6e56c9656c8 
$ git svn log -1 
------------------------------------------------------------------------ 
r851 | shawno | 2011-05-06 04:01:08 +0200 (Fri, 06 May 2011) | 2 lines 

minor changes before move working copy to non-system drive 

------------------------------------------------------------------------ 

... 그러나, 소스 포지 페이지는 말한다 :

태그 2011-05-07 shawno [r852]를

을 발표 없었어 2.0.1

... 근본적으로이 프로젝트의 Sourceforge svn에서 r852가 누락되었습니다. git svn에 의해 마지막으로 복제 된 것이 r851입니다. 나는 다음을 시도했다 :

$ git svn fetch 
$ git svn rebase 
Current branch master is up to date. 
creating empty directory: install_msi/cache.upx/tmp 
creating empty directory: sm_no_gui/release 
$ git svn rebase 
Current branch master is up to date. 

... 그리고 여전히 최신 커밋은 r851이다.

이 git svn 저장소에 누락 된 r852 커밋을 어떻게 얻을 수 있습니까?

답변

0

아, 나는 그것을 가지고 생각 : 나는 [r852] 2.0.1 never got released을 클릭하면, 그때 볼 수 있습니다

제거 /tags/searchmonkey_v2.0.1 /tags/searchmonkey_v2.0.1 파일이 제거되었습니다.

... 그래서 파일이 삭제되었다는 내용의 항목입니다. 그렇지 않으면 https://sourceforge.net/p/searchmonkey/code/852/tree/에서 branches 항목은 말한다 :

가지 2011-05-06 shawno [r851]를 실제로 비 s의 이동 작업 복사본 전에 사소한 변경 ...

..., r851 최신 버전이므로 모두 괜찮습니다 ...

+0

답변으로 표시 할 수 있습니다. 또한 비슷한 질문을하는 사람들에게도 도움이 될 것입니다. –

0

SVN git-svn 복제본에서 태그 또는 분기를 커밋으로 표시하지 않도록 커밋합니다. 그러나 태그 나 브랜치를 삭제해야하거나 적어도 SVN에서 삭제되었다는 것을 명확히하는 것으로 이름을 바꿔야 할 때 효과를보아야한다. 나는 100 % 확실하지 않다.