Differences
This shows you the differences between two versions of the page.
mercurial [2017/03/09 08:40] |
mercurial [2021/04/05 11:23] (current) |
||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ====== 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 " | ||
+ | |||
+ | ===== Ignore File ===== | ||
+ | |||
+ | .hgignore: | ||
+ | |||
+ | syntax: glob | ||
+ | target | ||
+ | bin | ||
+ | .classpath | ||
+ | .project | ||
+ | .settings | ||
+ | build.properties | ||
+ | |||
+ | {{tag> |