作者:prescott1972 | 来源:互联网 | 2023-05-17 00:46
ShortlyafterupgradingourrepositorytoSubversion1.5,myteamswitchedtowritinganewapplicat
Shortly after upgrading our repository to Subversion 1.5, my team switched to writing a new application for a few months and then abruptly returned to our original codebase. Our developers are using TortoiseSVN 1.5.9 and Subversion Client 1.6 (only for svnversion -n
) and Subversion 1.5 on our server. Our clients connect via svn+ssh.
在将我们的存储库升级到Subversion 1.5之后不久,我的团队开始编写一个新应用程序几个月,然后突然返回到我们原来的代码库。我们的开发人员在我们的服务器上使用TortoiseSVN 1.5.9和Subversion Client 1.6(仅适用于svnversion -n)和Subversion 1.5。我们的客户通过svn + ssh连接。
Our original codebase integrates the SVN revision number into the code using svnversion -n
to query for the WC's current revision. Suddenly however, this operation has gone to what I recall taking a short second or two to as long as 10s (and I've seen worse still inside of VM development environments, etc.) We've also experienced similar delays going back and experimenting with Tortoise's SubWCRev and Subversion Client 1.5.
我们的原始代码库使用svnversion -n将SVN修订版号集成到代码中,以查询WC的当前版本。然而,突然之间,这个操作已经发生了我记得短暂的一两秒到10秒(我在VM开发环境中看到更糟糕的情况等等)我们也遇到过类似的延迟和实验使用Tortoise的SubWCRev和Subversion Client 1.5。
This is not a massive problem but it is certainly an annoyance as this check is made as a pre-compile step before every build operation. As such, I'd love iron those few seconds out of our feedback loop!
这不是一个大问题,但它肯定是一个烦恼,因为这个检查是在每个构建操作之前作为预编译步骤。因此,我喜欢在我们的反馈循环中花几秒钟!
So, my question: Have I simply been away from my old codebase too long or has anyone else noticed a delay for this operation?
所以,我的问题是:我是否只是远离我的旧代码库太长时间或者是否有其他人注意到此操作的延迟?
If this delay is a new phenomena, has anyone fixed it. If so, how?
如果这种延迟是一种新现象,有人修复它。如果是这样,怎么样?
4 个解决方案