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