Re: Migrating a git repository to subversion

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, May 16, 2008 at 5:08 AM, Alf Mikula <amikula@xxxxxxxxx> wrote:
> 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

I would just create another local branch and merge the tracking branch
into it, then rebase the branch with the master branch and then do the
svn dcommit. If the 'git svn clone' 'd repo is bare I think it should
commit the individual commits.

Best regards,

Imran

>  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
>  --
>  To unsubscribe from this list: send the line "unsubscribe git" in
>  the body of a message to majordomo@xxxxxxxxxxxxxxx
>  More majordomo info at  http://vger.kernel.org/majordomo-info.html
>



-- 
Imran M Yousuf
Entrepreneur & Software Engineer
Smart IT Engineering
Dhaka, Bangladesh
Email: imran@xxxxxxxxxxxxxxxxxxxxxx
Mobile: +880-1711402557
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]

  Powered by Linux