changeset 342:f95ae07fb55a

hgrc: add havepatch alias for looking for a patch matching a string
author Augie Fackler <raf@durin42.com>
date Mon, 01 Sep 2014 13:02:29 -0400
parents 0a593d2c0595
children 70e76c545606
files .hgrc
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/.hgrc
+++ b/.hgrc
@@ -26,6 +26,7 @@ egrep = !$HG locate -0 '$2' $3 $4 $5 $6 
 
 wc-out = log -r 'ancestors(.) and not upstream()'
 wc-email = email -r 'ancestors(.) and not upstream()'
+havepatch = log -r 'grep("$1")'
 
 [ui]
 username = Augie Fackler <raf@durin42.com>