src/init/hginit
changeset 165 3606d60b07e5
parent 96 975fb921c3f3
child 168 f9bf8f84df7f
--- a/src/init/hginit	Fri Oct 30 16:55:07 2009 +0000
+++ b/src/init/hginit	Mon Nov 09 12:15:09 2009 +0000
@@ -1,8 +1,10 @@
 #!/bin/sh
 
+# WARNING: this must be run from the hg user's home directory
+
 set -e
 
-cd ~hg
+cp $1/init/dot-mercurial-server .mercurial-server
 mkdir -p repos/hgadmin .ssh
 cd repos/hgadmin
 hg init .