Questions tagged [git-svn]

18 questions
11
votes
1 answer

What is the difference between git svn init + fetch and git svn clone?

While trying to use locally Git at my workplace where we use SVN I was searching a lot for how to set everything up. From what I found it seems there are two approaches to the problem, either: git svn clone URL or git svn init URL git svn fetch Do…
6
votes
2 answers

git-svn pass password on command-line

Is it possible to pass the SVN password on the command-line or in a text file? I would like to run git-svn via a script? I know that the username can be passed on the command-line, but is it possible to pass the password as well or have it stored…
Walter
  • 1,039
4
votes
3 answers

store svn password in gnome-keyring

I want to store my svn password in the gnome-keyring so it is encrypted and 'secure'. I made the necessary changes to ~/.subversion/config, but even after running a few svn commands, I do not see an entry for SVN in the keyring. What else do I need…
Walter
  • 1,039
4
votes
1 answer

Can an SVN repository be cloned as a Git bare repository with a simple command?

I need to clone an SVN repository as a bare Git repo. At the moment, I accomplished this by: Cloning the SVN repo with git-svn: $ git svn clone http://svn.code.sf.net/p/syntaxhighlight/code/ Moving the .git directory to the wanted place: $ mv…
2
votes
0 answers

git+svn osx mavericks: fatal: Cannot open '.git/Git_exc7sv': Resource temporarily unavailable

I recently updated from Mountain Lion to Mavericks and for some reason I can't use any git+svn commands anymore, it doesn't matter which repo I use, I all get simular errors: xxx@xxx:/path/$ sudo git svn clone http://svn.domain/path/ . Initialized…
basvk
  • 71
  • 4
2
votes
1 answer

git cannot allocate memory - git svn rebase

I cannot run git svn rebase in my repository as I am getting: Can't fork: Cannot allocate memory at /usr/share/perl5/vendor_perl/Git.pm line 1262 The output of free indicates I have plenty of free memory. total used free …
Walter
  • 1,039
2
votes
1 answer

Git SVN rebase to tags only

I'm extending an open source project with additional functionality. So I'll be basing my code on the released version of the source code. The open source project uses SVN and I uses Git. How would I rebase only to the released version (SVN tags)…
Dan
  • 191
1
vote
0 answers

git svn “unable to chdir up to '.'”

I use a local git with a SVN remote server, everything works fine but after my last reboot I get the following error with everything related to git svn. unable to chdir up to '.'
Sebastian
  • 111
1
vote
1 answer

Why doesn't git-svn respect my $PATH?

I have installed git and svn with homebrew on my mac running 10.7.4. There are two versions of svn on my machine and I have set up my path to check for homebrew things first. Unfortunately git is using the wrong version of svn, so either it…
lashleigh
  • 113
1
vote
1 answer

Add svn-repo as branch to git

I have a git repo, but my boss wants to see the code in an SVN incl. commit-messages. Is there a way to add the SVN to git as a branch (like boss-branch), so that I can work with my own branches, merge to boss-branch and do a svn-commit? Thanks &…
Tobi
  • 164
1
vote
1 answer

Can I recover history for a SVN repo from a local git-svn repo?

Our development team is currently using SVN to manage our web application development. The developer managing the SVN server is trying to migrate it from an older Win XP server to another server, but trying to output a dump of the repository fails…
James
  • 111
  • 3
1
vote
1 answer

How do I add an SVN created descendent branch in git-svn?

I have two branches tracked in a Git repository from SVN. Branch B was created in r6 in SVN by copying r5 of Branch A. When I added Branch B to git-svn it only tracks back to r6. I was expecting it to wire the Git commit of r6 on Branch B to the…
1
vote
1 answer

git-svn died of signal 10 on Mac OS X

I have git and git-svn installed via Fink. I try to do the following: $ git svn init http://myserver/myrepo Initialized empty Git repository in checkout/.git/ $ git svn fetch error: git-svn died of signal 10 Why is git-svn failing? How can I fix…
pr1001
  • 113
1
vote
0 answers

git-svn init inexplicably hangs on a new Windows machine

I am trying to check out an SVN repository using git-svn on Windows. The repository has password auth over https. On my old machine, I can create a new empty directory and do this: git svn init -s --username jsmith…
Nycki
  • 161
0
votes
1 answer

git-svn not checking out the latest revision

I initialized a new git project via git svn clone and the version git checked out is not the latest. Am I running the command incorrectly? I simply ran git svn clone is there something else I need to do?
Walter
  • 1,039
1
2