#!/bin/bash
set -e
+autoimport=
. tests/lib
. $troot/lib-gdr
+$ifarchive t-setup-import gnupg
+
t-dependencies GDR
t-tstunt-parsechangelog
not-gdr-processable
t-dch-commit -v 2.0-1 -m 'new upstream (did gbp import-orig)'
-t-dch-commit -r sid
+t-dch-commit-r
$ifarchive t-archive-none $p
$ifarchive t-git-none
v=2.0-2
t-dch-commit -v $v -m 'switch to git-debrebase, no other changes'
-t-dch-commit -r sid
+t-dch-commit-r
-$ifarchive t-dgit -wgf push-source --new --overwrite
+$ifarchive t-dgit -wgf push-source --new
git push
cd ..
p=example
t-git-next-date
'
-
-t-ok