/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 bzr_commit_handler.py

Default branch nick to mapped git ref name (Max Bowsher)

Show diffs side-by-side

added added

removed removed

Lines of Context:
218
218
 
219
219
    def build_revision(self):
220
220
        rev_props = self._legal_revision_properties(self.command.properties)
 
221
        if 'branch-nick' not in rev_props:
 
222
            rev_props['branch-nick'] = self.cache_mgr.branch_mapper.git_to_bzr(
 
223
                    self.branch_ref)
221
224
        self._save_author_info(rev_props)
222
225
        committer = self.command.committer
223
226
        who = self._format_name_email(committer[0], committer[1])