-
Committer:
Vincent Ladeuil
-
Date:
2007-11-01 21:02:36 UTC
-
mto:
(2990.1.1 trunk)
-
mto:
This revision was merged to the branch mainline in
revision
2991.
-
Revision ID:
v.ladeuil+lp@free.fr-20071101210236-iv2k87h4g2dmig3t
Fix second unwanted connection by providing the right branch to create_checkout.
* bzrlib/branch.py:
(Branch.create_checkout): Keep the lightweight branch to create
the checkout from.
* bzrlib/bzrdir.py:
(BzrDir.create_workingtree, BzrDir.open_workingtree,
BzrDirMeta1.create_workingtree): Add a from_branch parameter for
lightweight checkouts purposes.
* bzrlib/workingtree.py:
(WorkingTreeFormat2.initialize, WorkingTreeFormat3.initialize):
Use from_branch if provided or default to bzrdir branch.
* bzrlib/workingtree_4.py:
(WorkingTreeFormat4.initialize): Use from_branch if provided or
default to bzrdir branch.
* bzrlib/tests/test_workingtree.py:
(SampleTreeFormat.initialize): Update the signature.
* bzrlib/remote.py:
(RemoteBzrDir.create_workingtree): Update the signature.