##// END OF EJS Templates
tags: read tag info into a sorted dict (rather than into a regular dict)...
Angel Ezquerra -
r21814:5125856a default
parent child Browse files
Show More
@@ -12,6 +12,7 b''
12
12
13 from node import nullid, bin, hex, short
13 from node import nullid, bin, hex, short
14 from i18n import _
14 from i18n import _
15 import util
15 import encoding
16 import encoding
16 import error
17 import error
17 import errno
18 import errno
@@ -81,7 +82,7 b' def _readtags(ui, repo, lines, fn, recod'
81 ids previously associated with it (in file order). All node ids are
82 ids previously associated with it (in file order). All node ids are
82 binary, not hex.'''
83 binary, not hex.'''
83
84
84 filetags = {} # map tag name to (node, hist)
85 filetags = util.sortdict() # map tag name to (node, hist)
85 count = 0
86 count = 0
86
87
87 def warn(msg):
88 def warn(msg):
General Comments 0
You need to be logged in to leave comments. Login now