comparison .hgrc @ 265:09c0d4ed07f3

hg: new egrep alias
author Augie Fackler <durin42@gmail.com>
date Wed, 02 Nov 2011 09:53:57 -0500
parents a5ec16bba8a9
children 393535e99b8a
comparison
equal deleted inserted replaced
264:b56da15f4444 265:09c0d4ed07f3
21 21
22 [alias] 22 [alias]
23 ll=log --graph --style compact --limit 6 -r 'sort((::. or bookmark() or heads(upstream())), "-rev")' 23 ll=log --graph --style compact --limit 6 -r 'sort((::. or bookmark() or heads(upstream())), "-rev")'
24 upstream-bookmarks = log -r 'bookmark() and upstream()' --template '{bookmarks}\n' 24 upstream-bookmarks = log -r 'bookmark() and upstream()' --template '{bookmarks}\n'
25 utip = log -r 'limit(heads(upstream()), 1)' 25 utip = log -r 'limit(heads(upstream()), 1)'
26 egrep = !$HG locate -0 '$2' $3 $4 $5 $6 $7 $8 $9 | xargs -0 egrep -H '$1'
26 27
27 wc-out = log -r 'ancestors(.) and not upstream()' 28 wc-out = log -r 'ancestors(.) and not upstream()'
28 wc-email = email -r 'ancestors(.) and not upstream()' 29 wc-email = email -r 'ancestors(.) and not upstream()'
29 30
30 [ui] 31 [ui]