gpt4 book ai didi

Mercurial/hg - 中止 : outstanding uncommitted merges

转载 作者:行者123 更新时间:2023-12-03 06:21:09 29 4
gpt4 key购买 nike

我在主机 1 上有一个主存储库,并对主机 2 上的存储库进行了更新。我使用 hg Push 将更改从 host2 更改为 host1

[mpenning@host2 login]$  hg push ssh://host1//opt/python/login

但是,当我尝试更新或 merge 时,我得到

[mpenning@host1 login]$ hg update
abort: outstanding uncommitted merges
[mpenning@host1 login]$ hg merge
abort: outstanding uncommitted merges
[mpenning@host1 login]$

我还尝试了从 host1 进行 hg pull,但这也不起作用...

[mpenning@host1 login]$ hg pull ssh://host2//opt/python/login
running ssh host2 'hg -R /opt/python/login serve --stdio'
mpenning@host2's password:
pulling from ssh://host2//opt/python/login
searching for changes
no changes found
[mpenning@host1 login]$ hg merge
abort: outstanding uncommitted merges
[mpenning@host1 login]$

我需要做什么才能使用 host2 中的更改更新 host1 上的主存储库?

<小时/>

有关 host1 上的存储库的更多信息...

[mpenning@host1 login]$ hg parents
changeset: 27:6d530d533997
user: Mike Pennington <d.pennington@foo.local>
date: Wed Sep 26 11:44:51 2012 -0500
files: mp_getconf.py
description:
fix issue where config retrieval was broken


changeset: 29:eaf3b5aacfe6
user: Mike Pennington <d.pennington@foo.local>
date: Wed Sep 26 11:43:15 2012 -0500
files: mp_getconf.py
description:
fix artifact of using the script to run generic commands, but this broke config retrieval


[mpenning@host1 login]$

最佳答案

hg update --clean -r Tip 解决了问题...

[mpenning@host1 login]$ hg update --clean -r tip
resolving manifests
getting Protocol.py
getting Session.py
getting mp_getconf.py
getting mp_runcmd.py
4 files updated, 0 files merged, 0 files removed, 0 files unresolved
[mpenning@host1 login]$ hg up
resolving manifests
0 files updated, 0 files merged, 0 files removed, 0 files unresolved
[mpenning@host1 login]$

关于Mercurial/hg - 中止 : outstanding uncommitted merges,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/12690557/

29 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com