mercurial/revset.py
changeset 23162 69524a05a7fa
parent 23139 e53f6b72a0e4
child 23163 6f1b8b3f12fd
equal deleted inserted replaced
23161:6f31f46b8544 23162:69524a05a7fa
   263     if x in symbols:
   263     if x in symbols:
   264         raise error.ParseError(_("can't use %s here") % x)
   264         raise error.ParseError(_("can't use %s here") % x)
   265     return stringset(repo, subset, x)
   265     return stringset(repo, subset, x)
   266 
   266 
   267 def rangeset(repo, subset, x, y):
   267 def rangeset(repo, subset, x, y):
   268     cl = baseset(repo.changelog)
   268     m = getset(repo, fullreposet(repo), x)
   269     m = getset(repo, cl, x)
   269     n = getset(repo, fullreposet(repo), y)
   270     n = getset(repo, cl, y)
       
   271 
   270 
   272     if not m or not n:
   271     if not m or not n:
   273         return baseset()
   272         return baseset()
   274     m, n = m.first(), n.last()
   273     m, n = m.first(), n.last()
   275 
   274