summaryrefslogtreecommitdiff
path: root/commit.d/30hg-addremove
blob: 1b999bbb1715bfaa862eae870db8ea15be3140a0 (plain)
1
2
3
4
5
6
7
8
#!/bin/sh
set -e

if [ "$VCS" = hg ] && [ -d .hg ]; then
	if ! hg addremove .; then
		echo "etckeeper warning: hg addremove failed" >&2
	fi
fi