简体   繁体   中英

Git svn fetch, rebase, reset and dcommit functions all hang with no error on one svn branch

I have a cloned repository of a large project with a somewhat non standard layout. Most of my branches work fine, but one of them doesn't.

Any git svn commands just hang and never complete or give errors.

I've tried git reset, etc and nothing works. I can't fetch, rebase or dcommit on the branch.

Is this something anyone else has seen? What can I do to fix it? Google comes up with nothing.

Thanks!

您可以尝试使用提供git-svn独立实现的SmartGit与您的存储库一起工作,我希望它不会挂起。

I believe this is a bug in the Alien-SVN perl library. I'm running on OSX and it comes with a 1.6.x version of the Perl-Subversion bindings. I found I was able to reproduce the hang effect with this minimal config:

use SVN::Core;
warn $SVN::Core::VERSION;
use SVN::Ra;
SVN::Ra->new('https://example.org/example/project/trunk');
exit;

I tried using the built in OSX Perl/CPAN to update the SVN::Core version to no avail. It went from hanging on exit to segfaulting on startup. Finally, I just used MacPorts to install git and svn using sudo port install git-core +svn as specified in another question about updating the built-in OSX SVN::Core perl library.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM