summaryrefslogtreecommitdiff
path: root/commit.d/40bzr-rm
blob: a13bfd7bd4769ba8c70b9484f83c5146abb4e458 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#!/bin/sh
set -e

TAB="	"

if [ "$VCS" = bzr ] && [ -d .bzr ]; then
	for file in $(bzr deleted); do
		if [ ! -d "$file" ]; then 
			bzr rm --keep --quiet "$file"
		fi
	done
fi