How do I import an svn repository with a changing directory structure to git?
I have an svn repository where the original structure looked something like:
But then over time moves to the standard svn structure of:
Is there any way for svn2git or git svn to work with this? Alternatively, is there any way to re write svn history in a non-destructive way so that the repo has the default structure from the start?
It feels like I'm going to have to do this manually (i.e. identify the revisions where the directories change structure and write scripts that apply changes up to those point with a certain structure, and repeat until I have the whole history in the git repo).
That doesn't sound like much fun at all. HELP!
I am pretty sure I have tried everything, figured I would ask all the gurus on here. Background: I had an SVN repository on an old linux box. I accessed this SVN repo with git-svn. The system's hard d
If SmartGit even supports git-svn, how would I go about using it? Would I clone my svn repository first then somehow link it to my git repository or vise versa? I found git-svn mentioned very briefly
How to mirror my source code that is in SVN repository with git. My firm keeps all its source code in SVN. I what to checkout all the code from the svn repository and then import it into a git repo on
I signed up with GitHub today and I'm struggling to understand exactly what way I should be using this. I have downloaded the Git program and I followed the instructions to create a folder which now r
I have tried get the change of github repository to one repository bazaar, something like this: bzr merge email@example.com:Author/repository.git is there any way to do this?
How do I add an empty directory (that contains no files) to a Git repository?
This question already has an answer here: How to fully delete a git repository created with init? 6 answers I can't find the command. I tried Googling git 'delete a repository'.
how do I compare code in two different repository types? The Git repository was not taken from the SVN repository. Thanks!
I was using Git to retain a history of my project locally. I was later asked to commit the entire git project into a remote, empty svn project folder (the usual trunk, tags, branches structure, in tha
I am planning to make a fork of an open-source project, but I want to switch to GIT. The project is using SVN, but there is no TRAC available, so I can't just download changesets without having SVN on
Using the TortoiseSVN right-click contextual menu, how do I replace a specific local file with the version currently on the SVN repository?
This question already has an answer here: svn switch , what does --relocate do? 2 answers Due to some server changes and restructuring, I want to change to url for our repository from http://u
I don't know how it happened, but I had a data loss and was only left with a .git directory containing only an objects directory. I've followed the steps from Recovering Git repository from objects on
I've set up a git project based on a svn project, everything works fine. Now I would like my Jenkins to make an automated git svn dcommit every time the master branch changes. But the svn configurat
I am trying to use git svn to connect to our company repository. We have a slightly non-standard branches directory. How to access this using git svn has been discussed before, however, we seem to hav
I need last commit date. This means the latest update date in my program. I used command : $ git log -1 But this command will give me date from local repository. Rather than I need date from remote re
I have a repository. (git init) I've done check-ins and commits and logs and stuff. But, how can I remove all traces of git and delete git off this directory (and subdirectories)? I'm on Ubuntu.
I want to somehow change the git directory structure. Currently the architecture is like VL(repo) .git (hidden) code files ...... ..... I want it like html(repo) .git VL code files ...... ...... I
I am trying to automatically backup my SVN Repository. This is in a batch file I wrote: svnadmin hotcopy C:/myRepository G:/myRepositoryBackup --clean-logs It works great the first time. However, eac
I am using git svn and today I ran into some trouble. I did an git svn clone and worked on my project for a while. After a few days, I've pushed my work to the svn remote (git svn dcommit). Then I've
I'm starting on my first large django project and have realized that the default directory structure isn't going to work well. I saw this question and answer and decided to implement something similar
I and my small team work in Git, and the larger group uses Subversion. I'd like to schedule a cron job to publish our repositories current HEADs every hour into a certain directory in the SVN repo. I
I have a git svn repository. git svn clone http://myrepo/ myrepo I dont want to work in master: git checkout -b development hack for a while. git checkout master git svn rebase git rebase developmen
Ok, I've tried all answers i could find on stackoverflow, but apparently none seem to be able to solve my problem. I want to apply a patch made by SVN to a git repository. Apparently the easiest way t
is there any way how to do multiple imports into SVN repository? I.e. I want to import first file a/b/file1.txt and then file a/b/file2.txt. First import is OK, but second one throws directory a alre
I cloned an entire SVN repository ( including all the branches ), using git-svn. The problem is, if I run git branch I don't get anything back. If I run git branch -a I get: git-svn What should I do
I have setup git repository on a Linux Redhat machine. Users are setup in .htpasswd. The checkin/checkout is done using http (Apache is setup for this). How can i give read vs read/write permissions t
When I clone our svn repo using git svn i pass it arguments to tell it where the head, branches, tags... etc are and it pulls the main code base properly. in addition to trunk and branches we also hav
I have a git repository that is just a directory tree (/myprogram/src/com/mycompany/test) with some source files. I wish to create an eclipse project around this repository. Both orders of create proj
I am working on local git repository and I need to push my local git into existing svn repository. My git repository is pure local git repository, it was not init using git svn clone. How can I import
I have a git repository with about 30 revisions that I want to import into an existing SVN repository. Unfortunately the SVN repository has a bunch of pre-commit hooks requiring certain information in
I want to create a repository [B] that tracks a remote repository's master [A] in a branch called x_master. Its own master should also be a clone at the initial creation time that others [Devs] can cl
Currently I am working on a C#.net project (visual studio 2005). I could checkout a project from the SVN repository, make changes to a file and commit. But, how can I specify the checkout depth (spar
I am working with a SVN repository. I already have a local copy (i did a checkout). Now I edited some files in that repository and saved them. How do I transfer them to the server. Is it like GIT wher
Is there a way to git svn dcommit from a cloned git-svn repository : I have several branches in my svn, sometimes it is very small branch and it is nice to have it in the same directory, but sometim
I'm trying to create a new git repository from an old SVN repository that is structured like this: /root trunk build_scripts packager 0.1.0 0.1.1 0.1.2 ...etc... The 0.x would obviously traditionally
I currently have an existing project that I have been working on in RadRails. I want to put the entire project into an SVN repository (hosted on Unfuddle). I downloaded the Subversion plugin. I'm not
I have existing project and I want to add it in git local repository. How can I do that ?
I have a project in SVN which has a plugins folder. Several of the plugins folders are git repositories -- I added them to my plugins folder using git clone. This has been working well for me but now
How to replace the trunk branch with another in svn repository using git-svn tool?
I'm using Cygwin. I assumed that git would use the first svn client it finds on the path, but that doesn't seem to be the case: $ type svn svn is /cygdrive/c/Program Files/SlikSvn/bin/svn $ echo $PATH
I have recently installed SVN on Windows Server 2003. I can execute svn commands in the command prompt if I am in the bin directory (program files\subversion\bin). But trying to execute commands in an
Create a git repository in some directory. Add all the files in that directory and commit them. Then create another git repository in a parent directory and add all files. Clone that repository elsewh
How do I upload a single file from my local computer to a SVN repository? I can import a directory, but I can't import a single file into existing directory. I use SVN in linux (command line). Any he
My SVN repository was installed on a server and this server got down, I have three working copies and all of them made some changes and not commit them to the base What to do in this case, please help
I have migrated an old cvs repository with cvs2git (cvs2svn). The resulted dump file is now 72GB big and my trials to import the dump via git fast-import always fail because of an out-of-memory error:
The SVN repository that I am working with has a rather large number of branches. I am only interested in working with three of them and maybe another new SVN branch that will be created in the future.
If I create a Git repository and publish it publicly (e.g. on GitHub etc.), and I get a request from a contributor to the repository to remove or obscure their name for whatever reason, is there a way
I am trying clone an svn repository using git svn. The repository has daily builds tagged which I want to ignore. I am trying to use the ignore-paths option to do that, but I am still getting the da
Possible Duplicate: Is there a way to get to the git root directory in one command? how can i check what git repository am I using ? I can see the result with 'git init'. git init returns 'Reinitial