summaryrefslogtreecommitdiff
path: root/tests/unapplied-pq2qc
diff options
context:
space:
mode:
Diffstat (limited to 'tests/unapplied-pq2qc')
-rwxr-xr-xtests/unapplied-pq2qc23
1 files changed, 0 insertions, 23 deletions
diff --git a/tests/unapplied-pq2qc b/tests/unapplied-pq2qc
deleted file mode 100755
index 03b2cdf..0000000
--- a/tests/unapplied-pq2qc
+++ /dev/null
@@ -1,23 +0,0 @@
-#!/bin/bash
-set -e
-fail () { echo >&2 "$0: $*"; exit 1; }
-
-# does `gbp pq export' (leaving us on BRANCH (eg "quilt-tip"))
-# commits the resulting debian/patches on qc/BRANCH
-# goes back to patch-queue/BRANCH
-# qc/BRANCH is not fast-forwarding
-
-gbp pq export
-
-branch=`git symbolic-ref HEAD`
-branch=${branch#refs/heads/}
-
-case "$branch" in
-*/*) fail "unexpected branch $branch" ;;
-esac
-
-git branch -f qc/$branch
-git checkout qc/$branch
-git add debian/patches
-git commit -m 'Commit patch queue'
-git checkout patch-queue/$branch