summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--hg/init.d/40hg-init4
1 files changed, 2 insertions, 2 deletions
diff --git a/hg/init.d/40hg-init b/hg/init.d/40hg-init
index cf9733b..7d8404a 100644
--- a/hg/init.d/40hg-init
+++ b/hg/init.d/40hg-init
@@ -2,6 +2,6 @@
set -e
if [ ! -e .hg ]; then
hg init
- echo "[web]\n" > .hg/hgrc
- echo "$(hostname) /etc repository" > .hg/hgrc
+ echo "[web]" > .hg/hgrc
+ echo "description = $(hostname) /etc repository" >> .hg/hgrc
fi