summaryrefslogtreecommitdiff
path: root/tests/tests/overwrite-junk
blob: e11d1f828ce78ffb22b80f52f76aa72ada54734b (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 $tagpfx/1.2 $tagpfx/1.1
)

t-dgit push --overwrite=1.2 stable

t-ok