PageRenderTime 121ms CodeModel.GetById 118ms app.highlight 1ms RepoModel.GetById 1ms app.codeStats 0ms

/etckeeper/commit.d/30hg-addremove

http://github.com/brinkman83/bashrc
Shell | 8 lines | 6 code | 1 blank | 1 comment | 3 complexity | 60685e94ac4b502178167c1075359cdc MD5 | raw file
1#!/bin/sh
2set -e
3
4if [ "$VCS" = hg ] && [ -d .hg ]; then
5	if ! hg addremove .; then
6		echo "etckeeper warning: hg addremove failed" >&2
7	fi
8fi