5 t-tstunt-parsechangelog
13 : '----- construct an unpatched branch with patches -----'
15 git checkout patch-queue/quilt-tip
18 git add debian/patches
19 git commit -m 'Commit patch queue'
21 : '----- construct an upstream branch -----'
23 git checkout --orphan upstream
27 tar --strip-components=1 -xf $troot/pkg-srcs/${p}_1.0.orig.tar.gz
31 tar --strip-components=1 -xf $troot/pkg-srcs/${p}_1.0.orig-docs.tar.gz
35 git commit -m 'Import 1.0'
38 git checkout quilt-tip
39 t-git-pseudo-merge upstream
43 : '----- let gbp build a .orig for comparison -----'
45 gbp buildpackage --git-ignore-branch --git-no-sign-tags -us -uc
48 mv ../*1.0* ../gbp-output/.
51 : '----- now do it ourselves -----'
53 t-dgit -wgf --dgit-view-save=split.b gbp-build --git-ignore-branch
55 t-dgit -wgf --quilt=gbp clean # gbp leaves dirty trees :-/
57 t-dgit -wgf --dgit-view-save=split.p --quilt=gbp push --new
61 : '----- check .origs are the same -----'
63 # if gbp weren't weird about .gitignore we could just debdiff the .dscs
65 for d in . gbp-output; do
69 tar zxf ../${p}_${v%-*}.orig.tar.gz
73 diff -ruN gbp-output/tar-x tar-x