1197
1198
revision_id: if not None, the revision history in the new branch will
1198
1199
be truncated to end with revision_id.
1201
1202
with self.lock_read(), result.lock_write():
1202
1203
if repository_policy is not None:
1203
1204
repository_policy.configure_branch(result)
1207
1209
def sprout(self, to_controldir, revision_id=None, repository_policy=None,
1209
1211
"""Create a new line of development from the branch, into to_controldir.
1211
1213
to_controldir controls the branch format.