git-svn-migration | migrate svn to git and convert externals | Version Control System library
kandi X-RAY | git-svn-migration Summary
kandi X-RAY | git-svn-migration Summary
Migrates a subversion repository into a Git repository. Uses git-svn + transforms svn externals into git submodules.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
- Creates a select statement for the given criteria .
- Delete files by rule
- Adds the doSelectAllAllExceptions for this table .
- Get results .
- Dump data .
- Get PHP code lines .
- Matches a string against a pattern .
- Returns all elements matching the given selector .
- Load a database schema .
- Adds the join methods for a foreign key .
git-svn-migration Key Features
git-svn-migration Examples and Code Snippets
Community Discussions
Trending Discussions on git-svn-migration
QUESTION
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 is really big I tried to do the migration from just a recent history like so :
ANSWER
Answered 2020-Dec-11 at 16:55Was I suppose to somehow resume the command that failed ?
Yes, try git svn fetch
. This will resume it, exactly.
Basically, git svn clone
= git svn init
followed by git svn fetch
. (Quite similarly to how git clone
itself is a git init
, followed by adding a remote named by default origin
, followed by git fetch
.)
In my experience with git-svn
, certain amount of fiddling around with .git/config
, and understanding the differences between refs and remotes, is often needed to get it working as you expect.
Usually, git-svn
is the remote which stands for the remote SVN server you're accessing through the git-svn
"adapter". Hypothetically, due to DVCS nature, you could have a Git repo with 3 remotes:
lab-server
cloud-archive
git-svn
(or, perhaps better renamed as e.g.svn-legacy
)
Seeing an origin
remote in your error messages tells me you probably got confused at some point, and said git clone
instead of git svn clone
. My advice would be to figure out the basics and obtain a clear mental model of what you're doing. Documentation and .git/config
may help with that.
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install git-svn-migration
PHP requires the Visual C runtime (CRT). The Microsoft Visual C++ Redistributable for Visual Studio 2019 is suitable for all these PHP versions, see visualstudio.microsoft.com. You MUST download the x86 CRT for PHP x86 builds and the x64 CRT for PHP x64 builds. The CRT installer supports the /quiet and /norestart command-line switches, so you can also script it.
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page