lp:~jameinel/bzr/2.5-remote-wt-tests-1046697

Created by John A Meinel on 2012-09-06 and last modified on 2012-09-10
Get this branch:
bzr branch lp:~jameinel/bzr/2.5-remote-wt-tests-1046697
Only John A Meinel can upload to this branch. If you are John A Meinel please log in for upload directions.

Branch merges

Related bugs

Related blueprints

Branch information

Owner:
John A Meinel
Project:
Bazaar
Status:
Merged

Recent revisions

6526. By John A Meinel on 2012-09-07

And naturally I missed some tests from the last patch.

6525. By John A Meinel on 2012-09-07

Change the attribute lookup, I missed it in the first pass.

6524. By John A Meinel on 2012-09-07

per_tree re-uses the per_workingtree scenarios.

Which means we have to update the per_tree tests to handle the new model,
as well as update the test_selftest code that explicitly tested the
permutation code.

6523. By John A Meinel on 2012-09-07

rename some variables for clarity.

6522. By John A Meinel on 2012-09-06

Finish bug #1046697 and run all per_workingtree tests against a checkout.

Specifically, a lightweight checkout of a RemoteRepository. We don't try to do all permutations,
but we do try to at least do the default WT format against the default repository format.
Update NEWS/release-notes to the associated bug.

6521. By John A Meinel on 2012-09-06

Use development-subtree so the tree reference tests pass.

The support is actually determined by the repository. But the bug is that
while Tree.supports_tree_reference() returns False, tree.add_reference()
passes without complaint.

6520. By John A Meinel on 2012-09-06

Merge the get_file_text cleanup.

There were a few tests that fail because the filtered content ends up
coming back as the empty string, rather than actually coming back with
content. Obviously, we want content :).

6519. By John A Meinel on 2012-09-06

record_stream wasn't being iterated to completion.

This meant that we didn't always finalize a nested_progress_bar.
Which meant that our test suite thought we were at a depth >1.
Which meant that ProgressRecordingUIFactory was discarding
the update messages.
So wrap the progress bar in a try/finally. That way when the
generator exits, we get a proper cleanup.
Note that record_stream is generally driven by iterating the
stream and stepping it, so it isn't too surprising that
we weren't stepping that one final time to trigger generator
teardown.

6518. By John A Meinel on 2012-09-06

WorkingTreeFormat6._matchingbzrdir wasn't actually creating a matching bzrdir.

The issue is it was just inheriting the value from WTFormat4, so stuff like views don't work.
This may not fix everything, but it helps.
Also, update one skip-the-test that really meant 'this permutation is not applicable'.

6517. By John A Meinel on 2012-09-06

branch_builder builds in the branch/repository location, not in the wt location.

Branch metadata

Branch format:
Branch format 7
Repository format:
Bazaar repository format 2a (needs bzr 1.16 or later)
Stacked on:
lp:bzr
This branch contains Public information 
Everyone can see this information.

Subscribers