git-svn

Ignore revision on git-svn fetch?

Hello, I am trying to move one of my Subversion repositories to Git and am running into an interesting error... In the middle of the git-svn fetch step, I receive the following error: r9 = d0eff6b2d1eda7fcced16227dbc613732e956f0b (refs/remotes/git-svn) RA layer request failed: PROPFIND request failed on '/baytn/baytn/trunk': PROPFI ND ...

git-svn-rebase is commiting to an SVN tag

I'm just starting with git and using it to interact with an SVN repository. The svn repo is in a standard format so I configured my sandbox as git svn clone <repo> -s All seemed fine initially but after several rebases, dcommits and tags I appear to be always commiting to an SVN tag. Doing a dcommit dry run returns: $ git svn dcomm...

How to modify git repository to add submodules in ALL the past revisions?

I migrated my SVN repository successfully with Tags into Git using git svn-clone. However, git svn-clone does not migrate svn:externals. Hence, I decided to modify branch tree using git filter-branch. For svn:externals, first I created a separate Git repository for each svn:externals and then I tried using the following, but it didn't w...

How to make an existing git branch track a remote SVN branch?

Similar to this question, how can I make an existing Git branch track a remote SVN branch? I often find that I start work in a local branch that I then need to push to an SVN server. Is this possible? ...

Git is really slow for 100,000 objects. Any fixes?

I have a "fresh" git-svn repo (11.13 GB) that has over a 100,000 objects in it. I have preformed git fsck git gc on the repo after the initial checkout. I then tried to do a git status The time it takes to do a git status is anywhere from 2m25.578s and 2m53.901s I tested git status by issuing the command time git status 5 tim...

git-svn vcs switch: where are my branches?

I converted a very large svn repository to a git repository with git svn init svn/server/project --no-metadata git svn fetch This took the better part of two days to finish. This repo should have quite a few branches but when I do "git branch" I get nothing but the master. They are listed under the branches directory, but shouldn't ...

GIT-SVN clone command executes without errors but the local master branch is missing

I'm trying to use GIT-SVN but I'm having problems getting things started. I can clone the svn-repository (or use git svn init and then git svn fetch) without any errors but after the command stops processing, the git repository is empty and there's no local master branch. My svn repository is located in here: https://localhost:8443/svn...

Easy merging in svn using git-svn

At work we are using a lot of branches in SVN and there are problems in merging. I heard that a good idea is to use git better merging with git-svn. I try to play with it using msysgit, however its not as easy as it seems. I know I can checkout the whole project using git svn clone -s, however it does not see branches(as normal git bran...

GIT pull from a bare repository

I have a GIT repo A which was setup using "git svn" from a subversion repo. I made a clone of A called B, where B is a bare repository(git clone --bare). I clone C from B, work on C and periodically push my changes to B (the reason I made B bare). Now, when I want to pickup the latest updates from subversion I run "git svn rebase" on rep...

git-svn pushing existing repository mapping usernames the other way

Hey all, My team and I are currently working on a university project. We were given the project but it hadn't officially started, so we began work in GIT to get a head start. The coordinator of the project has now forced us to use SVN so I am attempting to use git-svn to interface the two repositories. I can move our commits into the s...

How to push from an often rebased git-svn repo

I do all my daily work through git-svn, queuing up checkins and rebasing like a mad-man :) the down side to this is I often have a couple days work queued up (tisk tisk i know) and it makes me a little nervous that its only in one place. If I was not using git-svn and rebasing all the time i would just push my changes to another computer...

Using git filter-branch to rewrite authors/committers and commit messages simultaneously

I have a Git repository originally imported from Subversion. Parts of the author/committer information are wrong, which is not Git's fault but mostly due to sloppy committing with Subversion. I would like to use git filter-branch to rewrite the history of the repository, fixing the committer and author information. The trouble is... I...

Git confusion - getting git repo on server after switch from svn

I have a 3 year old svn repo I just converted to git using git-svn. Then I cloned the new repo and want to copy it to a our main server (running ssh). The git project is organized like this: ~/server.com/ ~/server.com/.git ~/server.com/htdocs ~/server.com/includes etc. Following the instructions in the gitpro book, it says to use sc...

what does it mean when git svn clone runs for a long time, completes, and accomplishes nothing

I upgraded git on my mac to 1.7.2. I can no longer get git svn clone or git svn fetch to succeed. With GIT_TRACE=2, the last words on the subject are: trace: built-in: git 'config' 'svn-remote.svn.branches-maxRev' '12912' trace: built-in: git 'config' 'svn-remote.svn.tags-maxRev' '12912' trace: built-in: git 'config' 'svn-remote.svn.b...

looking for ideal git-svn workflow

The company that I'm working is working with SVN but I would like to start working with git to take advantage of the light branching and stashing features (disclaimer, I'm pretty new to git). I've started with git-svn and I'm trying to figure out the ideal git-svn workflow for what I'm trying to do (and suggestions if what I'm trying to...

Git through svn - managing files.

Perhaps I'm missing something about using gi through svn, but how do I keep around a set of locally modified files without pushing those changes to subversion. Here's my broken workflow. (on master) git svn rebase git checkout -b issue *apply changes I need on all my branches* *changes* git commit *changes* git checkout master git mer...

How do I sync a git repository to subversion?

We use several open source libraries that are hosted on github. I want to be able to clone the git repositories and basically push them into our local subversion repository so I can start a CI build internally for them. How do I set up the connection to the svn server in a git repository that I cloned from github? I understand how to cl...

Using git-svn, if I have multiple commits not in svn, how do I only push selected commits to svn?

Let's say I have multiple commits in my local git repository that have not been pushed to svn. For example, these four commits on master. A <-- B <-- C <-- D A is the oldest commit not in svn and D is the newest commit. How do I use git svn dcommit to only push A and B to svn, but keep C and D only in my local git repository? Alter...

Getting git svn to dcommit master to trunk again.

I have a git clone of a Subversion repository that has the standard trunk/branches/tags layout. I cloned the repository using the --stdlayout option. I created a branch using git svn branch -m "Creating new branch." mybranch And then checked it out using git checkout --track -b mybranch remotes/mybranch I made a few commits and mer...

Alien::SVN build error on HP UX 11.23

when trying ./Build on HP-UX 11.23 to install Alien::SVN, it exits with message: checking build system type... Invalid configuration `n': machine `n' not recognized configure: error: /bin/sh build/config.sub n failed configuring SVN failed at inc/My/SVN/Builder.pm line 108, <STDIN> line 3. Something went wrong with the Subversion config...