简体   繁体   English

我如何诊断“ svn commit”在开始之前卡住了?

[英]How do I diagnose “svn commit” getting stuck before it starts?

I'm commiting a large changeset, including a large binary file (180 MB) over a slow VPN connection. 我正在通过慢速VPN连接提交一个大型变更集,包括一个大型二进制文件(180 MB)。 It looks for all the world like it is stalled. 它看起来像世界停滞了一样。 How can I diagnose where it is stuck? 如何诊断卡在哪里?

The output is: 输出为:

$ svn commit -m "My commit message"
Connecting to deprecated signal QDBusConnectionInterface::serviceOwnerChanged(QString,QString,QString)`

Local subversion is 1.6.9 on Linux, KDE 4.3, and svn status shows 在Linux,KDE 4.3和SVN状态下,本地版本为1.6.9

 ML     .                      
  L     ws                     
M       ws/manage.py           
  L     ws/locales             
  L     ws/locales/ja_JP       
  L     ws/locales/ja_JP/LC_MESSAGES

The process isn't using much of any resources. 该过程没有使用太多资源。

The server is Linux, served by Apache and mod_dav_svn, same subversion 1.6.9. 该服务器是Linux,由Apache和mod_dav_svn提供服务,相同的Subversion 1.6.9。 I can't see any process that is handling the commit. 我看不到任何正在处理提交的进程。

It was stalled trying to get credentials from the desktop environment's password store. 它试图从桌面环境的密码存储中获取凭据时陷入了停顿。 There was a dialog box on a different desktop that was asking for my KDE Wallet password. 在另一个桌面上有一个对话框,要求我输入KDE电子钱包密码。 Once I entered it, the commit proceeded: 输入后,提交将继续:

$ svn commit -m "My commit message"
Connecting to deprecated signal QDBusConnectionInterface::serviceOwnerChanged(QString,QString,QString)`
Sending        .                                                                                                                
Sending        File1                                                                                                    
Sending        File2                                                                                                  
...

Subversion 1.6 added a feature where the OS password store could be used for subversion passwords (for example, in the KDE Wallet or Gnome Keyring). Subversion 1.6添加了一项功能,该功能可以将OS密码存储区用于Subversion密码(例如,在KDE Wallet或Gnome Keyring中)。 See http://subversion.apache.org/docs/release-notes/1.6.html#auth-related-improvements . 请参阅http://subversion.apache.org/docs/release-notes/1.6.html#auth-related-improvements This is a huge security win, but those familiar with subversion 1.5 and earlier may forget about it, and be too busy staring at the command line to look for a dialog box. 这是一次巨大的安全性胜利,但是熟悉Subversion 1.5和更低版本的人可能会忘记它,并且太忙于盯着命令行去寻找对话框。

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

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