7 t-setup-import baredebian
8 t-tstunt-parsechangelog
12 t-expect-fail 'contradicts clean mode git-ff' \
13 t-dgit -wgf --dgit-view-save=split.f1 --baredebian quilt-fixup
15 t-dgit -wn --dgit-view-save=split.f1 --baredebian quilt-fixup
20 tar --strip-components=1 -axf ../${p}_${v%-*}.orig.tar.*
24 git checkout HEAD -- .
27 # Now we are in this insane state that people seem to expect
29 export QUILT_PATCHES=debian/patches
34 git diff --cached --exit-code split.f1 -- :/ :!/debian
35 git diff --exit-code HEAD..split.f1 -- :/debian
38 quilt new made-with-quilt
43 git add debian/patches/.
44 t-commit 'extra patch made with quilt' 1.0-2
46 dpkg-buildpackage -uc -us --build=source
47 # ^ Do this by hand here not because we expect users to do this
48 # (rather than dgit build), but so that we can check that our
49 # output is the same as users are used to.
51 t-dgit -wn --quilt=baredebian --dgit-view-save=split.b quilt-fixup
52 t-dgit -wn --quilt=baredebian --dgit-view-save=split.p --new push
54 git merge-base --is-ancestor v${v%-*} split.p
55 git merge-base --is-ancestor HEAD split.p
56 set +e; git merge-base HEAD v${v%-*}; rc=$?; set -e; [ $rc = 1 ]
59 # t-pushed-good-* wants a clean tree to start with, but this
60 # workflow expects a mess
62 t-splitbrain-pushed-good-start
63 t-splitbrain-pushed-good--unpack
65 find . -mindepth 1 -maxdepth 1 \
71 t-splitbrain-pushed-good-end-made-dep14