Rev 6522: Finish bug #1046697 and run all per_workingtree tests against a checkout. in http://bazaar.launchpad.net/~jameinel/bzr/2.5-remote-wt-tests-1046697
John Arbash Meinel
john at arbash-meinel.com
Thu Sep 6 12:05:52 UTC 2012
At http://bazaar.launchpad.net/~jameinel/bzr/2.5-remote-wt-tests-1046697
------------------------------------------------------------
revno: 6522
revision-id: john at arbash-meinel.com-20120906120527-xb0q9ayrsra0ornx
parent: john at arbash-meinel.com-20120906114828-nk2yjs0tdhgligo5
fixes bug: https://launchpad.net/bugs/1046697
committer: John Arbash Meinel <john at arbash-meinel.com>
branch nick: 2.5-remote-wt-tests-1046697
timestamp: Thu 2012-09-06 16:05:27 +0400
message:
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.
-------------- next part --------------
=== modified file 'bzrlib/tests/per_workingtree/test_workingtree.py'
--- a/bzrlib/tests/per_workingtree/test_workingtree.py 2012-09-06 09:52:53 +0000
+++ b/bzrlib/tests/per_workingtree/test_workingtree.py 2012-09-06 12:05:27 +0000
@@ -485,13 +485,7 @@
# that formats where initialising a branch does not initialise a
# tree - and thus have separable entities - support skewing the
# two things.
- test_branch = self.make_branch('test-branch')
- try:
- # if there is a working tree now, this is not supported.
- test_branch.bzrdir.open_workingtree()
- return
- except (errors.NoWorkingTree, errors.NotLocalUrl):
- pass
+ self.requireBranchReference()
wt = self.make_branch_and_tree('tree')
# create an out of date working tree by making a checkout in this
# current format
=== modified file 'doc/en/release-notes/bzr-2.5.txt'
--- a/doc/en/release-notes/bzr-2.5.txt 2012-09-06 07:38:59 +0000
+++ b/doc/en/release-notes/bzr-2.5.txt 2012-09-06 12:05:27 +0000
@@ -41,6 +41,10 @@
* Revert use of --no-tty when gpg signing commits. (Jelmer Vernooij, #1014570)
+* Some small bug fixes wrt lightweight checkouts and remote repositories.
+ A test permutation was added that runs all working tree tests against a
+ lightweight checkout. (John Arbash Meinel, #1046697)
+
Documentation
*************
More information about the bazaar-commits
mailing list