summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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"