Mercurial > dotfiles
comparison .hgrc @ 387:cf3b1ba01e69
hg egrep: ensure we're in the repo root before running grep
author | Augie Fackler <raf@durin42.com> |
---|---|
date | Mon, 01 Feb 2016 17:28:25 -0500 |
parents | 40c0bc5ff266 |
children | 2f05f081d9c1 |
comparison
equal
deleted
inserted
replaced
386:40c0bc5ff266 | 387:cf3b1ba01e69 |
---|---|
18 | 18 |
19 [alias] | 19 [alias] |
20 ll=log --graph --style compact --limit 6 -r 'sort((::. or bookmark() or heads(upstream())), "-rev")' | 20 ll=log --graph --style compact --limit 6 -r 'sort((::. or bookmark() or heads(upstream())), "-rev")' |
21 upstream-bookmarks = log -r 'bookmark() and (upstream() or obsolete())' --template '{bookmarks}\n' | 21 upstream-bookmarks = log -r 'bookmark() and (upstream() or obsolete())' --template '{bookmarks}\n' |
22 utip = log -r 'limit(heads(upstream()), 1)' | 22 utip = log -r 'limit(heads(upstream()), 1)' |
23 egrep = !$HG locate -0 '$2' $3 $4 $5 $6 $7 $8 $9 | xargs -0 egrep -H '$1' | 23 egrep = !$HG locate -0 '$2' $3 $4 $5 $6 $7 $8 $9 | (cd $(hg root) ; xargs -0 egrep -H '$1') |
24 crecord = !$HG commit --interactive --config experimental.crecord=yes $@ | 24 crecord = !$HG commit --interactive --config experimental.crecord=yes $@ |
25 | 25 |
26 wc-out = log -r 'ancestors(.) and not upstream()' | 26 wc-out = log -r 'ancestors(.) and not upstream()' |
27 wc-email = email -r 'ancestors(.) and not upstream()' | 27 wc-email = email -r 'ancestors(.) and not upstream()' |
28 havepatch = log -r 'grep("$1")' | 28 havepatch = log -r 'grep("$1")' |