提交 hgsub 时第一个字符被截断

发布于 2024-12-07 19:05:13 字数 243 浏览 0 评论 0原文

我正在尝试创建一个包含子存储库的水银存储库。我的 .hgsub 文件中有以下条目:

subrepo1 = http://hgserver.domain.com/subrepo1

但是,在提交时,我收到以下消息:

B:\>hg commit
committing subrepository ubrepo1

为什么第一个字符被删除?

I'm trying to create a mercurial repository containing subrepositores. I have the following entry in my .hgsub file:

subrepo1 = http://hgserver.domain.com/subrepo1

However, when committing, I get the following message:

B:\>hg commit
committing subrepository ubrepo1

Why is the first character removed?

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

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

发布评论

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

评论(1

静若繁花 2024-12-14 19:05:14

这显然是一个错误。

但 StackOverflow 并不是 Mercurial bugtracker,您最多能指望的是一种解决方法。相反,您应该向 Mercurial BTS 报告该问题,开发人员实际阅读过该问题,这可能会导致有人真正修复该错误:

https://www.mercurial-scm.org/wiki/BugTracker

但今天是你的幸运日:Mercurial 项目负责人碰巧点击了 Stack Overflow 的链接,得到了令人恼火的是,人们在一个永远不会发送到他的收件箱的地方报告错误,并且没有立即被重定向到正确的位置,因此他提交了一份正确的错误报告,然后修复了该错误:

https://www.mercurial-scm.org/bts/issue3033

原来是这样特定的错误是由一种非常不寻常的模式引起的,即在带有子存储库的 Windows 计算机上的驱动器根目录下提交存储库。它是无害的,修复程序将在 11 月 1 日的下一个版本中发布。

This is clearly a bug.

But StackOverflow is not the Mercurial bugtracker, and the best you can hope for here is a workaround. You should instead report the issue to the Mercurial BTS, which the developers actually read, and which may result in someone actually fixing the bug:

https://www.mercurial-scm.org/wiki/BugTracker

But today is your lucky day: the Mercurial project leader happened to follow a link to Stack Overflow, got annoyed that people were reporting bugs in a place that doesn't ever make it to his inbox and weren't promptly getting redirected to the right place, so he filed a proper bug report, then fixed the bug:

https://www.mercurial-scm.org/bts/issue3033

Turns out this particular bug is caused by the highly unusual pattern of committing to a repo at the root of the drive on a Windows machine with a subrepo. It's harmless and the fix will be in the next release on Nov 1.

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