comparison 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
comparison
equal deleted inserted replaced
81:2e0fbe44e9fe 82:6b2c3f14a5c1
13 ln -s "$CWD/vim/vimrc" "$HOME/.vimrc" 13 ln -s "$CWD/vim/vimrc" "$HOME/.vimrc"
14 14
15 # MERCURIAL 15 # MERCURIAL
16 # --------- 16 # ---------
17 echo %include $CWD/hgrc/hgrc > "$HOME/.hgrc" 17 echo %include $CWD/hgrc/hgrc > "$HOME/.hgrc"
18 echo [ui] >> "$HOME/.hgrc"
19 echo ignore = $CWD/hgrc/hgignore >> "$HOME/.hgrc"
18 echo [extensions] >> "$HOME/.hgrc" 20 echo [extensions] >> "$HOME/.hgrc"
19 echo hggit = $CWD/lib/hg/hg-git/hggit/ >> "$HOME/.hgrc" 21 echo hggit = $CWD/lib/hg/hg-git/hggit/ >> "$HOME/.hgrc"
20 echo onsub = $CWD/lib/hg/onsub/onsub.py >> "$HOME/.hgrc" 22 echo onsub = $CWD/lib/hg/onsub/onsub.py >> "$HOME/.hgrc"
21
22 ln -s "$CWD/hgrc/hgignore" "$HOME/.hgignore"
23
24