Questions tagged [subgit]

SubGit is a program for maintaining the same code in Git and Subversion repositories.

SubGit is a tool to transfer commits from a Subversion repository to and from a Git repository. It allows users to use either Git or Subversion to work with the same repository, and is touted as an alternative to git-svn for large-scale migrations from Subversion to Git.

111 questions
0
votes
1 answer

Modifying gitignore to svnignore updates after initial syncronization in SubGit

I'm running SubGit for BitBucket Server, installed as an add on within the BitBucket website. I see the following: Translation Settings Settings in this section could only be altered before synchronization is ran for the very first…
Evan
  • 2,441
  • 23
  • 36
0
votes
0 answers

SVN verify doesn't detect corrupted revision

Trying to identify any corrupted revisions prior to a subgit conversion. This is a bit backwards. I know there is corruption, however: svnadmin verify [repo] Insists that all the revisions are OK. For example, I know that rev 10979 is corrupted, as…
itChi
  • 642
  • 6
  • 19
0
votes
1 answer

SubGit Java Heap Space

While running SubGit I'm finding that the default Heap Size isn't adjustable, as I'm basically running: subgit install foo.git With the settings contained therein. When checking the max heapsize with jmap -heap {pid} I can see 5022Mb allocated -…
itChi
  • 642
  • 6
  • 19
0
votes
1 answer

How to migrate an svn repo to a gitlab repo

About this: https://docs.gitlab.com/ce/user/project/import/svn.html Specifically: The first step to mirror you SVN repository in GitLab is to create a new empty project which will be used as a mirror. For Omnibus installations the path to the…
shinzou
  • 5,850
  • 10
  • 60
  • 124
0
votes
1 answer

subgit - svn's trunk and root folder to be combined in git's master folder

Below is my svn repository structure svnrepo trunk branches tags folder1 folder2 I want to have trunk content, folder1 and folder2 in git repositories master branch, how can I achieve this using subgit migration? gitrepo (master) trunk…
user1816134
0
votes
1 answer

SVN to Git migration : Premature end of file

I am using Subgit to migrate SVN repos to Git. It is a huge repo (Size of git repo is 86 GB after 75% progress). I am getting following error after 75% progress. I tried readTimeout = 600000 in subgit config but no success. Can anyone please suggest…
M Faisal Hameed
  • 673
  • 1
  • 7
  • 25
0
votes
0 answers

subgit fails with 'svn: E204900: File doesn't exist but should'

I'm migrating a big SVN repository (11K revisions and lots of big files). After resuming several times due to communication problems, it started to fail with this message: SubGit version 3.2.5 ('Bobique') build #3694 Translating Subversion…
user1778770
  • 1,550
  • 1
  • 11
  • 10
0
votes
0 answers

Two way sync between git and svn

Is there any migration tool to migrate svn to git and maintain both repository in sync automatically. I have used subgit tool for svn to git migration and does two way sync successfully. Apparently subgit is not suitable for TFS server.
Rajkumar Thambu
  • 2,061
  • 2
  • 15
  • 7
0
votes
1 answer

Integrating Subgit with GitLabs hosted git repository

I would like to use subgit to synchronize an SVN repo that I host, with a GitLab repository that I manage, but it is hosted on the gitlab server. All the instructions that I see assume that gitlab is hosted on your own server, NOT using the gitlab…
Myles Merrell
  • 246
  • 3
  • 12
0
votes
0 answers

Migration issue svn to git using subgit

I am trying to migrate svn to git using subgit. I followed the steps from https://subgit.com/howto.html I could successfully configure. I am getting following on exception on Installation phase. subgit install banking.git exception is as…
Rajkumar Thambu
  • 2,061
  • 2
  • 15
  • 7
0
votes
1 answer

How to import tags from multiple folders?

I successfully executed subgit import on large old repository. Later i discovered, that there were two directories for tags: default tags and tag. I tried to edit subgit config file according to advices in Does subgit support multiple 'branches'…
Kirill
  • 6,762
  • 4
  • 51
  • 81
0
votes
0 answers

Gitlab CI does not trigger build on SVN (Subgit) commit

we have a subgit bridge between our SVN and Gitlab instances. When we commit something to SVN, the commit is beeing synced to Gitlab. This works fine, only problem is that the CI does not start. Commit to Gitlab directly -> Build starts Commit to…
medokin
  • 610
  • 9
  • 21
0
votes
0 answers

Subgit: translation process with many branch/tag definitions extremely slow

Our subversion history is ... complicated. Using simple rule like branches = branches/*:refs/heads/* simply doesn't work. What I'm trying instead is to use branches = branches/branch1:refs/heads/branch1 branches =…
Peter Štibraný
  • 32,463
  • 16
  • 90
  • 116
0
votes
1 answer

subgit commit git -> svn also commits tip (trunk/)

Moving our VCS in-house and migrating from svn to git. Have set up GitLab CE and subgit (whilst migrating all users over to git). All seems to be working fine (including authors translation) however when committing a file to git the resultant svn…
Alasdair
  • 566
  • 1
  • 4
  • 16
0
votes
1 answer

Subgit: exclude old tags by name

I'd like to ignore old tags during the translation process. I'm trying to use excludeBranches = tags/Server_*_2007-* to match tag names like `Server_423_2007-02-28_11-40', but subgit complains about using multiple * symbols. How can I ignore old…
Peter Štibraný
  • 32,463
  • 16
  • 90
  • 116