~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/commands.py

  • Committer: Martin Pool
  • Date: 2005-06-22 00:51:08 UTC
  • Revision ID: mbp@sourcefrog.net-20050622005108-024a77043bb94ea5
- pull shows location being used 
  patch from aaron

Show diffs side-by-side

added added

removed removed

Lines of Context:
504
504
            if errno == errno.ENOENT:
505
505
                raise
506
506
        if location is None:
507
 
            location = stored_loc
508
 
        if location is None:
509
 
            raise BzrCommandError("No pull location known or specified.")
 
507
            if stored_loc is None:
 
508
                raise BzrCommandError("No pull location known or specified.")
 
509
            else:
 
510
                print "Using last location: %s" % stored_loc
 
511
                location = stored_loc
510
512
        from branch import find_branch, DivergedBranches
511
513
        br_from = find_branch(location)
512
514
        location = pull_loc(br_from)