~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/controldir.py

  • Committer: John Arbash Meinel
  • Date: 2011-09-12 18:40:02 UTC
  • mfrom: (6132 +trunk)
  • mto: This revision was merged to the branch mainline in revision 6133.
  • Revision ID: john@arbash-meinel.com-20110912184002-o23eu21fdgp35h2q
Merge bzr.dev, resolve release-notes (aka NEWS) conflicts.

Show diffs side-by-side

added added

removed removed

Lines of Context:
146
146
        """Destroy the repository in this ControlDir."""
147
147
        raise NotImplementedError(self.destroy_repository)
148
148
 
149
 
    def create_branch(self, name=None, repository=None):
 
149
    def create_branch(self, name=None, repository=None,
 
150
                      append_revisions_only=None):
150
151
        """Create a branch in this ControlDir.
151
152
 
152
153
        :param name: Name of the colocated branch to create, None for
153
154
            the default branch.
 
155
        :param append_revisions_only: Whether this branch should only allow
 
156
            appending new revisions to its history.
154
157
 
155
158
        The controldirs format will control what branch format is created.
156
159
        For more control see BranchFormatXX.create(a_controldir).