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