comparison .hgrc @ 513:ad9ca178e094

hg: add crevert alias for curses-revert
author Augie Fackler <raf@durin42.com>
date Thu, 03 Jun 2021 14:25:21 -0400
parents 0fffee666bc7
children
comparison
equal deleted inserted replaced
512:ea947b2b04a0 513:ad9ca178e094
21 [alias] 21 [alias]
22 upstream-bookmarks = log -r 'bookmark() and (upstream() or obsolete())' --template '{bookmarks}\n' 22 upstream-bookmarks = log -r 'bookmark() and (upstream() or obsolete())' --template '{bookmarks}\n'
23 utip = log -r 'limit(heads(upstream()), 1)' 23 utip = log -r 'limit(heads(upstream()), 1)'
24 egrep = !$HG locate -0 '$2' $3 $4 $5 $6 $7 $8 $9 | (cd $(hg root) ; xargs -0 egrep -H '$1') 24 egrep = !$HG locate -0 '$2' $3 $4 $5 $6 $7 $8 $9 | (cd $(hg root) ; xargs -0 egrep -H '$1')
25 crecord = !$HG commit --interactive --config ui.interface=curses $@ 25 crecord = !$HG commit --interactive --config ui.interface=curses $@
26 crevert = !$HG revert --interactive --config ui.interface=curses $@
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 havepatch = log -r 'grep("$1")' 30 havepatch = log -r 'grep("$1")'
30 31