From e7f2c71f7ef491d949700d74a79c7876edd7eece Mon Sep 17 00:00:00 2001 From: Simon Ruderich Date: Mon, 8 Mar 2010 18:22:33 +0100 Subject: [PATCH] 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. --- hgrc.m4 | 2 +- setup.sh | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) 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 -- 2.45.2