# HG changeset patch # User Meredith Howard # Date 1441588823 14400 # Node ID ecaa41f32b07ad2fc1dfb3c5cdc028dcba99a042 # Parent a4b45bcb4ba9b9f6f9cd5699fee5032f469170ea Add ctags-hook helper diff --git a/.hg_helpers/hooks/ctags-hook b/.hg_helpers/hooks/ctags-hook new file mode 100755 --- /dev/null +++ b/.hg_helpers/hooks/ctags-hook @@ -0,0 +1,6 @@ +#!/bin/sh +# in repo .hg/hgrc: +# [hooks] +# changegroup = ~/.hg_helpers/hooks/ctags-hook +export CTAGS_HOOK=1 +~/.hg_helpers/ctags /dev/null 2>&1 &