Mercurial

Find text in Repository

hg archive -t tar - | tar xf - -O | grep my_search_text

Find text in Multiple Repositories

find . -type d -name .hg -prune -exec dirname "{}" ";" | while read repo; do echo "REPO: $repo"; hg -R $repo archive -r tip -t tar - | tar xf - -O |grep -i searched_keyword ; done | more

Ignore File

.hgignore:

  syntax: glob
  target
  bin
  .classpath
  .project
  .settings
  build.properties