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