~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/branch.py

  • Committer: Martin Pool
  • Date: 2005-05-05 02:19:16 UTC
  • Revision ID: mbp@sourcefrog.net-20050505021916-d087a54135651fdd
doc

Show diffs side-by-side

added added

removed removed

Lines of Context:
73
73
class Branch:
74
74
    """Branch holding a history of revisions.
75
75
 
76
 
    TODO: Perhaps use different stores for different classes of object,
77
 
           so that we can keep track of how much space each one uses,
78
 
           or garbage-collect them.
79
 
 
80
 
    TODO: Add a RemoteBranch subclass.  For the basic case of read-only
81
 
           HTTP access this should be very easy by, 
82
 
           just redirecting controlfile access into HTTP requests.
83
 
           We would need a RemoteStore working similarly.
84
 
 
85
 
    TODO: Keep the on-disk branch locked while the object exists.
86
 
 
87
 
    TODO: mkdir() method.
 
76
    base
 
77
        Base directory of the branch.
88
78
    """
89
79
    def __init__(self, base, init=False, find_root=True):
90
80
        """Create new branch object at a particular location.