From: Simon Ruderich Date: Mon, 8 Mar 2010 17:22:33 +0000 (+0100) Subject: hgrc: Don't create ~/.hgignore. X-Git-Url: https://ruderich.org/simon/gitweb/?a=commitdiff_plain;h=e7f2c71f7ef491d949700d74a79c7876edd7eece;p=config%2Fdotfiles.git hgrc: Don't create ~/.hgignore. 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. --- diff --git a/hgrc.m4 b/hgrc.m4 index 9bfbb1a..e3ef39c 100644 --- a/hgrc.m4 +++ b/hgrc.m4 @@ -6,7 +6,7 @@ include(../lib.m4) [ui] username = Simon Ruderich -ignore = ~/.hgignore +ignore = HGIGNORE # Use Apple's FileMerge for merge conflicts. merge = opendiff-merge diff --git a/setup.sh b/setup.sh index d13b36f..09c2fa6 100755 --- 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