Rev 3743: Explanations. in http://people.ubuntu.com/~robertc/baz2.0/repository

Robert Collins robertc at robertcollins.net
Tue Sep 30 02:52:30 BST 2008


At http://people.ubuntu.com/~robertc/baz2.0/repository

------------------------------------------------------------
revno: 3743
revision-id: robertc at robertcollins.net-20080930015214-c9tzc5qwv156kjtt
parent: robertc at robertcollins.net-20080929063731-kal1xdw2hh6cno52
committer: Robert Collins <robertc at robertcollins.net>
branch nick: repository
timestamp: Tue 2008-09-30 11:52:14 +1000
message:
  Explanations.
modified:
  bzrlib/tests/per_repository_chk/__init__.py __init__.py-20080925061730-e4g24t5xstp2n2vp-2
  bzrlib/tests/per_repository_chk/test_unsupported.py test_unsupported.py-20080925063728-k65ry0n2rhta6t34-2
=== modified file 'bzrlib/tests/per_repository_chk/__init__.py'
--- a/bzrlib/tests/per_repository_chk/__init__.py	2008-09-26 02:32:30 +0000
+++ b/bzrlib/tests/per_repository_chk/__init__.py	2008-09-30 01:52:14 +0000
@@ -59,7 +59,7 @@
         # For remote repositories, we test both with, and without a backing chk
         # capable format: change the format we use to create the repo to direct
         # formats, and then the overridden make_repository in
-        # TestCaseWithRepositoryCHK will given a re-opened RemoteRepository
+        # TestCaseWithRepositoryCHK will give a re-opened RemoteRepository
         # with the chosen backing format.
         if isinstance(format, remote.RemoteRepositoryFormat):
             with_support = dict(scenario_info)

=== modified file 'bzrlib/tests/per_repository_chk/test_unsupported.py'
--- a/bzrlib/tests/per_repository_chk/test_unsupported.py	2008-09-26 02:32:30 +0000
+++ b/bzrlib/tests/per_repository_chk/test_unsupported.py	2008-09-30 01:52:14 +0000
@@ -14,7 +14,11 @@
 # along with this program; if not, write to the Free Software
 # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
 
-"""Tests for repositories that do not support CHK indices."""
+"""Tests for repositories that do not support CHK indices.
+
+CHK support is optional, and when it is not supported the methods and
+attributes CHK support added should fail in known ways.
+"""
 
 from bzrlib.tests.per_repository_chk import TestCaseWithRepositoryCHK
 




More information about the bazaar-commits mailing list