revset: use list instead of tuple for compatibility with python before 2.6
'string elements'.split() instead of explicitly typing a list of strings is
used. This is done in other parts of Mercurial code, too.
--- a/mercurial/revset.py Mon Apr 16 16:50:25 2012 -0500
+++ b/mercurial/revset.py Tue Apr 17 15:10:33 2012 +0200
@@ -952,8 +952,8 @@
# We may want to match more than one field
# Not all fields take the same amount of time to be matched
# Sort the selected fields in order of increasing matching cost
- fieldorder = ('phase', 'parents', 'user', 'date', 'branch', 'summary',
- 'files', 'description', 'substate',)
+ fieldorder = ('phase parents user date branch summary files description'
+ ' substate').split()
def fieldkeyfunc(f):
try:
return fieldorder.index(f)