6 t-setup-import examplegit
7 t-tstunt-parsechangelog
10 # rewrite some things, so we test the rewriting code
18 old=$(t-git-get-ref-exact "refs/original/$r")
19 new=$(t-git-get-ref-exact "$r")
20 if [ "$old" = "$new" ]; then return; fi
21 echo >>$tmp/map/map "$old $new"
26 --msg-filter 'sed s/Sid/Spong/' \
27 --tag-name-filter cat \
28 ^archive/test-dummy/2.0 \
38 refs/remotes/dgit/dgit/sid
48 git commit -m 'by test suite'
49 git push $tmp/git/$p.git master:refs/dgit-rewrite/map
54 t-reprepro-cfg ds- downstream
59 dscf=$tmp/mirror/pool/main/example_1.1.dsc
60 t-reprepro-includedsc avon $dscf ds-
67 t-dgit import-dsc $dscf x
70 t-git-config dgit-suite.avon.distro downstream
71 t-git-config dgit-distro.downstream.git-check false
73 t-dgit clone example avon example.avon
76 dscf=$tmp/mirror/pool/main/example_2.1.dsc
77 t-reprepro-includedsc avon $dscf ds-
83 t-ref-same refs/remotes/dgit/dgit/avon
87 t-dgit import-dsc $dscf +x
88 t-ref-same refs/heads/x
89 git show x | grep Spong