From 8ad9330c37b5e11eefecc243cb8890fcab4e076a Mon Sep 17 00:00:00 2001 From: Mathieu Clabaut Date: Fri, 21 Dec 2007 15:47:30 -0600 Subject: hg-pre-commit-hook: typo when touching file --- hg/init.d/50hg-pre-commit-hook | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'hg') 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 <