/brz/remove-bazaar

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/brz/remove-bazaar

« back to all changes in this revision

Viewing changes to bzrlib/doc/__init__.py

  • Committer: Robert Collins
  • Date: 2010-05-06 23:41:35 UTC
  • mto: This revision was merged to the branch mainline in revision 5223.
  • Revision ID: robertc@robertcollins.net-20100506234135-yivbzczw1sejxnxc
Lock methods on ``Tree``, ``Branch`` and ``Repository`` are now
expected to return an object which can be used to unlock them. This reduces
duplicate code when using cleanups. The previous 'tokens's returned by
``Branch.lock_write`` and ``Repository.lock_write`` are now attributes
on the result of the lock_write. ``repository.RepositoryWriteLockResult``
and ``branch.BranchWriteLockResult`` document this. (Robert Collins)

``log._get_info_for_log_files`` now takes an add_cleanup callable.
(Robert Collins)

Show diffs side-by-side

added added

removed removed

Lines of Context:
14
14
# along with this program; if not, write to the Free Software
15
15
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
16
16
 
17
 
"""Documentation for breezy.
 
17
"""Documentation for bzrlib.
18
18
 
19
 
See breezy.doc.api for api documentation and in the future breezy.doc.man
 
19
See bzrlib.doc.api for api documentation and in the future bzrlib.doc.man
20
20
for man page generation.
21
21
"""
22
22
 
23
 
from __future__ import absolute_import
24
 
 
25
 
 
26
 
def load_tests(loader, basic_tests, pattern):
 
23
 
 
24
def load_tests(basic_tests, module, loader):
27
25
    suite = loader.suiteClass()
28
26
    # add the tests for this module (obviously none so far)
29
27
    suite.addTests(basic_tests)
30
28
 
31
29
    testmod_names = [
32
 
        'breezy.doc.api',
 
30
        'bzrlib.doc.api',
33
31
        ]
34
32
 
35
33
    # add the tests for the sub modules