Rev 6525: Change the attribute lookup, I missed it in the first pass. in http://bazaar.launchpad.net/~jameinel/bzr/2.5-remote-wt-tests-1046697
John Arbash Meinel
john at arbash-meinel.com
Fri Sep 7 08:53:06 UTC 2012
At http://bazaar.launchpad.net/~jameinel/bzr/2.5-remote-wt-tests-1046697
------------------------------------------------------------
revno: 6525
revision-id: john at arbash-meinel.com-20120907085236-8fdb21idjx8w8dlw
parent: john at arbash-meinel.com-20120907075117-zmj7gxpq6dqxnnif
committer: John Arbash Meinel <john at arbash-meinel.com>
branch nick: 2.5-remote-wt-tests-1046697
timestamp: Fri 2012-09-07 12:52:36 +0400
message:
Change the attribute lookup, I missed it in the first pass.
-------------- next part --------------
=== modified file 'bzrlib/tests/per_tree/__init__.py'
--- a/bzrlib/tests/per_tree/__init__.py 2012-09-07 07:51:17 +0000
+++ b/bzrlib/tests/per_tree/__init__.py 2012-09-07 08:52:36 +0000
@@ -104,7 +104,7 @@
made_control = self.make_bzrdir(relpath, format=bzrdir_format)
made_control.create_repository()
b = made_control.create_branch()
- if self.repo_is_remote:
+ if getattr(self, 'repo_is_remote', False):
# If the repo is remote, then we just create a local lightweight
# checkout
# XXX: This duplicates a lot of Branch.create_checkout, but we know
=== modified file 'bzrlib/tests/per_workingtree/__init__.py'
--- a/bzrlib/tests/per_workingtree/__init__.py 2012-09-07 07:51:17 +0000
+++ b/bzrlib/tests/per_workingtree/__init__.py 2012-09-07 08:52:36 +0000
@@ -66,7 +66,6 @@
"transport_readonly_server": transport_readonly_server,
"bzrdir_format": workingtree_format._matchingbzrdir,
"workingtree_format": workingtree_format,
- "repo_is_remote": False,
}
@@ -92,7 +91,7 @@
made_control = self.make_bzrdir(relpath, format=format)
made_control.create_repository()
b = made_control.create_branch()
- if self.repo_is_remote:
+ if getattr(self, 'repo_is_remote', False):
# If the repo is remote, then we just create a local lightweight
# checkout
# XXX: This duplicates a lot of Branch.create_checkout, but we know
More information about the bazaar-commits
mailing list