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