Rev 165: Use somewhat more generic way to create checkouts. in file:///home/jelmer/bzr/pqm/
Jelmer Vernooij
jelmer at samba.org
Mon May 21 02:12:22 BST 2007
At file:///home/jelmer/bzr/pqm/
------------------------------------------------------------
revno: 165
revision-id: jelmer at samba.org-20070520013651-yf069b1rv3iz87yy
parent: jelmer at samba.org-20070520011208-w1h1j4lll1oi1lqd
committer: Jelmer Vernooij <jelmer at samba.org>
branch nick: pqm
timestamp: Sun 2007-05-20 02:36:51 +0100
message:
Use somewhat more generic way to create checkouts.
modified:
pqm/__init__.py i_dc99ede3-0c64-434d-ac84-305c06455a8d
=== modified file 'pqm/__init__.py'
--- a/pqm/__init__.py 2007-05-20 01:12:08 +0000
+++ b/pqm/__init__.py 2007-05-20 01:36:51 +0000
@@ -1433,9 +1433,7 @@
import bzrlib.bzrdir as bzrdir
os.mkdir(output_dir)
branch = Branch.open(branch_spec)
- checkout = bzrdir.BzrDirMetaFormat1().initialize(output_dir)
- BranchReferenceFormat().initialize(checkout, branch)
- checkout.create_workingtree(branch.last_revision())
+ branch.create_checkout(output_dir)
class BranchSpecOptionHandler:
More information about the bazaar-commits
mailing list