Je suis sur Ubuntu 14.04, git-svn version 1.9.1 (svn 1.8.8). J'ai essayé de cloner https://sourceforge.net/p/searchmonkey/code/HEAD/tree/, en utilisant:git svn - manque svn commits?
git svn clone https://svn.code.sf.net/p/searchmonkey/code -T trunk -b branches -t tags --prefix=origin/ searchmonkey-code-svngit
Ce processus a pris fin comme ceci:
...
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.
Maintenant, quand je cd searchmonkey-code-svngit
et question gitk --all
, je vois la dernière Commit est r851, auquel j'ai réinitialiser master
. Alors maintenant, le statut est:
$ 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
------------------------------------------------------------------------
... Cependant, la page SourceForge dit:
balises 2011-05-07 shawno [R852] 2.0.1 n'a jamais reçu sorti
... donc, fondamentalement, il me manque r852 de Sourceforge svn de ce projet, comme le dernier cloné par git svn
est r851. J'ai essayé de faire:
$ 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.
... et encore, la dernière validation est r851.
Comment puis-je obtenir le commit r852 manquant dans ce dépôt git svn?
Vous pouvez le marquer comme réponse. Et cela profitera également aux autres qui ont des questions similaires. –