~abentley/bzrtools/bzrtools.dev

« back to all changes in this revision

Viewing changes to switch.py

  • Committer: Aaron Bentley
  • Date: 2006-06-18 01:24:25 UTC
  • mfrom: (0.3.3 shelf-dev)
  • Revision ID: aaron.bentley@utoronto.ca-20060618012425-61c3d9d62a2cc971
Merged the latest Shelf changes, patches.py no longer needed.

Show diffs side-by-side

added added

removed removed

Lines of Context:
25
25
from bzrlib.workingtree import WorkingTree
26
26
 
27
27
class cmd_switch(Command):
28
 
    """Set the branch of a lightweight checkout and update."""
 
28
    """Set the branch of a lightweight checkout and update.  <BZRTOOLS>"""
29
29
 
30
30
    takes_args = ['to_location']
31
31
 
94
94
        branch_format = BranchFormat.find_format(control)
95
95
        transport = control.get_branch_transport(None)
96
96
        branch = branch_format.open(control)
97
 
        location = transport.put_bytes('location', location)
 
97
        location = transport.put('location', location)