braid Shell error: could not fetch

If you’ve recently migrated from Subversion to Git and you used a users alias file for your import, you might encounter the following:

jasonb@jasonb-laptop:~$ braid add -p http://rugb.rubyforge.org/svn/ext_scaffold \
  --type svn
Adding svn mirror of 'http://rugb.rubyforge.org/svn/ext_scaffold'.
Mirror 'vendor/plugins/ext_scaffold/' already has a remote. Skipping.
Resetting to '47d44fa'.
Shell error: could not fetch

Of course, what git is really saying, but it’s piped to /dev/null, is:

Adding svn mirror of 'http://rug-b.rubyforge.org/svn/ext_scaffold'.
Mirror 'vendor/plugins/ext_scaffold/' already has a remote. Skipping.
Author: martinrehfeld not defined in ../users.txt file

Just edit your .git/config file and remove your users.txt entry. If that was the problem, it’ll work now.

Post a Comment

Your email is never shared. Required fields are marked *

*
*