revno 5648 on bzr.dev broke loom tests

Bug #721328 reported by Vincent Ladeuil
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Bazaar
Fix Released
Undecided
Andrew Bennetts
Loom
Fix Released
Critical
Andrew Bennetts

Bug Description

ERROR: bzrlib.plugins.loom.tests.test_branch.TestLoom.test_sprout_nonempty_loom_bottom
ERROR: bzrlib.tests.per_branch.test_pull.TestPull.test_pull_merges_and_fetches_tags(BzrBranchLoomFormat6)
ERROR: bzrlib.tests.per_branch.test_pull.TestPull.test_pull_merges_and_fetches_tags(BzrBranchLoomFormat7)
ERROR: bzrlib.tests.per_branch.test_pull.TestPull.test_pull_stop_revision_merges_and_fetches_tags(BzrBranchLoomFormat7)
ERROR: bzrlib.tests.per_branch.test_pull.TestPull.test_pull_stop_revision_merges_and_fetches_tags(BzrBranchLoomFormat6)
ERROR: bzrlib.tests.per_branch.test_sprout.TestSprout.test_sprout_preserves_tags(BzrBranchLoomFormat7)
ERROR: bzrlib.tests.per_branch.test_sprout.TestSprout.test_sprout_preserves_tags(BzrBranchLoomFormat6)
ERROR: bzrlib.plugins.loom.tests.test_branch.TestLoom.test_clone_nonempty_loom_bottom
ERROR: bzrlib.plugins.loom.tests.test_branch.TestLoom.test_sprout_remote_loom
ERROR: bzrlib.plugins.loom.tests.test_branch.TestLoom.test_sprout_nonempty_loom_bottom

Related branches

Revision history for this message
Vincent Ladeuil (vila) wrote :

I didn't run the tests in a loom since it landed, sorry for the delay.

Marking as critical as this is a regression.

I tried to look into it, but nothing obvious there :-/

Changed in bzr:
status: New → Confirmed
importance: Undecided → Critical
Revision history for this message
Andrew Bennetts (spiv) wrote :

Most of those tests are new in that revision; bzr-loom's branch implementation needs to be updated to match the new behaviour (i.e. fetch tagged revisions during pull and sprout). So in terms of end user functionality there's no regression there.

The bzrlib.plugins.loom tests that are failing are more of a concern, but probably a shallow issue of needing to be updated for the API changes documented in that revision:

* ``Branch.fetch`` implementations must now accept an optional
+ ``fetch_spec`` keyword argument. (Andrew Bennetts)
+
+* ``Branch.import_last_revision_info`` is deprecated. Use the
+ ``import_last_revision_info_and_tags`` method instead.
+ (Andrew Bennetts)
+
+* The ``revision_id`` parameter of
+ ``Repository.search_missing_revision_ids`` and
+ ``InterRepository.search_missing_revision_ids`` is deprecated. It is
+ replaced by the ``revision_ids`` parameter. (Andrew Bennetts)

Revision history for this message
Andrew Bennetts (spiv) wrote :

Seeing as I'm familiar with the necessary changes already I'll take care of this. It should be pretty easy.

Changed in bzr:
assignee: nobody → Andrew Bennetts (spiv)
Andrew Bennetts (spiv)
affects: bzr → bzr-loom
Andrew Bennetts (spiv)
summary: - revno 5648 on bzr.de broke loom tests
+ revno 5648 on bzr.dev broke loom tests
Changed in bzr-loom:
status: Confirmed → In Progress
Revision history for this message
Andrew Bennetts (spiv) wrote :

Fixed in trunk r131.

Changed in bzr-loom:
status: In Progress → Fix Released
Vincent Ladeuil (vila)
Changed in bzr:
assignee: nobody → Andrew Bennetts (spiv)
milestone: none → 2.4b1
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.