Merge lp://staging/~spiv/bzr-builder/backport-merge-into into lp://staging/bzr-builder
Proposed by
Andrew Bennetts
Status: | Merged |
---|---|
Merged at revision: | 101 |
Proposed branch: | lp://staging/~spiv/bzr-builder/backport-merge-into |
Merge into: | lp://staging/bzr-builder |
Prerequisite: | lp://staging/~spiv/bzr-builder/merge-subdirs-479705 |
Diff against target: |
345 lines (+269/-35) 2 files modified
bzrlibbackports.py (+227/-0) recipe.py (+42/-35) |
To merge this branch: | bzr merge lp://staging/~spiv/bzr-builder/backport-merge-into |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Andrew Bennetts (community) | Abstain | ||
James Westby | Needs Fixing | ||
Review via email: mp+32428@code.staging.launchpad.net |
Description of the change
This removes dependencies on bzr 2.2 by backporting MergeIntoMerger and removing the use of OperationWithCl
This branch follows the merge-subdirs branch, i.e. it provides the merge-subdirs feature without the dependency on bzr 2.2.
To post a comment you must log in.
Hi Andrew, looks great, but there are a few small issues:
It needs
try: Merger plugins. builder. bzrlibbackports import MergeIntoMerger
MergeIntoMerger = merge.MergeInto
except (AttributeError, NameError):
from bzrlib.
instead of just NameError
and
merger = MergeIntoMerger (this_tree= tree_to, other_tree= other_tree,
other_ branch= merge_from, target_ subdir= target_ subdir,
source_ subpath= subpath, other_rev_ id=merge_ revid)
instead of merge.MergeInto Merger.
With these tweaks I get two test failures:
bzr selftest: /usr/bin/bzr lib/python2. 6/dist- packages/ bzrlib 6.32-24- generic- i686-with- Ubuntu- 10.04-lucid
/usr/
bzr-2.1.1 python-2.6.5 Linux-2.
======= ======= ======= ======= ======= ======= ======= ======= ======= ======= plugins. builder. tests.test_ recipe. BuildTreeTests. test_build_ tree_nest_ part ------- ------- ------- ------- ------- ------- ------- ------- ------- /tmp/testbzr- _LchpF. tmp/bzrlib. plugins. builder. tests.test_ recipe. BuildTreeTests. test_build_ tree_nest_ part/work/ source1/ .bzr/. branch. BzrBranchFormat 7 object at 0xb0eb88c> in file:// /tmp/testbzr- _LchpF. tmp/bzrlib. plugins. builder. tests.test_ recipe. BuildTreeTests. test_build_ tree_nest_ part/work/ source1/ .bzr/ _LchpF. tmp/bzrlib. plugins. builder. tests.test_ recipe. BuildTreeTests. test_build_ tree_nest_ part/work/ source1/ .bzr/checkout/ dirstate' _LchpF. tmp/bzrlib. plugins. builder. tests.test_ recipe. BuildTreeTests. test_build_ tree_nest_ part/work/ source1' /tmp/testbzr- _LchpF. tmp/bzrlib. plugins. builder. tests.test_ recipe. BuildTreeTests. test_build_ tree_nest_ part/work/ source2/ .bzr/. branch. BzrBranchFormat 7 object at 0xae1156c> in file:// /tmp/testbzr- _LchpF. tmp/bzrlib. plugins. builder. tests.test_ recipe. BuildTreeTests. test_build_ tree_nest_ part/work/ source2/ .bzr/ _LchpF. tmp/bzrlib. plugins. builder. tests.test_ recipe. BuildTreeTests. test_build_ tree_nest_ part/work/ source2/ .bzr/checkout/ dirstate' _LchpF. tmp/bzrlib. plugins. builder. tests.test_ recipe. BuildTreeTests. test_build_ tree_nest_ part/work/ source2' _LchpF. tmp/bzrlib. plugins. builder. tests.test_ recipe. BuildTreeTests. test_build_ tree_nest_ part/work/ source1'
ERROR: bzrlib.
-------
_StringException: Text attachment: log
------------
22.425 creating repository in file://
22.434 creating branch <bzrlib.
22.455 trying to create missing lock '/tmp/testbzr-
22.457 opening working tree '/tmp/testbzr-
22.479 preparing to commit
22.484 Selecting files for commit with filter None
22.521 creating repository in file://
22.530 creating branch <bzrlib.
22.548 trying to create missing lock '/tmp/testbzr-
22.548 opening working tree '/tmp/testbzr-
22.571 preparing to commit
22.576 Selecting files for commit with filter None
22.615 preparing to commit
22.620 Selecting files for commit with filter None
INFO Building tree.
INFO Retrieving 'source1' to put at 'target'.
22.663 opening working tree '/tmp/testbzr-
22.673 creating repository in file:///tmp/te...