changeset 40:92926116c4dd

Added link to global hgignore.
author Ludovic Chabant <ludovic@chabant.com>
date Tue, 22 Nov 2011 16:18:49 -0800
parents c0db5cb58fe1
children b5f45325f37a
files install.cmd install.sh
diffstat 2 files changed, 6 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/install.cmd	Tue Nov 22 16:18:32 2011 -0800
+++ b/install.cmd	Tue Nov 22 16:18:49 2011 -0800
@@ -10,3 +10,6 @@
 echo [extensions] >> "%userprofile%\mercurial.ini"
 echo hggit = %CWD:\=/%lib/hg/hg-git/hggit/ >> "%userprofile%\mercurial.ini"
 echo onsub = %CWD:\=/%lib/hg/onsub/onsub.py >> "%userprofile%\mercurial.ini"
+
+mklink    "%userprofile%\mercurial_ignore" "%CWD%hgrc\hgignore"
+
--- a/install.sh	Tue Nov 22 16:18:32 2011 -0800
+++ b/install.sh	Tue Nov 22 16:18:49 2011 -0800
@@ -9,3 +9,6 @@
 echo [extensions] >> "$HOME/.hgrc"
 echo hggit = $CWD/lib/hg/hg-git/hggit/ >> "$HOME/.hgrc"
 echo onsub = $CWD/lib/hg/onsub/onsub.py >> "%userprofile%\mercurial.ini"
+
+ln -s "$CWD/hgrc/hgignore" "$HOME/.hgignore"
+