Rev 96: Fix branch. in http://people.samba.org/bzr/jelmer/bzr-git/trunk
Jelmer Vernooij
jelmer at samba.org
Sat Aug 23 14:18:05 BST 2008
At http://people.samba.org/bzr/jelmer/bzr-git/trunk
------------------------------------------------------------
revno: 96
revision-id: jelmer at samba.org-20080823131804-beqfmh0nh77hc6x2
parent: jelmer at samba.org-20080823131441-gm7mww8bngxnoonv
committer: Jelmer Vernooij <jelmer at samba.org>
branch nick: trunk
timestamp: Sat 2008-08-23 15:18:04 +0200
message:
Fix branch.
modified:
branch.py git_branch.py-20071108230535-su8dxk529f4uk9fx-2
=== modified file 'branch.py'
--- a/branch.py 2008-08-23 13:12:10 +0000
+++ b/branch.py 2008-08-23 13:18:04 +0000
@@ -141,3 +141,11 @@
def supports_tags(self):
return True
+
+ def sprout(self, to_bzrdir, revision_id=None):
+ """See Branch.sprout()."""
+ result = to_bzrdir.create_branch()
+ self.copy_content_into(result, revision_id=revision_id)
+ result.set_parent(self.bzrdir.root_transport.base)
+ return result
+
More information about the bazaar-commits
mailing list