15

I just did a git svn rebase no problem on Friday afternoon.

Monday morning, it's hanging and resulting in an error like "WFSO timed out"

$ git svn rebase
C:\Program Files (x86)\Git\bin\perl.exe: *** WFSO timed out
C:\Program Files (x86)\Git\bin\perl.exe: *** WFSO timed out
C:\Program Files (x86)\Git\bin\perl.exe: *** WFSO timed out
C:\Program Files (x86)\Git\bin\perl.exe: *** WFSO timed out
C:\Program Files (x86)\Git\bin\perl.exe: *** WFSO timed out
C:\Program Files (x86)\Git\bin\perl.exe: *** WFSO timed out
Unable to determine upstream SVN information from working tree history

How do I get it back to working again? Last time it got into this state, I did a git svn fetch all over again, which worked, but rebuild the local repo from scratch and so was very time consuming. Hoping there's a better way.

wrschneider
  • 17,913
  • 16
  • 96
  • 176
  • Can you paste the actual commands and errors? – engineerC Nov 25 '13 at 18:12
  • I am getting similar problem. Following is the console output: Auto packing the repository for optimum performance. You may also run "git gc" manually. See "git help gc" for more information. Counting objects: 2664517, done. C:\Git\bin\perl.exe: *** WFSO timed out Writing objects: 20% (543738/2664517) – Hemant Nov 25 '14 at 00:04
  • 2
    I'm doing `git svn rebase -l`. No output for me. It just hangs. Task Manager shows that new Git and Perl processes are spawned every couple seconds, but they die about as fast, so I average a total of three Git processes and three Perl processes at any given time. – Adrian McCarthy Apr 01 '15 at 17:00
  • Has anyone solved in any way? I'm getting the same situation – Jamby Oct 21 '16 at 09:42
  • 1
    "git svn rebase" hangs, same here for me – c9s Jan 17 '17 at 07:25

2 Answers2

0

Try aborting the rebase

git rebase --abort

If that gives an error (likely) follow instructions to reset head, after that try aborting again:

git update-ref refs/heads/master COMMIT_IN_MESSAGE

Alim Özdemir
  • 2,396
  • 1
  • 24
  • 35
0

I did this:

git svn fetch
git rebase

And it seems working.

c9s
  • 1,888
  • 19
  • 15