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