summaryrefslogtreecommitdiff
path: root/tests/tests/overwrite-version
blob: ac76f4034c5b5192e4f399a660784acf82a58ddb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!/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

t-expect-fail 'HEAD is not a descendant' \
t-dgit push stable

t-dgit push --overwrite=1.2 stable