summaryrefslogtreecommitdiff
path: root/tests/tests/overwrite-junk
blob: 89070c41adf80ebf25ab16ed005c5729922b4778 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#!/bin/bash
set -e
. tests/lib

t-setup-import examplegit

cd example

suite=stable

t-commit 'No changes, just send to stable' '' stable

t-dgit -wgf build

(
 : "make a bit of a wrongness, which we still want to be able to overwrite"
 cd $tmp/git/$p.git; git tag -f test-dummy/1.2 test-dummy/1.1
)

t-dgit push --overwrite=1.2 stable

echo ok.