#!/bin/bash
set -e
autoimport=
. tests/lib
. $troot/lib-gdr

t-dependencies GDR

t-tstunt-parsechangelog

t-gdr-gbp-import-core

git checkout master

git tag -m synthetic debian/1.0-1

t-git-debrebase -fupstream-has-debian -funused-patches convert-from-gbp \
  2>&1 | tee ../convert-msg

grep -e 'dgit --overwrite will be needed' ../convert-msg >/dev/null

t-ok
