~abentley/bzr-pipeline/2.0.0

« back to all changes in this revision

Viewing changes to pipeline.py

  • Committer: Aaron Bentley
  • Date: 2010-01-06 04:33:31 UTC
  • mfrom: (139.1.1 dotfile)
  • Revision ID: aaron@aaronbentley.com-20100106043331-4giaib3ix0yu62i3
Change reconfigure-pipe to put pipes in .bzr directory.

Show diffs side-by-side

added added

removed removed

Lines of Context:
772
772
    if (tree.bzrdir.root_transport.base !=
773
773
        tree.branch.bzrdir.root_transport.base):
774
774
        raise errors.AlreadyLightweightCheckout(tree.bzrdir)
775
 
    pipes_transport = tree.bzrdir.root_transport.clone('pipes')
 
775
    pipes_transport = tree.bzrdir.root_transport.clone('.bzr/pipes')
776
776
    pipe_transport = pipes_transport.clone(tree.branch.nick)
777
777
    pipe_transport.create_prefix()
778
778
    if not tree.branch.repository.is_shared():
784
784
                       create_tree_if_local=False).open_branch()
785
785
    tree.bzrdir.destroy_branch()
786
786
    BranchReferenceFormat().initialize(tree.bzrdir, new_branch)
787
 
    ignores.tree_ignores_add_patterns(tree, ['./pipes'])
788
787
    return workingtree.WorkingTree.open(tree.basedir)
789
788
 
790
789