##// END OF EJS Templates
getset: check if an object is a baseset using `isascending` instead of `set`...
Pierre-Yves David -
r22884:4584eec9 default
parent child Browse files
Show More
@@ -235,7 +235,7 b' def getset(repo, subset, x):'
235 if not x:
235 if not x:
236 raise error.ParseError(_("missing argument"))
236 raise error.ParseError(_("missing argument"))
237 s = methods[x[0]](repo, subset, *x[1:])
237 s = methods[x[0]](repo, subset, *x[1:])
238 if util.safehasattr(s, 'set'):
238 if util.safehasattr(s, 'isascending'):
239 return s
239 return s
240 return baseset(s)
240 return baseset(s)
241
241
General Comments 0
You need to be logged in to leave comments. Login now