threads / discuss / 2848

git-svnimport usage with different SVN repo layouts

Subject: git-svnimport usage with different SVN repo layouts

## tl;dr

2 messages between Dec 15, 2005 and Dec 15, 2005.

replies: 1people: 1as markdown or json

Martin Langhoff· Dec 15, 2005, 04:47 UTC · lore

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· Dec 15, 2005, 05:54 UTC · re: Martin Langhoff · lore

Re: git-svnimport usage with different SVN repo layouts

On 12/15/05, Martin Langhoff <martin.langhoff@gmail.com> wrote:
Show 7 quoted lines
> 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

← back to recent threads