diff install.sh @ 82:6b2c3f14a5c1

Install changes: - Don't use any linking on Windows (requires admin rights). - Reference the global hgignore correctly from hgrc.
author Ludovic Chabant <ludovic@chabant.com>
date Thu, 22 Mar 2012 11:11:16 -0700
parents 2e0fbe44e9fe
children b96ff0dd0137
line wrap: on
line diff
--- a/install.sh	Wed Mar 14 11:34:05 2012 -0700
+++ b/install.sh	Thu Mar 22 11:11:16 2012 -0700
@@ -15,10 +15,8 @@
 # MERCURIAL
 # ---------
 echo %include $CWD/hgrc/hgrc > "$HOME/.hgrc"
+echo [ui] >> "$HOME/.hgrc"
+echo ignore = $CWD/hgrc/hgignore >> "$HOME/.hgrc"
 echo [extensions] >> "$HOME/.hgrc"
 echo hggit = $CWD/lib/hg/hg-git/hggit/ >> "$HOME/.hgrc"
 echo onsub = $CWD/lib/hg/onsub/onsub.py >> "$HOME/.hgrc"
-
-ln -s "$CWD/hgrc/hgignore" "$HOME/.hgignore"
-
-