Open kevinarpe opened 10 years ago
I see similar things on Cygwin as well. But when I look at the code, I think (I am not a Ruby developer) that git gc
is the last command run, so the conversion is just fine. And the two repos I converted recently everything was converted just fine.
I just saw this after the last svn fetch:
Auto packing the repository in background for optimum performance.
See "git help gc" for manual housekeeping.
And since the git gc
at the end fails, I guess it is related. Cygwin is not known for being fast
Running into the same issue on OSX El Capitan. svn2git goes through a bunch of revisions but fails on the gc step. (Ran with -v):
r45646 = f31295d6ac4bd512e8c764b7bfe99adac005dbbf (refs/remotes/svn/trunk)
Auto packing the repository in background for optimum performance.
See "git help gc" for manual housekeeping.
Checked out HEAD:
http://svn.internal/svn/dv/root/main/Java r45646
creating empty directory: a/src/test/java/behaviors
creating empty directory: a/src/test/java/time
creating empty directory: b/TLD/src/test/java
creating empty directory: c/src/main/java/web/config
creating empty directory: c/src/test/java/perfCounters
Running command: git branch -l --no-color
* master
Running command: git branch -r --no-color
svn/trunk
Running command: git config --local --get user.name
Running command: git config --local --get user.email
Running command: git checkout -f master
Already on 'master'
Running command: git gc
fatal: gc is already running on machine 'Geoffreys-MacBook-Pro.local' pid 93403 (use --force if not)
command failed:
git gc
Running "git gc" afterwards is ok:
local:Java_svn2git geoff$ git gc
Counting objects: 10279, done.
Delta compression using up to 4 threads.
Compressing objects: 100% (3841/3841), done.
Writing objects: 100% (10279/10279), done.
Total 10279 (delta 5370), reused 10279 (delta 5370)
I updated Cygwin to the latest binaries. I installed svn2git using RubyGems: v2.3.2
Here is my command:
svn2git https://apac-svn.xyz.com/prod/xyz --verbose --metadata
It ran for about one hour...then failed at the very end. Maybe this is a Cygwin-specific issue?
Here is the last part of my log:
I am experienced with Linux, Cygwin, svn, and git, but not Ruby. I'll do my best to help.