t-dgit push
t-rm-dput-dropping
-git checkout test-dummy/1.0
+git checkout $tagpfx/1.0
t-dgit build
t-dgit push --deliberately-fresh-repo
t-expect-push-fail 'Replay of previously-rewound upload' \
git push "$remote" \
- test-dummy/1.1 \
- test-dummy/1.1~0:refs/dgit/sid
+ $tagpfx/1.1 \
+ $tagpfx/1.1~0:refs/dgit/sid
git checkout master
attempt-replay () {
local mpat=$1
- git show test-dummy/$replayv | grep -e $delib
+ git show $tagpfx/$replayv | grep -e $delib
t-expect-push-fail "$mpat" \
git push "$remote" \
- test-dummy/$replayv \
- +test-dummy/$replayv~0:refs/dgit/sid
+ $tagpfx/$replayv \
+ +$tagpfx/$replayv~0:refs/dgit/sid
}
prepare-replay --deliberately-fresh-repo
t-dgit build
t-dgit push
-attempt-replay "does not declare previously tags/test-dummy/$v"
+attempt-replay "does not declare previously tags/$tagpfx/$v"
echo ok.