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

  • Committer: Jelmer Vernooij
  • Date: 2017-12-03 00:46:19 UTC
  • mto: This revision was merged to the branch mainline in revision 6830.
  • Revision ID: jelmer@jelmer.uk-20171203004619-ke0rwdux4hj07gpx
Avoid setting branch nick if format doesn't support it.

Show diffs side-by-side

added added

removed removed

Lines of Context:
212
212
            revprops = {}
213
213
        if possible_master_transports is None:
214
214
            possible_master_transports = []
215
 
        if not 'branch-nick' in revprops:
 
215
        if (not 'branch-nick' in revprops and
 
216
                branch.repository._format.supports_storing_branch_nick):
216
217
            revprops['branch-nick'] = branch._get_nick(
217
218
                local,
218
219
                possible_master_transports)