/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 breezy/plugins/fastimport/helpers.py

  • Committer: Breezy landing bot
  • Author(s): Gustav Hartvigsson
  • Date: 2021-01-10 18:46:30 UTC
  • mfrom: (7526.1.1 brz-removed-api-doc)
  • mto: This revision was merged to the branch mainline in revision 7532.
  • Revision ID: breezy.the.bot@gmail.com-20210110184630-dxu0g9dqq020uiw6
Drop documentation for removed API API.

Merged from https://code.launchpad.net/~gustav-hartvigsson/brz/removed-api-doc/+merge/396033

Show diffs side-by-side

added added

removed removed

Lines of Context:
94
94
    if os.path.exists(location):
95
95
        contents = os.listdir(location)
96
96
        if contents:
97
 
            errors.BzrCommandError("Destination must have a .bzr directory, "
 
97
            errors.CommandError("Destination must have a .bzr directory, "
98
98
                                   " not yet exist or be empty - files found in %s" % (location,))
99
99
    else:
100
100
        try:
101
101
            os.mkdir(location)
102
102
        except IOError as ex:
103
 
            raise errors.BzrCommandError(
 
103
            raise errors.CommandError(
104
104
                "Unable to create %s: %s" % (location, ex))
105
105
 
106
106
    # Create a repository for the nominated format.