LoginSignup
5
5

More than 5 years have passed since last update.

svn2gitで動かない

Posted at

subversionを大人数で運用してconflictの雨嵐状態から離脱するためにgitに強制的に移行することになりました。

repositoryを移動するためにsvn2gitの出番ですが、

svn2git http://REPOSV/path/ --verbose --username hoge

だとエラーで落ちる。
どうやらしらべてみると、repositoryがtrunk/branches/tagsのフォルダーわけて運用していることを前提に書かれているらしい。念のために一度生成された.gitフォルダーを消してから、

svn2git http://REPOSV/path/ --verbose --username hoge   --trunk='/' --tags='/' --branches='/'

として無事import開始。
ただrevisionが13万とかになっていていつになったらおわることやら……。

5
5
3

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
5
5