Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
not-gdr-processable () {
t-expect-fail F:'Cannot cope with this commit' \
t-git-debrebase
not-gdr-processable () {
t-expect-fail F:'Cannot cope with this commit' \
t-git-debrebase
+dch -v 2.0-1 -m 'new upstream (did gbp import-orig)'
+dch -r sid
+git commit -m changelog debian/changelog
+
+t-archive-none $p
+t-git-none
+t-dgit -wgf --gbp push-source --new
+
+t-salsa-add-remote
+git push --set-upstream origin master
+
+# OK now this looks like something more normal.
+# We have:
+# maintainer (gbp) view dgit view
+# master
+# debian/2.0-1 archive/debian/2.0-1
+# remotes/origin/master remotes/dgit/dgit/sid
+
t-git-debrebase -fupstream-has-debian gbp2debrebase
t-git-debrebase -fupstream-has-debian gbp2debrebase
+dch -v 2.0-2 -m 'switch to git-debrebase, no other changes'
+dch -r sid
+git commit -m changelog debian/changelog
+
+t-dgit -wgf push-source --new --overwrite
+git push
+