Mercurial-无法提交合并并丢失文件错误 [英] Mercurial - cannot commit merge with missing files error

查看:104
本文介绍了Mercurial-无法提交合并并丢失文件错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经完成了'hg merge',但是当我尝试执行'hg commit -m"my msg .."时,出现以下错误消息:

I have done a 'hg merge' however when I attempt to do a 'hg commit -m "my msg.." I get the following error message :

abort: cannot commit merge with missing files

任何人都可以解释如何解决此问题以允许提交通过吗?

Can anyone explain how to fix this to allow the commit go through?

推荐答案

尝试hg status并查找状态为!(丢失)的文件.

Try hg status and look for files in state ! (missing).

原因是作为合并一部分的文件之一已被删除.取消删除文件,然后重试.

The cause is that one of the files which is part of the merge has been deleted. Undelete the file and try again.

这篇关于Mercurial-无法提交合并并丢失文件错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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