我想使用svn2git從svn導入我的倉庫到git,但它似乎失敗了,當它擊中一個分支。有什麼問題?這個svn2git錯誤是什麼意思?
Found possible branch point: https://s.aaa.com/repo/trunk/project => https://s.aaa.com/repo/branches/project-beta1.0, 128
Use of uninitialized value in substitution (s///) at /opt/local/libexec/git-core/git-svn line 1728.
Use of uninitialized value in concatenation (.) or string at /opt/local/libexec/git-core/git-svn line 1728.
refs/remotes/trunk: 'https://s.aaa.com/repo' not found in ''
Running command: git branch -l --no-color
* master
Running command: git branch -r --no-color
trunk
Running command: git checkout trunk
Note: checking out 'trunk'.
You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by performing another checkout.
If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -b with the checkout command again. Example:
git checkout -b new_branch_name
HEAD is now at f4e6268... Changing svn repository in cap files
Running command: git branch -D master
Deleted branch master (was f4e6268).
Running command: git checkout -f -b master
Switched to a new branch 'master'
Running command: git gc
Counting objects: 450, done.
Delta compression using up to 2 threads.
Compressing objects: 100% (368/368), done.
Writing objects: 100% (450/450), done.
Total 450 (delta 63), reused 450 (delta 63)
我有我svn和git的問題。我沒有ideea你的問題可能是什麼,但也許你可以嘗試一個不同的存儲庫轉換工具,如裁縫例如:http://progetti.arstecnica.it /裁縫/ ? – Unknown 2010-06-09 20:42:02
非常相似/相同的錯誤到這個職位: http://stackoverflow.com/questions/15387812/git-svn-found-possible-branch-point/ – 2016-05-05 10:30:43