[SOLVED] Trying to split a large SVN repo into one git repo.
Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
Trying to split a large SVN repo into one git repo.
The SVN repo in question is just under 1GB but it still takes forever to clone it from place to place. On top of that, several of us are sick of dealing with it and it's entirely our responsibility to manage. We came to the consensus that we'd use git, and the responsibility fell to me to transition the repository (since I was the person who argued most for git).
We also agreed that we'd split the repository into about 5 new repositories. This could easily be done in a lazy way just by copying directories and files into the new repositories, running git add . and going on our merry way. I'd like to preserve the history of everything though.
From what I can tell, there should be away to split the repositories into new SVN repos and then run git-svn from there. So the first question I have is this:
1) When I run 'svnadmin dump ./directory > svnrepo.directory.dump' svnadmin provides the error message:
"Can't open file 'directory/format': No such file or directory"
Which begs the question (having never used SVN myself and only being here for a couple weeks and thereby never having to use it) what the hell is the format file? I can't find one anywhere in the repository.
2) Is there a more intelligent way of doing this?
3) If there isn't, is this at least the correct way to resolve it once I resolve the missing 'format' file issue?