#!/bin/bashset -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
t-ok