blob: 3efd063d408fac83f685809aa3209156e1ca9c18 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
|
#!/bin/bash
set -e
. tests/lib
t-dependencies git-buildpackage libfile-fnmatch-perl
t-setup-import gbp2gdr
cd $p
v=2.0-3
t-dch-commit -v $v -m testing
t-git-debrebase analyse |tee ../anal.1
cat ../anal.1
echo >>debian/zorkmid '// debian'
git add debian/zorkmid
git commit -m 'DEBIAN add zorkmid'
echo >>src.c '// upstream'
git commit -a -m 'UPSTREAM edit src.c'
for f in debian/zorkmid src.c; do
echo '// both!' >>$f
git add $f
done
git commit -m 'MIXED add boths'
t-dch-commit -r sid
git tag t.before
t-git-debrebase
git diff t.before -- ':.' ':!debian/patches'
t-gdr-branch-structure laundered
t-git-debrebase stitch --prose=wombat
t-gdr-branch-structure stitched
t-dgit push-source
t-gdr-branch-structure pushed
: todo 'more tests: convert dgit import new upstream version'
: todo 'more tests: convert dgit import same upstream version'
: todo 'more tests: other maint updated, we must fetch'
: todo 'more tests: other maint updated, alert divergence'
: todo 'more tests: nmu divergence'
t-ok
|