]> ruderich.org/simon Gitweb - config/dotfiles.git/commitdiff
hgrc: Don't create ~/.hgignore.
authorSimon Ruderich <simon@ruderich.org>
Mon, 8 Mar 2010 17:22:33 +0000 (18:22 +0100)
committerSimon Ruderich <simon@ruderich.org>
Mon, 8 Mar 2010 17:22:33 +0000 (18:22 +0100)
Instead just use the file in here and update hgrc to use it. Also update
setup.sh.

The reduces the pollution of my home directory.

hgrc.m4
setup.sh

diff --git a/hgrc.m4 b/hgrc.m4
index 9bfbb1a569af1ba4ee3ac05fbf7b737e87eda02d..e3ef39c1c2db75121b8b43278c109b3171b28386 100644 (file)
--- a/hgrc.m4
+++ b/hgrc.m4
@@ -6,7 +6,7 @@ include(../lib.m4)
 
 [ui]
 username = Simon Ruderich <simon@ruderich.org>
-ignore = ~/.hgignore
+ignore = HGIGNORE
 # Use Apple's FileMerge for merge conflicts.
 merge = opendiff-merge
 
index d13b36fa27cc468efd33ae23ec851816a1b9053c..09c2fa6fcc88bd13af03ba1d26479dba2af78ac2 100755 (executable)
--- a/setup.sh
+++ b/setup.sh
@@ -15,7 +15,6 @@ if installed tig; then
 fi
 
 if installed hg; then
-    generate m4 hgrc -DOS=`os`
+    generate m4 hgrc -DHGIGNORE=`pwd`/hgignore -DOS=`os`
     link hgrc ~/.hgrc
-    link hgignore ~/.hgignore
 fi