~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: 2007-02-13 18:02:51 UTC
  • mfrom: (2283.1.1 jam-integration)
  • Revision ID: pqm@pqm.ubuntu.com-20070213180251-612e7e18b4fdbac0
(John Arbash Meinel) (trivial) remove unused and incorrect code.

Show diffs side-by-side

added added

removed removed

Lines of Context:
813
813
        elif len(revision) > 1:
814
814
            raise errors.BzrCommandError(
815
815
                'bzr branch --revision takes exactly 1 revision value')
816
 
        try:
817
 
            br_from = Branch.open(from_location)
818
 
        except OSError, e:
819
 
            if e.errno == errno.ENOENT:
820
 
                raise errors.BzrCommandError('Source location "%s" does not'
821
 
                                             ' exist.' % to_location)
822
 
            else:
823
 
                raise
 
816
 
 
817
        br_from = Branch.open(from_location)
824
818
        br_from.lock_read()
825
819
        try:
826
820
            if basis is not None: