/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/tests/__init__.py

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2006-09-14 04:53:15 UTC
  • mfrom: (1910.7.21 cosmetic)
  • Revision ID: pqm@pqm.ubuntu.com-20060914045315-d646c86b3f4722f2
(Andrew Bennetts, Robert Collins, Martin Pool) Various cosmetic improvements to docstrings and comments throughout bzrlib.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1209
1209
        return self.__server
1210
1210
 
1211
1211
    def get_url(self, relpath=None):
1212
 
        """Get a URL for the readwrite transport.
 
1212
        """Get a URL (or maybe a path) for the readwrite transport.
1213
1213
 
1214
1214
        This will either be backed by '.' or to an equivalent non-file based
1215
1215
        facility.
1271
1271
    def make_branch_and_tree(self, relpath, format=None):
1272
1272
        """Create a branch on the transport and a tree locally.
1273
1273
 
1274
 
        Returns the tree.
 
1274
        If the transport is not a LocalTransport, the Tree can't be created on
 
1275
        the transport.  In that case the working tree is created in the local
 
1276
        directory, and the returned tree's branch and repository will also be
 
1277
        accessed locally.
 
1278
 
 
1279
        This will fail if the original default transport for this test
 
1280
        case wasn't backed by the working directory, as the branch won't
 
1281
        be on disk for us to open it.  
 
1282
 
 
1283
        :param format: The BzrDirFormat.
 
1284
        :returns: the WorkingTree.
1275
1285
        """
1276
1286
        # TODO: always use the local disk path for the working tree,
1277
1287
        # this obviously requires a format that supports branch references