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
1
vote
0 answers

subgit installation on TFS git repo

Is anyone installed Subgit on TFS managed git repository? Is two sync working on your installation? I had installed subgit on TFS server and sync is not working for me. If you have installed subgit on TFS managed git, could you please explain,…
Rajkumar Thambu
  • 2,061
  • 2
  • 15
  • 7
1
vote
1 answer

subgit timeout waiting for pid file

I have GitLab on docker container and I tried to use SubGit. Synchronization from SVN to Git working good, but I have problem when i try to do git push. I get the following error and the daemon.pid file is deleted from subgit directory. Delta…
Robert Grądzki
  • 139
  • 1
  • 2
  • 8
1
vote
1 answer

How to run a subgit import for trunk and one specific branch

Hi I have a question about SubGit version 3.2.1 ('Bobique') build #3593. The svn repo to import doesn't have a standard layout. I can't find the documentation to configure a 'subgit import' for just a trunk and one specific branch on the same level…
1
vote
1 answer

File or directory 'shelves' is out of date; try updating - BitBucket Server Svn Mirror

Getting error File or directory 'shelves' is out of date; try updating With BitBucket Server Svn Mirror when merging branch from git command line, or web interface. (This question differs from others about the same issue, as it's not related to…
Lev
  • 3,719
  • 6
  • 41
  • 56
1
vote
1 answer

How to mirror SVN in GIT w/o a trunk

We are using Stash (3.8.0) with the SVN Mirror for Atlassian Stash (2.0.15) plugin, both licensed for 50+ seats. We are trying to mirror SVN to an empty repository in Stash, however. The following keeps us from going. Our SVN link is…
user3759786
1
vote
1 answer

Use subgit mirror for one way sync

I have setup subgit to mirror one assembla svn repository to git. I would like only to use svn->git way. Anyway I don't have rights to commit to svn repo so subgit comes with error messages when trying to sync back to svn (git->svn). Is there any…
dseferlis
  • 467
  • 2
  • 6
  • 11
1
vote
1 answer

Using subgit with repositories having .git directory

I'm confused how to use subgit if I want my Git repository to have a .git subdirectory. If I use the conventional subgit configure + (subgit import or subgit install), it doesn't create a .git directory. If I do git init first, then I can do subgit…
Jason S
  • 184,598
  • 164
  • 608
  • 970
1
vote
2 answers

What firewall rules do I need to add for Subgit?

I've installed Stash, with the SVN mirror plugin - which installs subgit. I have iptables setup something like: Chain INPUT (policy DROP) target prot opt source destination ACCEPT tcp -- anywhere anywhere …
wkstar
  • 255
  • 4
  • 17
1
vote
1 answer

Is it possible to use SubGit on a subsection of an SVN repository?

We have an SVN Repository with more than just the software we develop. I'd like to start using Git for just our software changes. Is it possible therefore to just use SubGit with a single directory of the SVN repository?
Jon Cage
  • 36,366
  • 38
  • 137
  • 215
1
vote
1 answer

subgit user mapping from git to svn uses wrong usernames

I am using subgit as svn mirror for our team. user mapping works correctly for all commits done to svn repo (Shows up as same "Author" on git repo), but commits done to git repo show up as different "Author" in svn logs. I followed the instructions…
Siva Mandadi
  • 3,673
  • 2
  • 18
  • 12
1
vote
1 answer

Configure subgit for a single directory inside the SVN

I am trying to set up subgit for a huge SVN repository. This repository is very old, so to tidy up the structure a little, I want to make seperate git-repositories for various subdirectories. Suppose the SVN is at /svn and has the subdirectories…
Henri Menke
  • 10,705
  • 1
  • 24
  • 42
0
votes
2 answers

Subgit migrate newer Svn revisions to existing Gitlab Project

My co-worker has previous migrated "project A" from Svn to Gitlab, and numerous other projects use "project A" as submodule. However, since last migration, some changes have been made in "project A" in Svn, and now I am trying to migrate those newer…
yyf91699
  • 7
  • 3
0
votes
1 answer

Is there a way to reload subgit configuration after import has started?

I have a large repository (20000+ commits) that takes a while to do a one-time cutover from SVN to git. There is a tangled web of hundreds of branches, some of which are proper branches, others are more like developer sandboxes, some are partial…
speedfranklin
  • 126
  • 1
  • 8
0
votes
1 answer

Subgit: Pattern is not empty and doesn't have format segment1/segment2/.../segmentN

I am trying to convert a Subversion repository to Git using subgit. The SVN structure is roughly as follows: trunk ├── Projects │ ├── Project1 │ │ └── src │ ├── Project2 │ └── Project3 ├── SomeOtherDir └── YetAnotherDir branches ├──…
niclas
  • 710
  • 1
  • 6
  • 17
0
votes
2 answers

Problem while automating SVN to Git migration using Subgit and Powershell Scripting

I am trying to write a powershell script that automates svn to git migration using Subgit. I am new to powershell. I have figured out how to do it using individual commands, but the problem occurs when I try to put those commands together in a…
Tahjid Ashfaque
  • 781
  • 2
  • 8
  • 16