Questions tagged [svn2git]

There are multiple utilities called svn2git that do the same task, transforming an SVN repository into one or multiple Git repositories. This tag can be used for any of them.

The KDE svn2git utility is probably the most sophisticated, most flexible and fastest tool amongst the ones called svn2git.

It is fed with a set of rules that define how the SVN content should be transformed into one or even multiple Git repositories or combine different SVN repositories in one SVN location into one Git repository.

It is often used in conjunction with svneverever to easily analyze the history of a repository and its committers to aid in setting up a rules file if the history of the repository was not straightforward.


Another svn2git utility available is the one of nirvdrum which uses git-svn for importing the SVN repository and then does some post-processing which is in total extremely time consuming and produces sometimes a bit of a borked history or missies the history from some point on.

132 questions
0
votes
1 answer

svn2git command failed: git checkout

Currently we're experimenting with migrating some of our bigger projects from svn to git. svn2git worked quite nice for some of our projects, but it has problems with our bigger ones. At the end we will get the message: command failed: git…
Core_F
  • 3,372
  • 3
  • 30
  • 53
0
votes
1 answer

How to import specific svn branch to existing git repo using svn2git?

How can I import a specific branch in my SVN repo to another existing GIT repo? ex. svn/my-branch --> git/my-branch
Kulvis
  • 655
  • 11
  • 33
0
votes
1 answer

svn2git gives Checksum Mismatch

I'm converting a bunch of SVN projects to Git, and svn2git has been working great for about 50 projects so far! I got a Checksum Mismatch error on a decent sized SVN project with a good number of tags (~30). Here's the message: r10249 =…
Larry T.
  • 1
  • 2
0
votes
1 answer

SVN to Git migration issue

I am in a stage of migrating the source code data from Subversion to Git. I was successful in migrating 29000 commits in to Git and after that the process get hung and found the below issue. used svn2git htt://svnrepopath --verbose RA layer request…
Nanda
  • 115
  • 1
  • 11
0
votes
1 answer

Error installing the svn2git gem (EADDRNOTAVAIL)

I'm trying to use svn2git on a test PC before using it with my real projects. So I have tortoiseSVN installed and a project working with SVN in a local repository (I work on my test only in local network, the PC is not connected to other item). I…
tutur29
  • 105
  • 1
  • 10
0
votes
1 answer

git subtree split issues after svn2git migration

I have just converted a large nested SVN repo to git using the git2svn command line tool and now have a git repo at D:\project Repo folder structure as follows: \web\projectA \web\projectB \winforms\projectD \winforms\projectE I want to extract…
Mark Perry
  • 1,705
  • 10
  • 12
0
votes
1 answer

svn2git - "hot migration" preserve file permissions

We are migrating SVN to Git. On a project. Everything is well but I have a problem with preserving the permissions (file mode) of some untracked (ignored) dirs and files. We the following process: CleanUp the SVM repo (tidy up, clean uncommited…
Borislav Sabev
  • 4,776
  • 1
  • 24
  • 30
0
votes
1 answer

svn to git migration fails

I have a subversion repository that has about 45000 revisions. I am trying to convert it to git but it keeps failing. I have tried git svn clone, subgit, svn2git and the atlassian provided svn-migration-scripts.jar git svn clone and the atlassian…
shikarishambu
  • 2,219
  • 6
  • 35
  • 57
0
votes
2 answers

Including branches that were created after conversion

I'm in the process of converting a large repository from SVN to Git. I've used SVN2Git to handle the conversion. However, it takes a very long time. So, I've been using the svn2git --rebase command to bring in changes while we test, prepare our CI…
moribvndvs
  • 42,191
  • 11
  • 135
  • 149
0
votes
0 answers

Migrate code from SVN to GIT without losing commits history?

I want to migrate an existing svn repo to git repo. I use 'svn2git'. The situation is: SVN Repo: ./svn_repo/a/ ./svn_repo/b/ I have different svn logs in folder svn_repo, 'a' and 'b'. for example: svn_repo: 'svn log' -> bla, bla svn_repo/a: 'svn…
vir2al
  • 817
  • 4
  • 11
  • 15
0
votes
1 answer

How to show branch merging after svn2git in gitk

I used svn2git to migrate a svn project with branches. The branches show up in gitk, but the graph does not show the branches merge back in. Check in comments indicate where the merges happened. Is there a way to manipulate the history such that…
0
votes
2 answers

Strange SVN folder in repository

I am in the process of moving from SVN to git, and I am trying to migrate my existing SVN repository using the git svn wrapper, svn2git (https://github.com/nirvdrum/svn2git). I am using svn2git because it keeps branches intact. My end goal is to put…
user984976
  • 1,314
  • 1
  • 12
  • 21
0
votes
1 answer

svn2git Does Not Fetch Branches or Tags

I am using svn2git to migrate an SVN repository of the standard branch/tag/trunk structure to Git. Having followed the instructions set forth by svn2git, I was able to fetch all of the revisions from SVN and have it translated into Git. However, it…
Oliver Spryn
  • 16,871
  • 33
  • 101
  • 195
-1
votes
1 answer

SVN to Git migration failing because of Connection reset by peer 312 error

I am trying to migrate SVN to Git using git svn clone on Windows git svn clone -r302360:HEAD https://svnserver/svn/Development/myapi --prefix=svn/ --no-metadata --no-minimize-url --authors-file=authors.txt --stdlayout myapi``` The error I get…
pixel
  • 9,653
  • 16
  • 82
  • 149
-1
votes
1 answer

"git svn" Command not working for non standard svn repository

I am trying to migrate an existing SVN repo to Github, I was successfull in migrating other svn repo to Github, but unable to do so with below. Below image shows the SVn url, and the repo. SVN Repo Structure As per above image, DVAR-DA is trunk, and…
Romano
  • 43
  • 4
1 2 3
8
9