.hg_helpers/hooks/ctags-hook

Sun, 08 May 2016 02:26:05 -0400

author
Meredith Howard <mhoward@roomag.org>
date
Sun, 08 May 2016 02:26:05 -0400
changeset 300
774a66f904a6
parent 199
ecaa41f32b07
permissions
-rwxr-xr-x

support local config and extra accts, store pwd

199
ecaa41f32b07 Add ctags-hook helper
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
1 #!/bin/sh
ecaa41f32b07 Add ctags-hook helper
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
2 # in repo .hg/hgrc:
ecaa41f32b07 Add ctags-hook helper
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
3 # [hooks]
ecaa41f32b07 Add ctags-hook helper
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
4 # changegroup = ~/.hg_helpers/hooks/ctags-hook
ecaa41f32b07 Add ctags-hook helper
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
5 export CTAGS_HOOK=1
ecaa41f32b07 Add ctags-hook helper
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
6 ~/.hg_helpers/ctags </dev/null >/dev/null 2>&1 &

mercurial