如何调试 git-cvsimport? (看不到复杂的提交)

发布于 2024-07-15 23:33:23 字数 308 浏览 4 评论 0原文

大约 40 分钟前,我使用 git-cvsexportcommit 进行了一项特别复杂的更改,涉及多个文件重命名、合并和从 git 删除到 cvs。 一切都很顺利,CVS 的检查可以看到这些变化。 但是,当我运行 git-cvsimport 来更新 CVS 存储库的 git 镜像时,更改并未出现。

我知道 git-cvsimport 会延迟导入非常新的更改,以避免从尚未完成的多文件 CVS 提交中进行 git 提交,但我很确定延迟只有十分钟。

任何想法有什么问题吗? 我该如何调试这个? 我是否需要手动运行 cvsps?如果需要,我需要什么?

About 40 minutes ago I committed a particularly complicated change involving several file renames, mergers, and deletes from git into cvs, using git-cvsexportcommit. This went fine, and a checkout from CVS sees the changes. However, the changes are not appearing when I run git-cvsimport to update my git mirror of the CVS repository.

I know that git-cvsimport delays importing very new changes to try to avoid making a git commit out of a multi-file CVS commit that isn't completed yet, but I'm pretty sure that delay is only ten minutes.

Any ideas what's wrong? How do I even debug this? Do I need to run cvsps by hand and, if so, what would I be looking for?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

穿越时光隧道 2024-07-22 23:33:23

您应该尝试删除相关的 cvsps 缓存文件(应该位于 ~/.cvsps/ 中)。 我过去也遇到过类似的问题,这就是解决问题的方法。

您还可以尝试将 -x 选项传递给 cvsps,告诉它忽略缓存文件。 您可以使用 git-cvsimport 的“-p”选项来执行此操作。

如果一切都失败了,我猜一个新的 git-cvsimport -C 会接受更改。

祝你好运!

You should try deleting the relevant cvsps cache file (should be in in ~/.cvsps/). I've had similar issues in the past and I that is what cleared it up.

You could also try passing the -x option to cvsps which tells it to ignore the cache file. You can use git-cvsimport's "-p" option to do this.

If all else fails, I would guess a fresh git-cvsimport -C would pick up the change.

Good luck!

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文