# git-svnimport usage with different SVN repo layouts

2 messages from 2005-12-15 to 2005-12-15. Participants: Martin Langhoff.
Thread: https://gitlist.dev/t/2848

## Martin Langhoff, 2005-12-15 04:47

Subject: git-svnimport usage with different SVN repo layouts
Message-ID: <46a038f90512142047n1cf9c927ye26af2c7f77f9b63@mail.gmail.com>
URL: https://gitlist.dev/e/46a038f90512142047n1cf9c927ye26af2c7f77f9b63%40mail.gmail.com

```
git-svnimport doesn't seem to like the repos I point it to -- there is
something I must be missing when crafting the import invocation.

I am not a subversion user -- so I'm surely missing a lot of subtlety
WRT to the 'each tag is a directory, each branch is a directory'
philosophy. In any case, the repos I'm trying to use seem simple
(though may be broken).

(And, btw, what are the -T and -t parameters? The documentation and
the usage message contradict each other.)

Example:

  # this gives me a small repo with 40 commits
  svn co svn://elgg.net/devel

  # but I could not get any of this to go
  git-svnimport svn://elgg.net/devel

  # I seem to be having /some/ luck with
  git-svnimport -T devel -t releases svn://elgg.net/devel

... at least history shows through. But I am not seeing any files.
Gah. Also tried, without success

  git-svnimport -T devel -t releases -b branches svn://elgg.net/devel

and -b branch too.

Another nut I haven't been able to crack has been
http://svn.berlios.de/svnroot/repos/serendipity/

puzzled,



martin

```

## Martin Langhoff, 2005-12-15 05:54

Subject: Re: git-svnimport usage with different SVN repo layouts
Message-ID: <46a038f90512142154h2ad47d62n2c26042ad35d2c23@mail.gmail.com>
URL: https://gitlist.dev/e/46a038f90512142154h2ad47d62n2c26042ad35d2c23%40mail.gmail.com
In-Reply-To: <46a038f90512142047n1cf9c927ye26af2c7f77f9b63@mail.gmail.com>

```
On 12/15/05, Martin Langhoff <martin.langhoff@gmail.com> wrote:
> Example:
>
>   # this gives me a small repo with 40 commits
>   svn co svn://elgg.net/devel
>
>   # but I could not get any of this to go
>   git-svnimport svn://elgg.net/devel

At last -- success with

  git-svnimport  -t releases -T devel  -b branches svn://elgg.net

and success (at least apparently) with

  git-svnimport -v -b branches svn://svn.berlios.de/rtnet

cheers.


martin

```
