~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-04-26 05:06:29 UTC
  • mfrom: (2453.2.1 bugfix-property)
  • Revision ID: pqm@pqm.ubuntu.com-20070426050629-c5i80a0iav553pix
Don't set the bugs property unless bugs are actually set

Show diffs side-by-side

added added

removed removed

Lines of Context:
2172
2172
            # selected-file merge commit is not done yet
2173
2173
            selected_list = []
2174
2174
 
2175
 
        properties['bugs'] = self._get_bug_fix_properties(fixes, tree.branch)
 
2175
        bug_property = self._get_bug_fix_properties(fixes, tree.branch)
 
2176
        if bug_property:
 
2177
            properties['bugs'] = bug_property
2176
2178
 
2177
2179
        if local and not tree.branch.get_bound_location():
2178
2180
            raise errors.LocalRequiresBoundBranch()