git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "David Neu" <david@davidneu.com>
To: git@vger.kernel.org
Subject: Converting from svn to git
Date: Sun, 10 Aug 2008 09:11:43 -0400	[thread overview]
Message-ID: <e0b44a890808100611t27ddfcb6v21eecea89484c90b@mail.gmail.com> (raw)

Hi,

I'm trying to move an svn repo to git.  I'm not going to be committing
back to the svn repo, but will simply retire it and use git.

The issue I'm having is that the svn repo has sub directories that I'd
like to be separate git repos.

I can easily accomplish this for the sub directories like this:

git-svn clone svn-url/subdir1
git-svn clone svn-url/subdir2
etc.

but for the files in the base directory

git-svn clone svn-url

pulls the entire directory tree.

Is there a git-svn strategy similar to git-svnimport -P that would do the trick?
My git version 1.5.6.4 doesn't include git-svnimport, and I'm getting
the impression
it's be deprecated.

Many thanks for any help!

Cheers,
David

             reply	other threads:[~2008-08-10 13:12 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-08-10 13:11 David Neu [this message]
2008-08-10 13:24 ` Converting from svn to git Miklos Vajna
2008-08-10 14:54   ` David Neu
2008-08-10 15:32     ` Michael J Gruber
2008-08-10 15:48       ` David Neu
2008-08-11 17:46         ` David Neu
2008-08-15 13:58           ` Michael J Gruber
2008-08-17  9:11             ` Sam Vilain

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=e0b44a890808100611t27ddfcb6v21eecea89484c90b@mail.gmail.com \
    --to=david@davidneu.com \
    --cc=git@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).