1

subgit巨大な SVN リポジトリをセットアップしようとしています。このリポジトリは非常に古いので、構造を少し整理するために、さまざまなサブディレクトリに対して個別の git リポジトリを作成したいと考えています。

SVN が にあり、、 など/svnのサブディレクトリがあるとします。project1project2

これは機能します

$ subgit configure --svn-url file:///svn/ git.git
$ subgit install git.git

これも機能しますが、空のリポジトリが作成されます

$ subgit configure --svn-url file:///svn/project1/ /tmp/project1.git
$ subgit install /tmp/project1.git
[...]
Translating Subversion revisions to Git commits...

    Subversion revisions translated: 6563.
    Total time: 1 seconds.

INSTALLATION SUCCESSFUL
[...]
$ git clone /tmp/project1.git
Cloning into 'project1'...
warning: You appear to have cloned an empty repository.
done.

SVN には、実際には .xml 内にファイルがありますproject1。subgit で動作しないのはなぜですか?どうすれば修正できますか?

4

1 に答える 1