blob: 88f6178ce75f76a11798637e0f2f4756858e1707 (
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
|
#!/bin/bash
set -e
. tests/lib
suitespecs+=' stable testing'
t-tstunt-parsechangelog
t-prep-newpackage example 1.0
cd $p
revision=1
push-to () {
t-refs-same-start
t-ref-head
t-dgit build
t-dgit push --new $2
t-pushed-good $1 $2
t-archive-process-incoming $2
}
echo ancestor >which
git add which
t-commit Ancestor '' stable
push-to master stable
git checkout -b stable
echo stable >which
git add which
t-commit Stable '' stable
push-to stable stable
git checkout master
majorv=2
revision=0
echo sid >which
git add which
t-commit Sid
push-to master sid
echo sid-again >>which
git add which
t-commit Sid
push-to master sid
git clean -xdff
t-setup-done 'p v suitespecs majorv revision' "aq git mirror $p"
|