test_directive_cherrypick fails in 2a format
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Bazaar |
Fix Released
|
Medium
|
Martin Pool |
Bug Description
This might be due to root id conflicts...
----
FAIL: test_directive_
vvvv[log from bzrlib.
69.288 creating repository in file://
69.291 creating branch <bzrlib.
69.300 trying to create missing lock '/tmp/testbzr-
69.300 opening working tree '/tmp/testbzr-
69.311 preparing to commit
INFO Committing to: /tmp/testbzr-
69.313 Selecting files for commit with filter []
INFO added a
INFO Committed revision 1.
69.330 preparing to commit
INFO Committing to: /tmp/testbzr-
69.332 Selecting files for commit with filter []
INFO added b
INFO Committed revision 2.
69.347 creating repository in file://
69.350 creating branch <bzrlib.
69.359 trying to create missing lock '/tmp/testbzr-
69.359 opening working tree '/tmp/testbzr-
69.366 preparing to commit
INFO Committing to: /tmp/testbzr-
69.369 Selecting files for commit with filter []
INFO Committed revision 1.
69.386 Using fetch logic to copy between CHKInventoryRep
69.386 fetch up to rev {mbp@grace-
INFO Bundling 2 revision(s).
69.405 run bzr: ['merge', '-d', 'target', 'directive']
69.405 bzr arguments: ['merge', '-d', 'target', 'directive']
69.411 opening working tree '/tmp/testbzr-
WARNING Performing cherrypick
INFO +N b
WARNING Conflict adding files to a. Moved to root.
WARNING Conflict adding files to b. Moved to root.
INFO 2 conflicts encountered.
69.446 errors:
'Performing cherrypick\n+N b\nConflict adding files to a. Moved to root.\nConflict adding files to b. Moved to root.\n2 conflicts encountered.\n'
69.453 opening working tree '/tmp/testbzr-
^^^^[log from bzrlib.
-------
Traceback (most recent call last):
File "/home/
out, err = self.run_bzr('merge -d target directive')
AssertionError: Unexpected return code
not equal:
a = 0
b = 1
Related branches
Changed in bzr: | |
status: | Confirmed → In Progress |
I think the problem here is that they have different root ids therefore the cherrypick fails.
It's a reasonable thing to want to do, so should probably be handled better, but that requires a larger look at path tokens or something.
https:/ /code.edge. launchpad. net/~mbp/ bzr/409684- cherrypick/ +merge/ 9744