[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: Migration a Git archive to subversion

From: Eric Johnson <eric_at_tibco.com>
Date: Tue, 10 Jul 2018 11:07:05 -0700

In general, this isn't precisely possible, because Git has a different
data-model than Subversion, which is probably why you don't see many tools
automating this.

Tags: In Git, a tag is just a pointer to a revision. In Subversion, a tag
is a separate revision of the repository, represented by a separate path.

Branches: Git tracks merging of branches with a special merge-commit
object, whereas Subversion uses the merge-info property. The discrepancy
can lead to subtle differences over time.

So I'm not sure you can find a fully automated tool to migrate either
direction.

However, having said all that, try the "git-svn" connector. Here's someone
with a similar sounding task:
http://www.draconianoverlord.com/2010/03/05/existing-git-into-svn.html

Eric

On Tue, Jul 10, 2018 at 8:30 AM Martin Sauer <ms-main_at_gmx.de> wrote:

> Hello,
>
> I want to migrate my git project archive to subversion. In the internet
> I can't find only infos about migrate from subversion to git.
>
> Can you tell me how I can migrate my projects to svn?
>
> Thank your for your help.
>
> BR
>
> martin
>
>
>
Received on 2018-07-10 20:07:33 CEST

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.