/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

Set refs/heads/master if no ref is set yet.

Show diffs side-by-side

added added

removed removed

Lines of Context:
115
115
 
116
116
    def _branch_name_to_ref(self, name):
117
117
        from bzrlib.plugins.git.refs import branch_name_to_ref
118
 
        ref = branch_name_to_ref(name, "HEAD")
 
118
        ref = branch_name_to_ref(name, None)
119
119
        if ref == "HEAD":
120
120
            from dulwich.repo import SYMREF
121
121
            refcontents = self._git.refs.read_ref(ref)