git-svnimport usage with different SVN repo layouts

2 messages, 1 author, 2016-06-15 · open the first message on its own page

git-svnimport usage with different SVN repo layouts

From: Martin Langhoff <hidden>
Date: 2016-06-15 22:42:14

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

Re: git-svnimport usage with different SVN repo layouts

From: Martin Langhoff <hidden>
Date: 2016-06-15 22:42:14

On 12/15/05, Martin Langhoff [off-list ref] 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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help