LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 06-22-2015, 10:31 AM   #1
eantoranz
Senior Member
 
Registered: Apr 2003
Location: Costa Rica
Distribution: Kubuntu, Debian, Knoppix
Posts: 2,092
Blog Entries: 1

Rep: Reputation: 90
git svn - how to push svn information to another git repo


Hi!

I have this git repo where I'm keeping track of an svn repo. I don't do any real work on it. Now, suppose I wanted to set up _another_ repository so that I do some real work, or if someone wants to start working with git svn and doesn't want to go through the hussle of syncing with svn (it's taking days to sync svn information if you start from scratch).

As a test, I just pushed a couple of branches into the other git repo, and then I added the svn information to .git/config on the second repo. Then I do a git svn fetch on the second repo and, even though this repo already has like almost all of the information that it should be pulling from svn, it's still going through the process of syncing with svn "from scratch" (it won't create anything new, it's got all the revisions from svn, but it will still go through the process of setting up everything from scratch which will take days). Is there something else I can do so that git svn can see that there's plenty of things already set up so that this process is skipped?

Thanks in advance.

Last edited by eantoranz; 06-22-2015 at 10:35 AM. Reason: typo, adding something to make the scenario clearer
 
Old 06-23-2015, 11:08 AM   #2
eantoranz
Senior Member
 
Registered: Apr 2003
Location: Costa Rica
Distribution: Kubuntu, Debian, Knoppix
Posts: 2,092

Original Poster
Blog Entries: 1

Rep: Reputation: 90
git svn - how to copy svn information to another git repo?

Perhaps used the wrong title? Let's see if by saying 'copy' people get more interested.
 
  


Reply

Tags
git, svn



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
git - problem with EOL formats working with git svn eantoranz Programming 2 06-20-2015 09:50 AM
starting with git repos created from svn-all-fast-export, how to interact with svn? eantoranz Programming 0 03-16-2013 11:45 PM
[SOLVED] Trying to split a large SVN repo into one git repo. Ian John Locke II Linux - Software 1 01-30-2012 08:19 AM
[SOLVED] Can't install Git repo (I don't git git ) Nemus Linux - Software 3 05-20-2011 02:09 PM
Help on GIT-SVN? your_shadow03 Linux - Server 0 03-23-2009 07:23 AM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 11:20 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration