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

Fix handling of remote branches.

Show diffs side-by-side

added added

removed removed

Lines of Context:
75
75
    :return: ref string
76
76
    """
77
77
    if name is None:
78
 
        return None
 
78
        return default
79
79
    if name == "HEAD":
80
80
        return "HEAD"
81
81
    if not name.startswith("refs/"):