mercurial/debugcommands.py
changeset 33336 4672db164c98
parent 33274 68f3e819d41d
child 33438 8056481caa81
equal deleted inserted replaced
33335:72f051f9a7d8 33336:4672db164c98
  1958 
  1958 
  1959     Use --verify-optimized to compare the optimized result with the unoptimized
  1959     Use --verify-optimized to compare the optimized result with the unoptimized
  1960     one. Returns 1 if the optimized result differs.
  1960     one. Returns 1 if the optimized result differs.
  1961     """
  1961     """
  1962     opts = pycompat.byteskwargs(opts)
  1962     opts = pycompat.byteskwargs(opts)
       
  1963     aliases = ui.configitems('revsetalias')
  1963     stages = [
  1964     stages = [
  1964         ('parsed', lambda tree: tree),
  1965         ('parsed', lambda tree: tree),
  1965         ('expanded', lambda tree: revsetlang.expandaliases(ui, tree)),
  1966         ('expanded', lambda tree: revsetlang.expandaliases(tree, aliases,
       
  1967                                                            ui.warn)),
  1966         ('concatenated', revsetlang.foldconcat),
  1968         ('concatenated', revsetlang.foldconcat),
  1967         ('analyzed', revsetlang.analyze),
  1969         ('analyzed', revsetlang.analyze),
  1968         ('optimized', revsetlang.optimize),
  1970         ('optimized', revsetlang.optimize),
  1969     ]
  1971     ]
  1970     if opts['no_optimized']:
  1972     if opts['no_optimized']: