6 t-prep-newpackage example 1.0
11 echo FORBIDDEN >debian/some-file
12 git add debian/some-file
13 git commit -m 'Commit a forbidden thing'
15 bad=`git rev-parse HEAD:debian/some-file`
16 t-policy-admin taint --global "$bad" "forbidden for testing"
19 t-expect-fail 'forbidden for testing' \
22 git reset --hard HEAD~
23 git commit --allow-empty -m 'will vanish from NEW'
29 # pretend it vanished from new:
31 t-archive-none example
32 touch -d 'last year' $tmp/git/$p.git
36 git commit --allow-empty -m 'should require --deliberately...questionable'
39 t-expect-fail 'tag debian/1.0 referred to this object.*all previously pushed versions were found to have been removed' \
42 t-dgit push --new --deliberately-include-questionable-history