summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMathieu Clabaut <mathieu.clabaut@gmail.com>2007-12-21 15:47:30 -0600
committerJoey Hess <joey@kodama.kitenet.net>2008-01-03 19:53:46 -0500
commit631af60701ca747861d67a19d431005c7d45d6be (patch)
tree871b60c73841644f8fd6653d905d3aaec201d458
parent9ea07a1d87689df106d4fe1b0e76237aeea32630 (diff)
Debut intégration HG
-rwxr-xr-xetckeeper3
-rw-r--r--etckeeper.conf2
2 files changed, 5 insertions, 0 deletions
diff --git a/etckeeper b/etckeeper
index dfd44bb..9baa7b6 100755
--- 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
diff --git a/etckeeper.conf b/etckeeper.conf
index 74bb34a..753952d 100644
--- a/etckeeper.conf
+++ b/etckeeper.conf
@@ -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"