chiark / gitweb /
test suite: gdr-convert-gbp: Break the start out into lib-gdr
[dgit.git] / tests / setup / gdr-convert-gbp
index b563c01671358df3fd02446d60abde63e771c9ac..3b555e583d5bc9463d3260fa6de55140a93e0b38 100755 (executable)
@@ -15,28 +15,7 @@ not-gdr-processable () {
        t-git-debrebase analyse | grep 'Unknown Unprocessable'
 }
 
-p=example
-t-worktree 1.1
-
-cd example
-
-: 'fake up some kind of upstream'
-git checkout -b upstream quilt-tip
-rm -rf debian
-mkdir debian
-echo junk >debian/rules
-git add debian
-git commit -m "an upstream retcon ($0)"
-
-: 'fake up that our quilt-tip was descended from upstream'
-git checkout quilt-tip
-git merge --no-edit -s ours upstream
-
-: 'fake up that our quilt-tip had the patch queue in it'
-git checkout patch-queue/quilt-tip
-gbp pq export
-git add debian/patches
-git commit -m "patch queue update ($0)"
+t-gdr-gbp-import-core
 
 not-gdr-processable origin
 
@@ -44,10 +23,6 @@ not-gdr-processable origin
 git branch make-upstream upstream
 t-make-new-upstream-tarball 2.0
 
-: 'make branch names more conventional'
-git branch -D master
-git branch -m quilt-tip master
-
 for b in \
                quilt-tip-2             \
                gitish-only             \