File: 30hg-addremove

package info (click to toggle)
etckeeper 1.18.23-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 1,640 kB
  • sloc: sh: 1,267; python: 111; makefile: 109; ansic: 81
file content (8 lines) | stat: -rwxr-xr-x 143 bytes parent folder | download | duplicates (10)
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