更新了 TeamCity:现在无法签出 Mercurial

发布于 2024-11-29 07:26:25 字数 1170 浏览 1 评论 0原文

好吧,当我更新 Team City 时,我没有对我的设置进行正确的备份,并且以某种方式丢失了我的所有 VCS 根,但我的项目的其余设置仍然存在。

当我重新添加我的 Mercurial root 时,我测试连接并且它成功了,但是当我尝试运行构建时,它在结帐时失败。有人知道这个错误是什么意思吗?

[Updating sources: agent side checkout...] Failed to perform checkout on agent: 'cmd /c hg pull <MERCURIAL URL>' command failed.
stderr: transaction abort!
rollback completed
abort: connection ended unexpectedly

stdout: pulling from <MERCURIAL URL>
requesting all changes
adding changesets
adding manifests
adding file changes

在我错误地更新而不备份之前,这是有效的:(

我正在使用代理端签出和指定的签出目录(就像我在更新之前使用的那样)

任何帮助将不胜感激。

[编辑]:我更新了 tortoise hg / Mercurial在构建服务器上,尝试拉取时出现此错误:

% hg --repository D:\Mercurial\Core pull --verbose https://<user email login>:<pw>@<kilnhg respository url>
pulling from https://<user email login>:<pw>@<kilnhg respository url>
requesting all changes
adding changesets
adding manifests
adding file changes
transaction abort!
rollback completed
abort: connection ended unexpectedly
[command returned code 255 Thu Aug 11 15:17:17 2011]

我刚刚从 tortoise hg 再次尝试,拉取成功了,这很奇怪:-/

Well I didn't do a correct backup of my settings when I updated Team City and somehow lost all of my VCS roots but the rest of my settings for my projects are still there.

When I re-add my mercurial root, I test the connection and it succeeds, however when I try to run a build, it fails on checkout. Anyone know what this error means?

[Updating sources: agent side checkout...] Failed to perform checkout on agent: 'cmd /c hg pull <MERCURIAL URL>' command failed.
stderr: transaction abort!
rollback completed
abort: connection ended unexpectedly

stdout: pulling from <MERCURIAL URL>
requesting all changes
adding changesets
adding manifests
adding file changes

This was working before I mistakenly updated without backing up :(

I am using agent side checkout with a specified checkout directory (just like I was using before the update)

Any help would be greatly appreciated.

[EDIT]: I updated tortoise hg / mercurial on the build server and got this error when trying to pull:

% hg --repository D:\Mercurial\Core pull --verbose https://<user email login>:<pw>@<kilnhg respository url>
pulling from https://<user email login>:<pw>@<kilnhg respository url>
requesting all changes
adding changesets
adding manifests
adding file changes
transaction abort!
rollback completed
abort: connection ended unexpectedly
[command returned code 255 Thu Aug 11 15:17:17 2011]

I just tried again from tortoise hg and the pull succeeded. This is very strange :-/

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

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

发布评论

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

评论(2

早茶月光 2024-12-06 07:26:25

我也遇到过完全相同的问题。我已在 Windows 7 (64) 计算机上尝试了 TortoiseHG 的所有可用版本。我无法从任何地方克隆或提取任何内容:)

为我解决这个问题的是 TortoiseHG gui 中的“使用未压缩传输”复选框。

等于“hg克隆--未压缩”

I've had the exact same problem. I have tried all available versions of TortoiseHG on my Windows 7 (64) machine. I can't clone or pull anything from anywhere :)

What solved it for me is the "Use uncompressed transfer" check box in TortoiseHG gui.

Equal to "hg clone --uncompressed"

因为看清所以看轻 2024-12-06 07:26:25

我注意到你的错误消息中有一个微妙之处。你正在使用 Kiln,对吗?我认为这个问题在 Kiln 的 支持上得到了解释网站。您是否可以手动从存储库中拉取修订版块,以查看是否使用 hg pull -r 200 完成较小的版本(如 Kiln 支持网站上所示)?

I noticed a subtlety in your error message. You're using Kiln, right? I think this issue is explained on Kiln's support site. Can you manually pull from the repo to slowly pull chunks of revisions to see if it finishes with smaller sets using hg pull -r 200 as shown on Kiln's support site?

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