git-svn

error 127 when running "git svn init" on cygwin

I'm trying to convert a local SVN repository to git using git-svn under cygwin and failing. This is what happens: $ git svn init -t tags -b branches -T trunk file:///cygdrive/e/repository/project init: command returned error: 127 Any ideas? ...

Cloning git repository from svn repository, results in file-less, remote-branch-less git repo.

Working SVN repo I'm starting a git repo to interact with a svn repo. The svn repository is set and working fine, with a single commit of a basic README file in it. Checking it out works fine: tchalvak:~/test/svn-test$ svn checkout --username=myUsernameHere http://www.url.to/project/here/charityweb/ A charityweb/README Checked ou...

GIT <> SVN interchangeable patch-files

Hi, I maintain a subproject which is running on the project's SVN server. I personally prefer to work with Git - the problem is that the entire community uses SVN, expects RFCs with a SVN compatible patch-file and people are familiar with SVN and send bugfixes agains that SVN repository too. Therefore my only problem is to create patch ...

Fetch from svn. Commit to remote git.

I'm new to git and I'm trying to understand if it can solve my problem. A project has a public read-only svn repo. I want to make and track my own changes to its source over time. While still fetching changes from the svn repo. Of course I can do this easily with git-svn. I just never performing a dcommit. The added issue is that I...

How to migrate from SVN to GIT Locally

I'm working on a project that initially used Subversion, but the remote repository was removed and i don't want to use Subversion any more. I want to migrate it to git. There's a way to do it without the remote repository, keeping all revisions history (without doing a git init .)? I've already made a subversion to git migration with ...

what is git-svn

once you have checked out a svn repository with git-svn, and you do some work, push your commits to the svn repository ? ...

Resuming git-svn clone

I started cloning a SVN repository using git-svn's clone operation. After about 6 hours of importing (it's a bit repo), my computer went and slept on me. Is there a way to resume the operation without redoing all of the initial work? ...

git-svn on subset of large svn repo

repo layout: a/1 a/2 a/3 ... b/1 b/2 ... c/1 c/2 ... git-svn works perfect for me if I work on 1 svn repo subdir. But right now I'm facing the need to work on several subdirs (like, a/1, a/2, and b/1), and there's much shit in repo besides them. I've managed to write a regexp for this, but git-svn with --ignore-paths seems to check each...

git-svn merge 2 svn branches

I'm using svn. I have two branches and on both of them were performed a lot of changes. In addition of one of the branches a lot of files were renamed, so now svn can not help me merge changes in those files (well know svn limitation). Is it possible using git-svn to perform the merge of the branches? Will git-svn handle renamed files ...

Is git svn rebase required before git svn dcommit?

I'm reading about using git as an svn client here: http://learn.github.com/p/git-svn.html That page suggests that you do git svn rebase before git svn dcommit, which makes perfect sense; it's like doing svn update before doing svn commit. Then, I started looking at the documentation for git svn dcommit (I was wondering what the 'd' is ...

Mirror git to svn

I have a primary git repository for an opensource project I want to mirror all commits to svn repository (on code.google.com), does it possible ? ...

Can I recover lost commits in a SVN repository using a local tracking git-svn branch?

A SVN repo I use git-svn to track was recently corrupted and a backup was recovered. However, a week's worth of commits were lost in the recovery. Is it possible to recover those lost commits using git-svn dcommit on my local git repo? Is it sufficient to run git-svn dcommit with the SHA1 of the last recovered commit in SVN? eg. > svn i...

Convert SVN Subdirectory to Git

I would like to ditch SVN for Git. My current SVN repository setup has projects under trunk (/trunk/projecta, /trunk/projectb, etc. with tags and branches at /tags/projecta-1.0, etc.). I would like to create distinct Git repos for each of these projects by pulling them out of SVN using git-svn. I've successfully pulled the entire SVN re...

svn (with git frontend) branch merging with different directory structure

I have a subversion repository with a directory structure: frontend backend + a + b In a other branch, someone had put the sub-folders a and b in the root directory and delete the other stuff (frontend, backend). a b Now i have to merge this branch back into the trunk (backend-folder). How can I do that to dont lose the history...

Import a svn repo to git from a given point in time.

Hi. What can I do to import a SVN repository into git but only from a (known) revision number and onwards? I've tried with: git svn clone --authors-file=/home/ubuntu/svn-git-users.lst --revision=4151 -T trunk -b branch -t tags file://`pwd`/../svn-server-sync/MyRepo MyRepo But it fails with: r4151 = e80c7c5923700d6c7594c91f1727...

GIT Clones on Multiple Machines

Here's my setup... Laptop (Mac) - git clone of svn repository Thumb drive - git clone of laptop git repository Server (Win Server 08) - git clone of thumb drive repository I'm having trouble keeping them in sync for some reason... If I make a change on the server, I'll do a "git pull " on the thumb drive to get the changes. Take th...

Git-svn branch hoses dcommit when using an odd branch structure

I had a boss, past-tense, who decided to put svn branches in the same folder as trunk. Normally, this wouldn't affect me that much but since I'm using git-svn things are going so well. After I did a fetch it created a folder for each branch in my root folder so I have three folders, drupal, trunk, and client. The drupal folder is git's m...

git-svn - #object# doesn't exist in the repository at /opt/local/libexec/git-core/git-svn line 4706

on git svn dcommit it starts commiting and then I get this A spec/controllers/authenticated_system_spec.rb A spec/controllers/sessions_controller_spec.rb A spec/controllers/users_controller_spec.rb A spec/fixtures/users.yml A spec/helpers/users_helper_spec.rb A spec/models/user_spec.rb A vendor/plugins/haml/init.rb A ...

Best way to fork SVN project with Git

I have forked an SVN project using Git because I needed to add features that they didn't want. But at the same time, I wanted to be able to continue pulling in features or fixes that they added to the upstream version down into my fork (where they don't conflict). So, I have my Git project with the following branches: master - the br...

Tracking upstream svn changes with git-svn and github?

How do I track upstream SVN changes using git-svn and github? I used git-svn to convert an SVN repo to git on github: $ git svn clone -s http://svn.osqa.net/svnroot/osqa/ osqa $ cd osqa $ git remote add origin [email protected]:turian/osqa.git $ git push origin master I then made a few changes in my git repo, committed, and pushed to g...