如何在远程存储库上运行hg restore命令 [英] how to run hg recover command on a remote repository

查看:156
本文介绍了如何在远程存储库上运行hg restore命令的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在teamcity中运行构建时出现以下错误.

I am getting the following error while running build in teamcity.

Failed to collect changes, error: '"C:\Program Files\TortoiseHg\hg.exe" --config ui.interactive=False pull https://test:******@hg.myrepo.co.uk/terriff' command failed.
stdout: pulling from https://test:***@hg.myrepo.co.uk/terriff
searching for changes

stderr: abort: abandoned transaction found - run hg recover!

我已经尝试删除代理计算机上的构建目录,但是仍然遇到相同的错误.还尝试运行hg recovery命令,但是它说存储库不是本地的.请指导如何解决此错误.

I already tried to delete the build directories on agent machines but still getting same error. Also tried to run hg recover command but it says repository is not local. Please guide how to fix this error.

推荐答案

是的,该命令必须在远程主机上运行(例如,通过外壳).

Yeah, that command will have to be run on the remote host (for example, via a shell).

这篇关于如何在远程存储库上运行hg restore命令的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆