为什么git-svn应该积极搜索旧的历史? [英] why git-svn should search aggressively for old history?

查看:137
本文介绍了为什么git-svn应该积极搜索旧的历史?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当我运行git svn clone -s时发生了一些奇怪的事情,尽管以下信息告诉我们不要惊慌,我想知道为什么这是svn错误?



如果是这样,为什么git svn应该为其他人删除?搜索积极的旧历史?

 初始化父:refs / remotes / tag / sequenceInformationalBottleneckClusterer-1.0.1@8400 
W:忽略来自SVN的错误,路径可能不存在:(160013):文件系统没有项目:未找到文件:修订版101,路径'/ trunk / packages / internal / sequentialInformationalBottleneckClusterer'
W:不要惊慌在上面的消息中,git-svn正在积极寻找旧的历史。
这可能需要一段时间才能在大型存储库中
通过r1501
检查


解决方案

这很有趣。不要惊慌。



W:表示警告,并且所有警告都告诉您 / trunk / packages / internal / sequentialInformationalBottleneckClusterer 在你的SVN仓库中没有在r0和r100之间的版本。

 提交eee8a1742bf51df33f0f6004774035f57253f944 
作者:Eric Wong< normalperson@yhbt.net>
日期:星期一1月7日02:40:40 2008 -0800

git-svn:澄清忽略来自SVN的错误部分

我听说过几个用户对此感到困惑,而且有时它会出现
,就好像git-svn在较慢的连接和
较大的存储库上没有做任何事情。

签名:Eric Wong< normalperson@yhbt.net>
签名:Junio C Hamano< gitster@pobox.com>

您可以阅读这里的原始线程,如果你有兴趣的话。同时,只要忽略警告即可。有问题的子程序, skip_unknown_revs (警告,如果github中的文件发生更改,此链接将会老化)会在进程发生意外错误时终止进程。


Something strange happened when I ran git svn clone -s, though the following information tells us to not be alarmed, I wonder why that is kind of svn error?

Why this path does not exist, is it deleted by others?

If yes, why git svn should search aggressively for old history?

Initializing parent: refs/remotes/tags/sequentialInformationalBottleneckClusterer-1.0.1@8400
W: Ignoring error from SVN, path probably does not exist: (160013): Filesystem has no item: File not found: revision 101, path '/trunk/packages/internal/sequentialInformationalBottleneckClusterer'
W: Do not be alarmed at the above message git-svn is just searching aggressively for old history.
This may take a while on large repositories
Checked through r1501

解决方案

This was a fun one. Do not be alarmed.

The W: signifies "warning", and all this warning tells you is that /trunk/packages/internal/sequentialInformationalBottleneckClusterer doesn't have a revision between r0 and r100 in your SVN repository. The warning was introduced in early 2008.

commit eee8a1742bf51df33f0f6004774035f57253f944
Author: Eric Wong <normalperson@yhbt.net>
Date:   Mon Jan 7 02:40:40 2008 -0800

    git-svn: clarify the "Ignoring error from SVN" piece

    I've heard of several users puzzled by this, and it sometimes it
    appears as if git-svn is doing nothing on slower connections and
    larger repositories.

    Signed-off-by: Eric Wong <normalperson@yhbt.net>
    Signed-off-by: Junio C Hamano <gitster@pobox.com>

You can read the original thread here if you're interested. In the meantime, just ignore the warning. The subroutine in question, skip_unknown_revs (warning, this link will age if the file in github changes) would kill the process if it caught an unexpected error.

这篇关于为什么git-svn应该积极搜索旧的历史?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆