~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/builtins.py

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2006-05-03 22:01:07 UTC
  • mfrom: (1692.4.1 integration)
  • Revision ID: pqm@pqm.ubuntu.com-20060503220107-7606072537025d30
Merge in push-without-working-tree, knit-sftp-speed, reconcile-fixes-revision-graph-cache.

Show diffs side-by-side

added added

removed removed

Lines of Context:
476
476
        # command.
477
477
        from bzrlib.transport import get_transport
478
478
        
479
 
        tree_from = WorkingTree.open_containing(u'.')[0]
480
 
        br_from = tree_from.branch
481
 
        stored_loc = tree_from.branch.get_push_location()
 
479
        br_from = Branch.open_containing('.')[0]
 
480
        stored_loc = br_from.get_push_location()
482
481
        if location is None:
483
482
            if stored_loc is None:
484
483
                raise BzrCommandError("No push location known or specified.")