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

  • Committer: Jelmer Vernooij
  • Date: 2018-03-31 17:39:57 UTC
  • mto: (0.200.1908 work)
  • mto: This revision was merged to the branch mainline in revision 6960.
  • Revision ID: jelmer@jelmer.uk-20180331173957-gij9lwydf25aisat
Fix typo.

Show diffs side-by-side

added added

removed removed

Lines of Context:
92
92
 
93
93
 
94
94
def ref_to_tag_name(ref):
95
 
    if not ref.startswith(LOCAL_TAG_PREFIX):
 
95
    if ref.startswith(LOCAL_TAG_PREFIX):
96
96
        return ref[len(LOCAL_TAG_PREFIX):].decode("utf-8")
97
97
    raise ValueError("unable to map ref %s back to tag name" % ref)
98
98