changeset 473:1ed4d4c449a6

Add global hgignore.
author edogawaconan <me@myconan.net>
date Sun, 14 Jul 2013 02:05:55 +0900
parents 4322b0a8a695
children 8c637534d6cd
files rc/hgignore_global rc/hgrc setup
diffstat 3 files changed, 12 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/rc/hgignore_global	Sun Jul 14 02:05:55 2013 +0900
@@ -0,0 +1,8 @@
+syntax: glob
+
+# rubinius
+.rbx/
+
+# vim
+*.s[a-w][a-z]
+*~
--- a/rc/hgrc	Sun Jul 14 02:04:45 2013 +0900
+++ b/rc/hgrc	Sun Jul 14 02:05:55 2013 +0900
@@ -3,6 +3,8 @@
 merge = vimdiff
 verbose = true
 style = compact
+ignore = ~/.hgignore_global
+ignore.local = ~/.hgignore_global.local
 
 [merge-tools]
 vimdiff.executable = vim
--- a/setup	Sun Jul 14 02:04:45 2013 +0900
+++ b/setup	Sun Jul 14 02:05:55 2013 +0900
@@ -132,6 +132,8 @@
     _rc "${1}" "gitconfig" ".gitconfig"
     _rc "${1}" "gitignore_global" ".gitignore_global"
     _rc "${1}" "hgrc" ".hgrc"
+    _rc "${1}" "hgignore_global" ".hgignore_global"
+    touch "${HOME}/.hgignore_global.local"
     _rc "${1}" "inputrc" ".inputrc"
     _rc "${1}" "tmux.conf" ".tmux.conf"
     _rc "${1}" "vim-solarized" ".vim/colors/solarized.vim"