/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: 2007-11-28 23:08:40 UTC
  • mfrom: (3034.4.9 aaron)
  • Revision ID: pqm@pqm.ubuntu.com-20071128230840-b2ra2nso0qtqxon6
TreeTransform handles case-insensitive filesystems well

Show diffs side-by-side

added added

removed removed

Lines of Context:
2046
2046
 
2047
2047
        This doesn't add anything to a branch.
2048
2048
 
 
2049
        :type shape:    list or tuple.
2049
2050
        :param line_endings: Either 'binary' or 'native'
2050
2051
            in binary mode, exact contents are written in native mode, the
2051
2052
            line endings match the default platform endings.
2053
2054
            If the transport is readonly or None, "." is opened automatically.
2054
2055
        :return: None
2055
2056
        """
 
2057
        assert type(shape) in (list, tuple), ("Parameter 'shape' should be "
 
2058
            "a list or a tuple. Got %s instead" % type(shape))
2056
2059
        # It's OK to just create them using forward slashes on windows.
2057
2060
        if transport is None or transport.is_readonly():
2058
2061
            transport = get_transport(".")