Questions tagged [git-svn]
git-svn is a bidirectional bridge between git and Subversion allowing to use a remote Subversion repository as a local Git repository while still be able to send changes back to Subversion.
1,903
questions
1
vote
0
answers
12
views
git svn rebase errors
When I do git svn rebase on trunk-svn (which is my local copy of the SVN repo's trunk branch), I get the following error:
fatal: invalid upstream 'refs/remotes/origin/trunk'
rebase refs/remotes/origin/...
0
votes
0
answers
29
views
SVN to Git having custom folder structure
I have reviewed a number of stackoverflow questions and havent been able to find a solution for my issue.
We are migrating from SVN to GIT. Unfortunately, we do not have the standard folder structure.
...
1
vote
1
answer
75
views
git svn keeps telling files need update
I have checked out an SVN repository using git svn with git 2.35.1. It has worked for a long time, but as of recently I get ghost-diffs:
$ git status
On branch master
Changes not staged for commit:
(...
0
votes
0
answers
43
views
Using git svn clone
In One of the Project I am working, I have been tasked to migrate SVN repository to Git.
I have seen some Answers how to do it, I was trying to use git svn clone to clone svn repository to git. As ...
0
votes
1
answer
45
views
GIT SVN - Use SVN for Development and GIT for Release Important Milestone
We have team (Team A) of 10+ members, they change the code frequently and commit to SVN.
Another team (Team B) is using GIT (Azure DevOps).
We need to push source code (from SVN) changes at certain ...
3
votes
2
answers
83
views
Move SVN changes to git
In the company where I work, we are currently in the process of migrating from SVN to git and also updating frameworks and languages version in the process. as a result i currently have 2 repositories,...
0
votes
1
answer
34
views
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
├── ...
0
votes
0
answers
76
views
Remove all commits from git repository that have no changes (refer to same tree as parent commit) using filter-repo
I cloned an svn repository using git-svn. But I exluded everything except one folder (let's say folder A) using --include-paths. Since the svn repository contains many commits for other files (outside ...
0
votes
0
answers
25
views
Rebase on existing `git` history with `git svn`
I have a git repo which I made some commits in. An existing group of developers copy/pasted its files into an svn repo, and then invited me onto their team to work. So, the svn history starts with the ...
-1
votes
1
answer
15
views
How to show a diff for a given SVN revision
I am using git-svn and I would like to show the changes that were introduced by a certain SVN revision.
How to do that?
-2
votes
1
answer
134
views
Migrating from svn to git does not include all revisions
I am new to git and in the process of migrating from SVN to github. I have been using Visual SVN Server+TortoiseSVN on Windows for years.
I found a few guides like this How do I migrate an SVN ...
0
votes
1
answer
35
views
How to handle duplicated SVN tags in with git-svn?
I am trying to clone/migrate an SVN repository with layout like below
trunk/
dev-branches/ # branches stored here
branches/ # tags stored here
some-duplicated-tag
releases/ # tags stored ...
1
vote
1
answer
50
views
Convert each directory within SVN trunk to different GIT repositories
I'm trying to convert a SVN repository to a GIT repository. Inside my SVN /trunk directory I have multiple directories:
/trunk
/apps
/site
/services
/scripts
/branches
...
/tags
...
If I ...
0
votes
1
answer
54
views
Migrating from svn to github enterprise without loosing commit history
We were using SVN for quite a long time in our office and now recently it is decided that we should move to GitHub enterprise and all source code should be maintained there. Our current SVN server is ...
0
votes
1
answer
38
views
SVN Mirror tagged branch history preservation
I've been tasked with mirroring only a specific branch from our SVN repo with a full history, the branch that has to be mirrored has been tagged/cut sevral times. I've been using the Subgit SVN Mirror ...
0
votes
0
answers
40
views
Pushing an existing Git repository to SVN: git svn dcommit error
Is there a workaround to fix the issue?
$ git --version
git version 2.33.0.windows.2
jlfdiaz@JLFDIAZ10A MINGW64 ~/Downloads/git/SOLQ (master)
$ uname -a
MINGW64_NT-10.0-19043 JLFDIAZ10A 3.1.7-340....
21
votes
2
answers
2k
views
Not able to run git svn command in windows
git svn command is not working in windows. I have downloaded the latest stable version(2.33.0.2) of git for windows. I'm getting the following error while executing the git svn command.
It is strange ...
0
votes
0
answers
43
views
Access to '/svn/dukan/!svn/rvr/1/dukan01' forbidden
I've installed subversion and completed all steps of its installation URL e.g (http://IP/svn/dukan/dukan01/) is showing revision on browser but when i try to use command 'svn list http://IP/svn/dukan/...
0
votes
1
answer
197
views
git svn clone -> Conversion of huge repository crashes all the time - is there a remedy?
In the last couple of days I've been unsuccessfully trying to clone our huge SVN repository to GIT.
All the time, sooner or later, I'm running into the following error:
Software caused connection to ...
0
votes
1
answer
50
views
Migrate from SVN to a Git repository, where a migration of a part of the same project already took place
Scenario
I am facing a situation where a project X which is versioned via SVN needs to be transferred to a repository A versioned via git.
However something similar was done with X before. Let project ...
0
votes
1
answer
63
views
Why does `git svn clone` not convert all SVN branches?
I have an SVN repository that I'm converting to a Git repo using git svn. The process does not consistently convert SVN branches to Git branches, and I'm trying to figure out why.
I start with an SVN ...
0
votes
0
answers
56
views
How can I call a PowerShell script from `git svn clone --authors-prog`?
I'm running Windows, and so I need the git svn command to call a PowerShell script Convert-SvnAuthors.ps1 for converting user names from SVN to git.
How would I do that?
git svn clone --authors-prog=.....
0
votes
2
answers
151
views
How can I convert SVN to GIT while splitting one huge repository into separate repositories?
I'd like to migrate our SVN repository to git.
Our current repository is a huge singleton pile comprising a number of Visual Studio solutions, all residing in separate sub directories of the ...
1
vote
1
answer
77
views
How do I define already-defined authors when converting from SVN to Git?
I'm attempting to convert an SVN repository to Git, mostly trying to piece together the process from these two blogs:
John Albin Wilkins
Eelke Blok
and this StackOverflow post:
cmcginty
I created a ...
-1
votes
2
answers
125
views
Migrating specific SVN branches to GIT (trunk migrated in 2018)
I have a SVN repo that sometime during 2018 was partially migrated to GIT (Bitbucket). Both the SVN and GIT repos are in use. On SVN side mostly branches for older projects. The GIT repo was used for ...
0
votes
0
answers
50
views
How to re-import single SVN branch to git?
So... I goofed. I lost the git-svn repository I was using to mirror commits from SVN to git during a transition. I should have backed up my stuff, but I didn't.
Now there are a few commits on an old ...
1
vote
1
answer
57
views
What is the Difference Between fetch and branch in the Git config file
The config file of a Git repository has under [git-svn remotes] both fetch and branch paths. The config file can even have multiple fetch lines and multiple branch lines. What is the reason to have (...
1
vote
0
answers
192
views
git-svn died of signal 11
When using git-svn to checkout a large repository, the following error occurs.
error: git-svn died of signal 11
Most of the solutions on the internet didn't work for me.
But repositories larger than ...
0
votes
1
answer
97
views
git svn show-externals Output Interpretation
I have an SVN repository that I cloned to Git using git svn clone. The repository has externals in SVN. When I use git svn show-externals, I get different external prefix prints for different commits. ...
1
vote
1
answer
163
views
Error Git SVN clone: Use of uninitialized value $sha1
when I try to clone a SVN repo using the command
$ git svn clone https://subversion.random.repository
I am receiving the following error message:
Use of uninitialized value $sha1 in regexp ...
0
votes
1
answer
443
views
Why my git svn with error "dyld: lazy symbol binding failed: Symbol not found: _svn_ra_make_callbacks"
I got this problem when I use git svn to checkout my svn repos.Then I follow some suggestions from website and try to reinstall svn:core by
sudo cpan SVN:Core
but I still got following error when I ...
1
vote
0
answers
16
views
git svn fetch has been running for over 3 weeks but does not show revisions in logs
I have been running git svn fetch for almost a month now and its does show that it is running because it is indeed generating the logs and continuously, however, I do not see any revision numbers in ...
3
votes
2
answers
738
views
Does Anybody successfully run git-svn on M1 CPU Mac?
I've tried so many ways posted on Homebrew issues.Always fail to run git-svn
Can't locate SVN/Core.pm in @INC (you may need to install the
SVN::Core module) (@INC contains:
/opt/homebrew/Cellar/git/2....
1
vote
1
answer
149
views
git svn fetch repeatedly fails for no apparent reason
Background
We are planning to do a one-way migration of SVN to Git in Azure DevOps so that we can keep our commit history of messages. As you might expect we did a trial run, after much hair pulling ...
1
vote
1
answer
1k
views
Pushing local Git repo with LFS enabled to an empty Azure Devops fails
On a mission to move our SVN repo to a Git repo and am almost there but falling at the final hurdle.
Locally I have:
Created a empty git repo, via git svn init
Enabled LFS and configured it to to ...
1
vote
2
answers
117
views
Migrating SVN project to Git - Branches and Tags coming out completely wrong
My aim is to migrate my SVN stored project to Git in a one-way, one-shot migration, i.e. once it's done we use Git and dump SVN completely. To that end I'm trying to migrate the commit logs from v35.0 ...
-1
votes
1
answer
18
views
How to handle additional space got appended in svn directories during svn-git migration?
SVN Url : https://svn.tech.boom/test/my%20repo
if i clone above url it is throwing following error and started scanning the svn repo.
File not found /test/my%20repo path, test/my%20repo
0
votes
0
answers
39
views
Clone Subversion branches to Git
I am trying to clone part of a very old Subversion repo (started 15 years ago).
This is the layout:
I would like to import all folders from Users as branches to Git, with history.
Tried the following:...
0
votes
0
answers
12
views
Can a SVN repo path be used on a "git-svn clone" instead of a SVN URL? [duplicate]
High level, I am tasked with converting a svndump file to a GIT repository on a linux RHEL-7 box. The linux box does not have apache installed so I don't have ability to use a SVN URL in my git-svn ...
0
votes
0
answers
47
views
svn to git migration of a branch with history
I have a SVN branch which I want to move to git but with all the history of the branch. I tried a lot of permutations and combinations as below but none of them worked. Could someone please help me? I ...
0
votes
1
answer
78
views
How do I use git svn to clone more than one branch, but not all?
Cloning an entire svn repo is simple: git svn clone svn://somesvnrepo --std-layout (or use --branches=/branches).
Cloning a single branch is also simple, git svn clone svn://somesvnrepo/branches/...
1
vote
0
answers
24
views
I try 'git svn clone http://host/svn/projectpath/ --trunk=trunk --branches=branches', but nothing download into my folder
I try git svn clone http://host/svn/projectpath/ --trunk=trunk --branches=branches, but nothing download into my folder. git svn clone http://host/svn/projectpath/trunk works , but it can't manage ...
-1
votes
1
answer
46
views
Merge repo git svn clone with other git repo
For years my team has been using SVN.
A few months ago we switched to Git by doing a simple push of an SVN branch, without the history and continued to develop on Git.
Today we need to get the SVN ...
1
vote
2
answers
887
views
Git-svn failed with update-ref HEAD refs/remotes/origin/trunk: command returned error: 128
I'm trying to do a migration of a 14.4k commit and 12 years old project from SVN to git.
As this is the tool that comes first when doing a basic browser research I tried to do it with git-svn.
As it ...
1
vote
1
answer
34
views
git-svn: How to prevent "dcommit", "rebase" when not on master
I am using git-svn.
My problem is, I never want to be able to do a git svn rebase or even worse a git svn dcommit while I am on a local branch. I only want to do this while I am on the master branch.
...
1
vote
1
answer
34
views
Git svn difference between directories .git/logs/refs/... and .git/refs/
I'm doing a migration from svn to git with git svn command.
After the command does its job I, have two simmilar directories:
*.git/logs/refs/remote/origin* and
*.git/refs/remote/origin.*
My question ...
3
votes
0
answers
214
views
One-time migration from svn to git: how to replace externals with a source dump?
I'm trying to do a permanent migration of my codebase from svn to git, and hit a wall due to externals.
I make liberal use of svn externals. I couldn't have anticipated one day wanting to migrate to ...
1
vote
1
answer
96
views
Get SVN URL of removed git-svn file
I would like to track a removed file as far back in history as possible, while using git-svn on a subdirectory of the SVN repository.
Using git log --full-history -- path/to/removed_file.py, I can ...
0
votes
1
answer
42
views
why does git svn init xxxxx creates a new directory called Floor and initializes there and how to fix
We are moving from CloudForge SVN hosting to Azure dev ops GIT and I am moving all my repositories. I moved 3 of them and then I get to a .net C# SFP project and its doing things differently and I ...
0
votes
2
answers
38
views
SVN - Merge history while recreating repository structure
in preparation to change the VCS from SVN to Git on legacy projects, I stumbled about the necessity to arrange the projects in a certain way to make proper use of svn2git , that is
Project_1
trunk/
...