Bazaar从错误的位置撤消拉

时间:2012-10-25 11:48:34

标签: dvcs bazaar pull

我不小心从一个错误的位置拉到我当地的集市仓库。 幸运的是,我的文件没有被覆盖,因为bazaar认识到了差异:

bzr: ERROR: These branches have diverged. Use the missing command to see how.  
Use the merge command to reconcile them.`

然而,物品包被拉了,我怀疑如果我现在不清理它们可能会引起冲突。

I saw that with git you can do this通过git reset --hard HEAD^

Bazaar doc表示只有部分支持。用集市解决这个错误的正确方法是什么? bzr revert足够吗?

1 个答案:

答案 0 :(得分:2)

如果您收到消息:

bzr: ERROR: These branches have diverged. Use the missing command to see how.  
Use the merge command to reconcile them.

然后你不必做任何事情。 Bazaar不会拉扯任何可能导致问题的东西。

相关问题