diff .hgrc @ 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 1b4b235482c5
children c94f73838566
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>