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
2
votes
1 answer

Convert svn to git across repository restructuring using SubGit

I'm working on migrating a Subversion repository to Git using SubGit 2.0.3 while trying to maintain the full history across a restructuring. I've got a configuration that seems to maintain history across the restructuring for the branches, but not…
2
votes
1 answer

SubGit Synchronisation issue: error: svn: E175002: connection refused by server

I am currently working on configuring a SubGit-instance, which should synchonize with a remote svn-server. The problem is, that after about revision 150000 which were transformed into git commits, it aborts with following message: error: svn:…
Niko
  • 1,054
  • 5
  • 25
  • 52
2
votes
1 answer

How to checkout svn+ssh repository with subgit?

I want to checkout the glassfish svn with subgit 2.0.2. I added ssh-rsa blabla user@host in the user account settings of java.net. The key is stored locally under ~/.ssh/authorized_keys and id_rsa.user@host.pub. I set up subgit with subgit…
Kalle Richter
  • 8,008
  • 26
  • 77
  • 177
2
votes
1 answer

subgit import and multiple branches directories

I'm trying to do an import using subgit. Just a one-time migration. My SVN structure contains: branches branch1 features branch2 hotfixes branch3 I'd like to convert all three to branches in git. I've tried: proj=myproject; subgit…
user3550496
  • 333
  • 5
  • 14
2
votes
1 answer

How to hook SVN update with Subgit

I set up Subgit to sync between SVN and Git. Subgit run a daemon process to listen SVN updating. I want to run something after the daemon merge the SVN to Git repository, What should I do?
jmuok
  • 340
  • 1
  • 11
2
votes
2 answers

git clone --reference not behaving as expected: no transfer savings achieved

Summary: I'm using git clone with --reference to a repository which has all the appropriate files but not the commits and I'm expecting it to save network bandwidth and disk space. It doesn't. I'm converting a repository from SVN. I've done a cd…
Dewey Sasser
  • 379
  • 2
  • 8
2
votes
0 answers

GIT SVN with subgit and apache

I've started evaluating a piece of software called subgit which seamlessly allows you to interface a repo with either SVN or GIT. Throughout our organization we interface our repos using apache, and trying to combine this with GIT becomes somewhat…
user2108948
  • 173
  • 1
  • 7
2
votes
1 answer

Idea to mirror an svn to git

Today, at my work we host our source code at a public svn repository that we don't admin access. Now, we want to use git (github) to host our source. For some internal reasons, the svn repository we use must mirror the git one. Apparently, Subgit…
tfmoraes
  • 696
  • 1
  • 8
  • 18
1
vote
1 answer

How can I change my authors mapping file in subgit?

I have used subgit to create a standalone mirror from svn repository as git repository usingsubgit configure --layout auto SVN_REPO. THe main functionality is working great, but I am trying to map svn authors into git user names and viceversa, By…
ndarkness
  • 1,011
  • 2
  • 16
  • 36
1
vote
1 answer

Git repository, restrict path based read access

I understand that by design Git is distributed and each clone is a copy of the repository's history, blobs, tree objects, etc. We have a case to restrict read access to some of the folders/files hosted in Git repositories. I believe Subgit has…
Dipu H
  • 2,372
  • 15
  • 24
1
vote
1 answer

Subgit "Out of Memory" and "GC Overhead Limit Exceeded"

I’m running a conversion project from svn to git. As the application is single threaded, I’m moving the project to a Faster PC. So without any options bar httpSpooling = true; It runs OK on a VM – 4 CPU's, 20 Gb of Ram. RAM Usage with two separate…
itChi
  • 642
  • 6
  • 19
1
vote
2 answers

How to exclude multiple branches in subgit when there is no same pattern

I am using subgit's one time conversion from svn to git. The import approach I took was running configuration command(subgit config svn_url) then change config file (/generated_repo.git/subgit/config) and run import. excludeBranches option in…
Gayan Viranka
  • 443
  • 1
  • 6
  • 17
1
vote
1 answer

subgit - how to reflect edited SVN log message in git

I'm using subgit to sync my git and SVN repos. I have updated a misleading log message in SVN and I would like that reflected in git. I was wondering if something like this would do the trick: subgit uninstall (on the server to stop the…
Andy
  • 10,412
  • 13
  • 70
  • 95
1
vote
1 answer

Losing SVN commits after "svn mv"

We use SubGit for migrations of projects from SVN to GIT and have encounter a problem with projects, which changed their location in SVN Let’s assume PROJECT-A with its trunk, tags and brunches folders is located in…
Viktor
  • 345
  • 1
  • 3
  • 13
1
vote
1 answer

Merge git branch onto svn branch using subgit

I'm using the Subgit plugin for BitBucket to mirror an svn repository as a git repository. Only the trunk branch (called master in git) has been marked for synchronization, but developers using the git repository have created a feature branch and…
Justin
  • 555
  • 4
  • 22