git - 为什么 git-svn 应该积极搜索旧历史?

标签 git svn git-svn

当我运行 git svn clone -s 时发生了一些奇怪的事情,尽管以下信息告诉我们不要 panic ,但我想知道为什么这是一种 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

最佳答案

这很有趣。不要 panic 。

W: 表示“警告”,所有此警告告诉您的是 /trunk/packages/internal/sequentialInformationalBottleneckClusterer 在 r0 和 r0 之间没有修订r100 在您的 SVN 存储库中。该警告于 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 中的文件更改,此链接将老化)如果发现意外错误,将终止进程。

关于git - 为什么 git-svn 应该积极搜索旧历史?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/12064290/

相关文章:

git pull 到指定目录

svn - 代码存储库 checkin 的热图

svn - git svn 看门人存储库

git - git svn 的作者文件格式是什么,特别是反斜杠或下划线等特殊字符?

git - 缩进 Bash 脚本输出

使用 Cygwin+SSH 访问 Git-server 存储库

Git 克隆卡住了——端口被阻塞了?

git - 如何从 git-svn 副本恢复 Subversion 存储库?

windows - SVN 更新因文件夹名称相同而失败,只是大小写不同

Git Svn dcommit 错误 - 重新启动提交