##// END OF EJS Templates
revset: use list instead of tuple for compatibility with python before 2.6...
Thomas Arendsen Hein -
r16452:8a728050 default
parent child Browse files
Show More
@@ -952,8 +952,8 b' def matching(repo, subset, x):'
952 # We may want to match more than one field
952 # We may want to match more than one field
953 # Not all fields take the same amount of time to be matched
953 # Not all fields take the same amount of time to be matched
954 # Sort the selected fields in order of increasing matching cost
954 # Sort the selected fields in order of increasing matching cost
955 fieldorder = ('phase', 'parents', 'user', 'date', 'branch', 'summary',
955 fieldorder = ('phase parents user date branch summary files description'
956 'files', 'description', 'substate',)
956 ' substate').split()
957 def fieldkeyfunc(f):
957 def fieldkeyfunc(f):
958 try:
958 try:
959 return fieldorder.index(f)
959 return fieldorder.index(f)
General Comments 0
You need to be logged in to leave comments. Login now