~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/clone.py

  • Committer: John Arbash Meinel
  • Date: 2005-12-31 00:51:34 UTC
  • mto: (1587.1.6 bound-branches)
  • mto: This revision was merged to the branch mainline in revision 1590.
  • Revision ID: john@arbash-meinel.com-20051231005134-dd54e393c7d3b612
Updated pull. Now all paths which call set_revision_history maintain the branch invariant. All tests pass.

Show diffs side-by-side

added added

removed removed

Lines of Context:
96
96
        branch_to.append_revision(*history)
97
97
        build_working_dir(to_location)
98
98
        mutter("copied")
 
99
 
 
100
        # TODO: jam 20051230 When cloning a bound branch, should the
 
101
        #       cloned branch also be bound?
 
102
        # branch_to.set_bound_location(branch_from.get_bound_location())
99
103
        return branch_to
100
104
    finally:
101
105
        branch_from.unlock()