summaryrefslogtreecommitdiff
path: root/hg/pre-commit.d/20store-empty-directory
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
commit83d1b75cabbd594019ea6fb0395c4d27e38d8aa3 (patch)
tree3b2ca170a4b6ce3fb06b241130cbbf1c19f63135 /hg/pre-commit.d/20store-empty-directory
parentc65ad8cba4ebf8eb7625b4e0801a6c68125384ac (diff)
pre-commit.d : Translation into mercurial idiom
Diffstat (limited to 'hg/pre-commit.d/20store-empty-directory')
-rw-r--r--hg/pre-commit.d/20store-empty-directory2
1 files changed, 1 insertions, 1 deletions
diff --git a/hg/pre-commit.d/20store-empty-directory b/hg/pre-commit.d/20store-empty-directory
index e0f9538..2f127dd 100644
--- a/hg/pre-commit.d/20store-empty-directory
+++ b/hg/pre-commit.d/20store-empty-directory
@@ -13,7 +13,7 @@ find -type d -empty | grep -v /.git/ | sort |
if [ ! -e .etckeeper ] || ! cmp -s .etckeeper .etckeeper.new ; then
mv -f .etckeeper.new .etckeeper
- git add .etckeeper
+ hg add .etckeeper
else
rm -f .etckeeper.new
fi