为什么git-svn应该积极寻找古老的历史?

时间:2012-08-21 23:05:56

标签: git svn git-svn

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

为什么这条路径不存在,是否会被其他人删除?

如果是,为什么git svn应该积极搜索旧历史?

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

1 个答案:

答案 0 :(得分:10)

这是一个有趣的。不要惊慌。

W:表示“警告”,所有此警告告诉您/trunk/packages/internal/sequentialInformationalBottleneckClusterer在SVN存储库中的r0和r100之间没有修订版。该警告于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>

如果您有兴趣,可以阅读original thread here。在此期间,只需忽略警告即可。有问题的子例程skip_unknown_revs(警告,如果github中的文件发生更改,此链接将会老化)如果遇到意外错误将终止进程。