简体   繁体   English

Git svn fetch,rebase,reset和dcommit函数都挂起,在一个svn分支上没有错误

[英]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. 任何git svn命令都会挂起,永远不会完成或出错。

I've tried git reset, etc and nothing works. 我已经尝试过git reset等,但没有任何效果。 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. 我相信这是Alien-SVN perl库中的一个错误。 I'm running on OSX and it comes with a 1.6.x version of the Perl-Subversion bindings. 我正在运行OSX,它带有一个1.6.x版本的Perl-Subversion绑定。 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. 我尝试使用内置的OSX Perl / CPAN来更新SVN :: Core版本无济于事。 It went from hanging on exit to segfaulting on startup. 它在启动时从退出挂起到segfaulting。 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. 最后,我刚刚使用了MacPorts来安装git和svn,使用sudo port install git-core +svn如另一个关于更新内置OSX SVN :: Core perl库的问题所指定的那样。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

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