mercurial/revset.py
changeset 22451 186fd06283b4
parent 22450 95af98616aa7
child 22481 8488955127b0
equal deleted inserted replaced
22450:95af98616aa7 22451:186fd06283b4
  1909             w = 30 # slower
  1909             w = 30 # slower
  1910         elif f == "contains":
  1910         elif f == "contains":
  1911             w = 100 # very slow
  1911             w = 100 # very slow
  1912         elif f == "ancestor":
  1912         elif f == "ancestor":
  1913             w = 1 * smallbonus
  1913             w = 1 * smallbonus
  1914         elif f in "reverse limit first":
  1914         elif f in "reverse limit first _intlist":
  1915             w = 0
  1915             w = 0
  1916         elif f in "sort":
  1916         elif f in "sort":
  1917             w = 10 # assume most sorts look at changelog
  1917             w = 10 # assume most sorts look at changelog
  1918         else:
  1918         else:
  1919             w = 1
  1919             w = 1