git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Migrating a git repository to subversion
@ 2008-05-15 23:08 Alf Mikula
  2008-05-15 23:19 ` Avery Pennarun
                   ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: Alf Mikula @ 2008-05-15 23:08 UTC (permalink / raw)
  To: git

I'm a relatively new (2 weeks) user of Git, and so far I really love
it, and I want to educate my co-workers about it.

Having said that, I want to demonstrate git's git<--->svn
capabilities, and currently everybody here has and understands
Subversion.  So, I want to initialize a Subversion repository with my
git history from my local git repository.  Here's what I tried:

1. Create a new, empty subversion project with trunk/tags/branches subdirs.
2. git svn clone http://myhost.com/path/to/project --stdlayout
3. git pull ../git_project
4. git svn dcommit


This put all my files into Subversion, but under a single commit.  Is
there a step I'm missing that would allow git to commit all my
individual git commits to the Subversion repository?  I've done a
bunch of searches, but all the docs seem to focus on cloning an
existing svn repository, as opposed to exporting git repositories to
Subversion.

Thanks in advance,

-Alf

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2008-05-16 17:46 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-05-15 23:08 Migrating a git repository to subversion Alf Mikula
2008-05-15 23:19 ` Avery Pennarun
2008-05-15 23:47   ` Björn Steinbrink
2008-05-16  3:01 ` Linus Torvalds
2008-05-16  3:53   ` Martin Langhoff
2008-05-16 17:45     ` Alf Mikula
2008-05-16  4:59 ` Imran M Yousuf

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).