diff options
Diffstat (limited to 'hg')
-rw-r--r-- | hg/init.d/50hg-pre-commit-hook | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hg/init.d/50hg-pre-commit-hook b/hg/init.d/50hg-pre-commit-hook index 0603d30..bccd79b 100644 --- a/hg/init.d/50hg-pre-commit-hook +++ b/hg/init.d/50hg-pre-commit-hook @@ -3,7 +3,7 @@ set -e if [ -e .hg/hgrc ] && grep "^\[hooks\]" .hg/hgrc; then echo "etckeeper warning: [hooks] section in .hg/hgrc needs to be manually modified to run: etckeeper pre-commit `pwd`" >&2 else - touch + touch .hg/hgrc cat >>.hg/hgrc <<EOF [hooks] # pre-commit hook for etckeeper, to store metadata and do sanity checks |