/breezy-builder/trunk

To get this branch, use:
bzr branch https://code.breezy-vcs.org/breezy-builder/trunk

« back to all changes in this revision

Viewing changes to cmds.py

  • Committer: Jelmer Vernooij
  • Date: 2018-05-19 14:06:00 UTC
  • Revision ID: jelmer@jelmer.uk-20180519140600-47c7x7j8wka332cx
Port to breezy.

Show diffs side-by-side

added added

removed removed

Lines of Context:
21
21
import shutil
22
22
import tempfile
23
23
 
24
 
from bzrlib import (
 
24
from breezy import (
25
25
    errors,
26
26
    lazy_regex,
27
27
    trace,
28
28
    transport as _mod_transport,
29
29
    urlutils,
30
30
    )
31
 
from bzrlib.branch import Branch
32
 
from bzrlib.commands import Command
33
 
from bzrlib.option import Option
 
31
from breezy.branch import Branch
 
32
from breezy.commands import Command
 
33
from breezy.option import Option
34
34
 
35
 
from bzrlib.plugins.builder.recipe import (
 
35
from breezy.plugins.builder.recipe import (
36
36
    BaseRecipeBranch,
37
37
    build_tree,
38
38
    RecipeParser,
285
285
                "is required for 'bzr dailydeb'. Install the "
286
286
                "python-debian package.")
287
287
 
288
 
        from bzrlib.plugins.builder.deb_util import (
 
288
        from breezy.plugins.builder.deb_util import (
289
289
            add_autobuild_changelog_entry,
290
290
            build_source_package,
291
291
            calculate_package_dir,
298
298
            sign_source_package,
299
299
            target_from_dput,
300
300
            )
301
 
        from bzrlib.plugins.builder.deb_version import (
 
301
        from breezy.plugins.builder.deb_version import (
302
302
            check_expanded_deb_version,
303
303
            substitute_branch_vars,
304
304
            substitute_time,
425
425
            if temp_dir is not None:
426
426
                shutil.rmtree(temp_dir)
427
427
        if watch_ppa:
428
 
            from bzrlib.plugins.builder.ppa import watch
 
428
            from breezy.plugins.builder.ppa import watch
429
429
            (owner, archive) = target_from_dput(dput)
430
430
            if not watch(owner, archive, package_name, base_branch.deb_version):
431
431
                return 2