Skip to content
  • Yuya Nishihara's avatar
    grep: move match and diff logic to new module · de6f2afc0247
    Yuya Nishihara authored
    commands.grep() has lots of functions and classes. Let's split it into
    reusable components so we can leverage them to implement a revset predicate
    for 'hg grep --diff'. I want to do 'hg log -r "diff(pattern)"'.
    de6f2afc0247