/brz/remove-bazaar

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/brz/remove-bazaar

« back to all changes in this revision

Viewing changes to bzrlib/builtins.py

  • Committer: Aaron Bentley
  • Date: 2007-08-15 17:26:53 UTC
  • mto: (1551.19.24 Aaron's mergeable stuff)
  • mto: This revision was merged to the branch mainline in revision 2718.
  • Revision ID: abentley@panoramicfeedback.com-20070815172653-x0z58pinff7t8n2c
Checkout into existing trees works

Show diffs side-by-side

added added

removed removed

Lines of Context:
963
963
            os.mkdir(to_location)
964
964
        except OSError, e:
965
965
            if e.errno == errno.EEXIST:
966
 
                raise errors.BzrCommandError('Target directory "%s" already'
967
 
                                             ' exists.' % to_location)
968
 
            if e.errno == errno.ENOENT:
 
966
                pass
 
967
            elif e.errno == errno.ENOENT:
969
968
                raise errors.BzrCommandError('Parent of "%s" does not exist.'
970
969
                                             % to_location)
971
970
            else: