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

  • Committer: Jelmer Vernooij
  • Date: 2018-03-06 01:46:14 UTC
  • mfrom: (0.200.1819 work)
  • mto: (0.200.1820 work)
  • mto: This revision was merged to the branch mainline in revision 6960.
  • Revision ID: jelmer@jelmer.uk-20180306014614-w4yooagw6ufouzf4
Merge trunk.

Show diffs side-by-side

added added

removed removed

Lines of Context:
450
450
 
451
451
    def find_branch_format(self, name=None):
452
452
        from .branch import (
453
 
            GitSymrefBranchFormat,
454
453
            LocalGitBranchFormat,
455
454
            )
456
455
        ref = self._get_selected_ref(name)
457
 
        if self._get_symref(ref) is not None:
458
 
            return GitSymrefBranchFormat()
459
 
        else:
460
 
            return LocalGitBranchFormat()
 
456
        return LocalGitBranchFormat()
461
457
 
462
458
    def get_branch_transport(self, branch_format, name=None):
463
459
        if branch_format is None: