equal
deleted
inserted
replaced
99 else: |
99 else: |
100 nrefs.append(refspec) |
100 nrefs.append(refspec) |
101 if nrefs[-2] > refspec: |
101 if nrefs[-2] > refspec: |
102 # bookmarks weren't sorted before 4.5 |
102 # bookmarks weren't sorted before 4.5 |
103 nrefs.sort() |
103 nrefs.sort() |
104 except (TypeError, ValueError): |
104 except ValueError: |
105 # TypeError: |
105 # binascii.Error (ValueError subclass): |
106 # - bin(...) |
106 # - bin(...) |
107 # ValueError: |
107 # ValueError: |
108 # - node in nm, for non-20-bytes entry |
108 # - node in nm, for non-20-bytes entry |
109 # - split(...), for string without ' ' |
109 # - split(...), for string without ' ' |
110 bookmarkspath = b'.hg/bookmarks' |
110 bookmarkspath = b'.hg/bookmarks' |