Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
当一个hg graft失败时,它会留下.hg/graftstate哪个信号向移植命令发出一个移植正在进行中并且可以继续的信号。除了删除之外.hg/graftstate,还有更干净的方法来中止嫁接吗?
hg graft
.hg/graftstate
您想要hg update --clean .较早的答案缺少“。” 指示要更新到的位置。
hg update --clean .
“ hg update --clean ” 应该可以。
确保您没有要推送的重要内容,然后执行以下操作。
hg strip "roots(outgoing())"
只需删除 .hg/graftstate 文件