User Tools

Site Tools


mercurial

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
mercurial [2017/03/09 07:40]
mihael
mercurial [2017/09/22 10:01] (current)
mihael
Line 4: Line 4:
  
   hg archive -t tar - | tar xf - -O | grep my_search_text   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 ===== ===== Ignore File =====
mercurial.txt ยท Last modified: 2017/09/22 10:01 by mihael