On Fri, 2006-10-20 at 11:48 -0700, Linus Torvalds wrote:I tried this to see what bzr would do. Here's the critical point where the first merges are done ("a" is mainline, "b" and "c" are external branches being merged into "a"). --- jeff@lsblap:~/tmp/linus-file-id/a$ bzr pull ../b All changes applied successfully. 1 revision(s) pulled. jeff@lsblap:~/tmp/linus-file-id/a$ bzr pull ../c bzr: ERROR: These branches have diverged. Use the merge command to reconcile them. jeff@lsblap:~/tmp/linus-file-id/a$ bzr merge ../c Conflict adding file file2. Moved existing file to file2.moved. 1 conflicts encountered. jeff@lsblap:~/tmp/linus-file-id/a$ bzr status added: file2 renamed: file2 => file2.moved conflicts: Conflict adding file file2. Moved existing file to file2.moved. pending merges: Jeff Licquia 2006-10-20 commit c of file2 --- file2 and file2.moved have identical contents at this point. I fixed it by deleting file2.moved, "bzr resolve file2", and committing. After this conflict is resolved, merging from b causes conflicts, while merging from c appears to work fine. This continues until b merges from a (and resolves a conflict in a similar manner to a), at which time merging/pulling works as you'd expect between the branches. Whenever b is marked as conflicting before it merges from a, bzr preserves b's changes by moving b's modified file. All in all, not ideal, but it seems bzr handles this better than bk. Certainly, bzr doesn't silently drop anyone's changes, at least. I suspect that bzr could improve its handling of this use case, but not, I'm sure, to Linus's specifications; some of the fun and games does seem to come from the use of file IDs. - To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
| debian developer | Re: Dual-Licensing Linux Kernel with GPL V2 and GPL V3 |
| Eric W. Biederman | [PATCH 02/10] sysfs: Support for preventing unmounts. |
| Greg KH | [GIT PATCH] driver core patches against 2.6.24 |
| Linus Torvalds | Re: LSM conversion to static interface |
git: | |
| Antonio Almeida | HTB accuracy for high speed |
| David Miller | Re: [PATCH] pkt_sched: Destroy gen estimators under rtnl_lock(). |
| Gerrit Renker | [PATCH 18/37] dccp: Support for Mandatory options |
| Timo Teräs | Re: xfrm_state locking regression... |
