开发者

How come bzr says there is nothing to do on merging branches that differ one from another?

开发者 https://www.devze.com 2023-03-20 03:14 出处:网络
I have a bizarre situation with two bzr branches. The two branches differ one from another as can be seen here:

I have a bizarre situation with two bzr branches. The two branches differ one from another as can be seen here:

$bzr diff --old=/path/to/another/branch | wc -l
148

However, when I'm trying to merge these two branches, bzr says that there is nothing to do:

$bzr merge --preview /path/to/another/branch
Nothing to do

I tried to touch the files in the another branch in order to modify their modif开发者_开发技巧ication times, but this didn't help. What am I missing here?


well, it turns out that I had to do bzr status in the target branch. Doing this I discovered that

working tree is out of date, run 'bzr update'

This actually solved the problem. After updating, the both branches became identical, as expected.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号