Debut intégration HG
authorMathieu Clabaut <mathieu.clabaut@gmail.com>
Fri, 21 Dec 2007 21:47:30 +0000 (15:47 -0600)
committerJoey Hess <joey@kodama.kitenet.net>
Fri, 4 Jan 2008 00:53:46 +0000 (19:53 -0500)
etckeeper
etckeeper.conf

index dfd44bb89de7307753e46cffab184ad19358c450..9baa7b67d7341407a6749d4905ff6d8cdd50360a 100755 (executable)
--- a/etckeeper
+++ b/etckeeper
@@ -8,6 +8,9 @@ fi
 if [ ! -z "$GIT_COMMIT_OPTIONS" ]; then
        export GIT_COMMIT_OPTIONS
 fi
+if [ ! -z "$HG_COMMIT_OPTIONS" ]; then
+       export HG_COMMIT_OPTIONS
+fi
 
 if [ -z "$1" ]; then
        echo "usage: etckeeper command [directory]" >&2
index 74bb34abac61c87ba0bdc96ecb939d1c6ad5d195..753952d6ba00342a3891d735180835641c2f0908 100644 (file)
@@ -1,4 +1,6 @@
 # Options passed to git commit when run by etckeeper.
 # You could for exemple use "-e" if you want to edit all commit messages
 # before committing.
+# VCS="HG"
 #GIT_COMMIT_OPTIONS="-e"
+#HG_COMMIT_OPTIONS="-e"