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
3
votes
2 answers

Skip revisions when installing SubGit repository

I'm using SubGit to clone a SVN repository. Somewhere along the revisions is a copy of "/" to a certain tag. When SubGit loads every revision, it takes a long time to get this certain tag, which happens to be a copy of "/". This prevents the copy…
thebignet
  • 128
  • 5
3
votes
1 answer

Git branches not merged after switching from svn

I used subgit to transform an old svn repository to git (including full history, branches, tags). After some initial trouble I got it working and it worked almost perfectly. Except branches doesn't seem to be merged back to the trunk/master…
Jawap
  • 2,463
  • 3
  • 28
  • 46
2
votes
0 answers

Subgit skipping commits when syncing from git to svn

This may have to do with the order of operations but I'm not sure. I have an SVN repo which is mirrored to a git repo using subgit. In git I branched off of master into a feature branch and worked for a while. When it came time to merge back I…
Jacob
  • 410
  • 3
  • 11
2
votes
0 answers

Subgit migration stuck and stops at commits with large files

I am doing a migration from subversion to git using subgit. Subversion has a revision where large number of files (aprox 3GB) were committed accidentally. I am using "excludePath" parameter to avoid those large useless files. When I run subgit , it…
Gayan Viranka
  • 443
  • 1
  • 6
  • 17
2
votes
1 answer

Subgit - stop the properties synchronization

I'm using subgit for two-way sync of an SVN and a Gitlab repo, through intermediate repository (like explained in official docs for connecting to Github. That's a part of a very slow transition process from current SVN to Git. I don't know if my…
userfuser
  • 1,350
  • 1
  • 18
  • 32
2
votes
1 answer

SVN repository has spaces in the directory names

I am trying to use subgit to create a link between an existing SVN repo and a new git repo. The directory names in the SVN repo have spaces in them which I think is creating a problem when I try to create a configuration. Is there a way around…
AFateh
  • 21
  • 3
2
votes
2 answers

Not able to migrate source code with subgit

I am trying to migrate source code with subgit, it says import sucess but, when I open directory, I see only git and subgit folders with some meta data and history files, but no actual source code, my branches directory is also empty. Peg location…
VarunB
  • 81
  • 6
2
votes
0 answers

SubGit calling GitLabs post-receive hook doesn't work

We are trying a soft migration from svn to git (GitLab) using SubGit as mirror. All works fine, except that commits to the svn repo do not trigger the GitLabs post-recive hook correctly (I suppose). The commit in the git repo is there, but the…
fab
  • 1,839
  • 15
  • 21
2
votes
2 answers

SubGit: use svn.svnCommitMessage option

Just seen this feature in the SubGit 3.2.4 release notes: Support for svn.gitCommitMessage and svn.svnCommitMessage options that allow specifying message patterns used by SubGit while generating commit messages. But i cannot find any example on…
Jensen
  • 1,229
  • 12
  • 27
2
votes
2 answers

Pushing Subgit git repo to remote GitHub repo/server

I'm trying to push a Subgit created git local repository to remote GitHub without much luck. I create the repo using subgit $ subgit import --authors-file ./authors.txt --username svnuser --password svnpass…
adamjk
  • 101
  • 1
  • 5
2
votes
0 answers

How to rewrite commit authors after subgit import already completed?

I imported large svn repository using Subgit. Later i noticed that svn revisions only had e-mail addresses while git usually also has user.names. There is special file authors.txt for subgit which contains mapping from svn users to git users. But…
Kirill
  • 6,762
  • 4
  • 51
  • 81
2
votes
0 answers

Cannot start Subgit synchronisation automatically within Gitlab Docker Container via runit

My local Gitlab CE Docker container has Subgit included. When the Gitlab container is restarted the Subgit synchronisation should also start automatically. My solution is derived from the original Dockerfile of gitlab/gitlab-ce on Dockerhub. In the…
se2016
  • 21
  • 3
2
votes
1 answer

SubGit and .gitattributes

I'm importing an SVN repository into Git, and I have a lot of files with svn:eol-style set. SubGit reads those properties and generates a .gitattributes line for every file. Is there a way to tell it to use a single-liner for every type of file…
2
votes
1 answer

During svn to git migration commit authors have wrong email

I have migrated my svn repo to local git. For some reason all authors look like: userid Is there way to change all authors rewriting "localhost" to "myorg.org" userid UPDATE userid is not fixed.
Macchiatow
  • 607
  • 10
  • 24
2
votes
0 answers

Subgit and svn commit message hook

We are using subgit to sync git and svn and there is a svn hook for checking commits messages format. We found that we are limited on which git action we can perform without violating the svn hook. For example: git commit -m 'XYZ: abc' git push. …
ArgBat
  • 33
  • 1
  • 6