/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: Jonathan Lange
  • Date: 2007-04-17 07:59:42 UTC
  • mto: This revision was merged to the branch mainline in revision 2446.
  • Revision ID: jml@canonical.com-20070417075942-1vfzpwjf8rvbty1f
Variety of whitespace cleanups, tightening of tests and docstring changes in
response to review of bug support.

Show diffs side-by-side

added added

removed removed

Lines of Context:
31
31
import bzrlib
32
32
from bzrlib import (
33
33
    branch,
 
34
    bugtracker,
34
35
    bundle,
35
36
    bzrdir,
36
37
    delta,
2086
2087
    aliases = ['ci', 'checkin']
2087
2088
 
2088
2089
    def _get_bug_fix_properties(self, fixes, branch):
2089
 
        from bzrlib.bugtracker import get_bug_url
2090
 
 
2091
2090
        properties = []
2092
2091
        # Configure the properties for bug fixing attributes.
2093
2092
        for fixed_bug in fixes:
2098
2097
                    "Commit refused." % fixed_bug)
2099
2098
            tag, bug_id = tokens
2100
2099
            try:
2101
 
                bug_url = get_bug_url(tag, branch, bug_id)
 
2100
                bug_url = bugtracker.get_bug_url(tag, branch, bug_id)
2102
2101
            except KeyError:
2103
2102
                raise errors.BzrCommandError(
2104
2103
                    'Unrecognized bug %s. Commit refused.' % fixed_bug)