3 dc5351b4 2019-07-30 stsp # Copyright (c) 2019 Stefan Sperling <stsp@openbsd.org>
5 dc5351b4 2019-07-30 stsp # Permission to use, copy, modify, and distribute this software for any
6 dc5351b4 2019-07-30 stsp # purpose with or without fee is hereby granted, provided that the above
7 dc5351b4 2019-07-30 stsp # copyright notice and this permission notice appear in all copies.
9 dc5351b4 2019-07-30 stsp # THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
10 dc5351b4 2019-07-30 stsp # WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
11 dc5351b4 2019-07-30 stsp # MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
12 dc5351b4 2019-07-30 stsp # ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
13 dc5351b4 2019-07-30 stsp # WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
14 dc5351b4 2019-07-30 stsp # ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
15 dc5351b4 2019-07-30 stsp # OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
17 dc5351b4 2019-07-30 stsp . ./common.sh
19 dc5351b4 2019-07-30 stsp function test_branch_create {
20 dc5351b4 2019-07-30 stsp local testroot=`test_init branch_create`
22 dc5351b4 2019-07-30 stsp # Create a branch based on repository's HEAD reference
23 dc5351b4 2019-07-30 stsp got branch -r $testroot/repo newbranch
25 dc5351b4 2019-07-30 stsp if [ "$ret" != "0" ]; then
26 dc5351b4 2019-07-30 stsp echo "got branch command failed unexpectedly"
27 dc5351b4 2019-07-30 stsp test_done "$testroot" "$ret"
31 dc5351b4 2019-07-30 stsp # Ensure that Git recognizes the branch Got has created
32 dc5351b4 2019-07-30 stsp (cd $testroot/repo && git checkout -q newbranch)
34 dc5351b4 2019-07-30 stsp if [ "$ret" != "0" ]; then
35 dc5351b4 2019-07-30 stsp echo "git checkout command failed unexpectedly"
36 dc5351b4 2019-07-30 stsp test_done "$testroot" "$ret"
39 dc5351b4 2019-07-30 stsp echo "modified delta on branch" > $testroot/repo/gamma/delta
40 dc5351b4 2019-07-30 stsp git_commit $testroot/repo -m "committing to delta on newbranch"
42 dc5351b4 2019-07-30 stsp got checkout -b newbranch $testroot/repo $testroot/wt >/dev/null
44 dc5351b4 2019-07-30 stsp if [ "$ret" != "0" ]; then
45 dc5351b4 2019-07-30 stsp echo "got checkout command failed unexpectedly"
46 dc5351b4 2019-07-30 stsp test_done "$testroot" "$ret"
50 dc5351b4 2019-07-30 stsp echo "modified delta on branch" > $testroot/content.expected
51 dc5351b4 2019-07-30 stsp cat $testroot/wt/gamma/delta > $testroot/content
52 dc5351b4 2019-07-30 stsp cmp -s $testroot/content.expected $testroot/content
54 dc5351b4 2019-07-30 stsp if [ "$ret" != "0" ]; then
55 dc5351b4 2019-07-30 stsp diff -u $testroot/content.expected $testroot/content
56 dc5351b4 2019-07-30 stsp test_done "$testroot" "$ret"
60 dc5351b4 2019-07-30 stsp # Create a branch based on the work tree's branch
61 dc5351b4 2019-07-30 stsp (cd $testroot/wt && got branch anotherbranch)
63 dc5351b4 2019-07-30 stsp if [ "$ret" != "0" ]; then
64 dc5351b4 2019-07-30 stsp test_done "$testroot" "$ret"
68 dc5351b4 2019-07-30 stsp (cd $testroot/repo && git checkout -q anotherbranch)
70 dc5351b4 2019-07-30 stsp if [ "$ret" != "0" ]; then
71 dc5351b4 2019-07-30 stsp echo "git checkout command failed unexpectedly"
72 dc5351b4 2019-07-30 stsp test_done "$testroot" "$ret"
76 dc5351b4 2019-07-30 stsp # Create a branch based on another specific branch
77 a74f7e83 2019-11-10 stsp (cd $testroot/wt && got branch -c master yetanotherbranch)
79 dc5351b4 2019-07-30 stsp if [ "$ret" != "0" ]; then
80 dc5351b4 2019-07-30 stsp test_done "$testroot" "$ret"
84 dc5351b4 2019-07-30 stsp (cd $testroot/repo && git checkout -q yetanotherbranch)
86 a4f89d48 2019-08-25 stsp if [ "$ret" != "0" ]; then
87 a4f89d48 2019-08-25 stsp echo "git checkout command failed unexpectedly"
88 a4f89d48 2019-08-25 stsp test_done "$testroot" "$ret"
92 a4f89d48 2019-08-25 stsp # Create a branch based on a specific commit
93 a4f89d48 2019-08-25 stsp local commit_id=`git_show_head $testroot/repo`
94 a74f7e83 2019-11-10 stsp got branch -r $testroot/repo -c $commit_id commitbranch
96 dc5351b4 2019-07-30 stsp if [ "$ret" != "0" ]; then
97 a4f89d48 2019-08-25 stsp echo "got branch command failed unexpectedly"
98 a4f89d48 2019-08-25 stsp test_done "$testroot" "$ret"
102 a4f89d48 2019-08-25 stsp (cd $testroot/repo && git checkout -q commitbranch)
104 a4f89d48 2019-08-25 stsp if [ "$ret" != "0" ]; then
105 dc5351b4 2019-07-30 stsp echo "git checkout command failed unexpectedly"
107 dc5351b4 2019-07-30 stsp test_done "$testroot" "$ret"
110 dc5351b4 2019-07-30 stsp function test_branch_list {
111 dc5351b4 2019-07-30 stsp local testroot=`test_init branch_list`
112 dc5351b4 2019-07-30 stsp local commit_id=`git_show_head $testroot/repo`
114 dc5351b4 2019-07-30 stsp for b in branch1 branch2 branch3; do
115 dc5351b4 2019-07-30 stsp got branch -r $testroot/repo $b
117 dc5351b4 2019-07-30 stsp if [ "$ret" != "0" ]; then
118 dc5351b4 2019-07-30 stsp echo "got branch command failed unexpectedly"
119 dc5351b4 2019-07-30 stsp test_done "$testroot" "$ret"
124 dc5351b4 2019-07-30 stsp got branch -l -r $testroot/repo > $testroot/stdout
125 dc5351b4 2019-07-30 stsp echo " branch1: $commit_id" > $testroot/stdout.expected
126 dc5351b4 2019-07-30 stsp echo " branch2: $commit_id" >> $testroot/stdout.expected
127 dc5351b4 2019-07-30 stsp echo " branch3: $commit_id" >> $testroot/stdout.expected
128 dc5351b4 2019-07-30 stsp echo " master: $commit_id" >> $testroot/stdout.expected
129 dc5351b4 2019-07-30 stsp cmp -s $testroot/stdout $testroot/stdout.expected
131 dc5351b4 2019-07-30 stsp if [ "$ret" != "0" ]; then
132 dc5351b4 2019-07-30 stsp diff -u $testroot/stdout.expected $testroot/stdout
133 dc5351b4 2019-07-30 stsp test_done "$testroot" "$ret"
137 dc5351b4 2019-07-30 stsp got checkout $testroot/repo $testroot/wt >/dev/null
139 dc5351b4 2019-07-30 stsp if [ "$ret" != "0" ]; then
140 dc5351b4 2019-07-30 stsp echo "got checkout command failed unexpectedly"
141 dc5351b4 2019-07-30 stsp test_done "$testroot" "$ret"
145 dc5351b4 2019-07-30 stsp (cd $testroot/wt && got branch -l > $testroot/stdout)
146 dc5351b4 2019-07-30 stsp echo " branch1: $commit_id" > $testroot/stdout.expected
147 dc5351b4 2019-07-30 stsp echo " branch2: $commit_id" >> $testroot/stdout.expected
148 dc5351b4 2019-07-30 stsp echo " branch3: $commit_id" >> $testroot/stdout.expected
149 dc5351b4 2019-07-30 stsp echo "* master: $commit_id" >> $testroot/stdout.expected
150 dc5351b4 2019-07-30 stsp cmp -s $testroot/stdout $testroot/stdout.expected
152 dc5351b4 2019-07-30 stsp if [ "$ret" != "0" ]; then
153 dc5351b4 2019-07-30 stsp diff -u $testroot/stdout.expected $testroot/stdout
154 dc5351b4 2019-07-30 stsp test_done "$testroot" "$ret"
158 dc5351b4 2019-07-30 stsp echo "modified delta" > $testroot/repo/gamma/delta
159 dc5351b4 2019-07-30 stsp git_commit $testroot/repo -m "committing to delta"
160 dc5351b4 2019-07-30 stsp local commit_id2=`git_show_head $testroot/repo`
162 dc5351b4 2019-07-30 stsp (cd $testroot/wt && got branch -l > $testroot/stdout)
163 dc5351b4 2019-07-30 stsp echo " branch1: $commit_id" > $testroot/stdout.expected
164 dc5351b4 2019-07-30 stsp echo " branch2: $commit_id" >> $testroot/stdout.expected
165 dc5351b4 2019-07-30 stsp echo " branch3: $commit_id" >> $testroot/stdout.expected
166 dc5351b4 2019-07-30 stsp echo "~ master: $commit_id2" >> $testroot/stdout.expected
167 dc5351b4 2019-07-30 stsp cmp -s $testroot/stdout $testroot/stdout.expected
169 dc5351b4 2019-07-30 stsp if [ "$ret" != "0" ]; then
170 dc5351b4 2019-07-30 stsp diff -u $testroot/stdout.expected $testroot/stdout
171 dc5351b4 2019-07-30 stsp test_done "$testroot" "$ret"
175 dc5351b4 2019-07-30 stsp (cd $testroot/wt && got update > /dev/null)
177 dc5351b4 2019-07-30 stsp if [ "$ret" != "0" ]; then
178 dc5351b4 2019-07-30 stsp echo "got update command failed unexpectedly"
179 dc5351b4 2019-07-30 stsp test_done "$testroot" "$ret"
183 dc5351b4 2019-07-30 stsp (cd $testroot/wt && got branch -l > $testroot/stdout)
184 dc5351b4 2019-07-30 stsp echo " branch1: $commit_id" > $testroot/stdout.expected
185 dc5351b4 2019-07-30 stsp echo " branch2: $commit_id" >> $testroot/stdout.expected
186 dc5351b4 2019-07-30 stsp echo " branch3: $commit_id" >> $testroot/stdout.expected
187 dc5351b4 2019-07-30 stsp echo "* master: $commit_id2" >> $testroot/stdout.expected
188 dc5351b4 2019-07-30 stsp cmp -s $testroot/stdout $testroot/stdout.expected
190 dc5351b4 2019-07-30 stsp if [ "$ret" != "0" ]; then
191 dc5351b4 2019-07-30 stsp diff -u $testroot/stdout.expected $testroot/stdout
192 dc5351b4 2019-07-30 stsp test_done "$testroot" "$ret"
196 dc5351b4 2019-07-30 stsp (cd $testroot/wt && got update -b branch1 > /dev/null)
198 dc5351b4 2019-07-30 stsp if [ "$ret" != "0" ]; then
199 dc5351b4 2019-07-30 stsp echo "got update command failed unexpectedly"
200 dc5351b4 2019-07-30 stsp test_done "$testroot" "$ret"
204 dc5351b4 2019-07-30 stsp (cd $testroot/wt && got branch -l > $testroot/stdout)
205 dc5351b4 2019-07-30 stsp echo "* branch1: $commit_id" > $testroot/stdout.expected
206 dc5351b4 2019-07-30 stsp echo " branch2: $commit_id" >> $testroot/stdout.expected
207 dc5351b4 2019-07-30 stsp echo " branch3: $commit_id" >> $testroot/stdout.expected
208 dc5351b4 2019-07-30 stsp echo " master: $commit_id2" >> $testroot/stdout.expected
209 dc5351b4 2019-07-30 stsp cmp -s $testroot/stdout $testroot/stdout.expected
211 dc5351b4 2019-07-30 stsp if [ "$ret" != "0" ]; then
212 dc5351b4 2019-07-30 stsp diff -u $testroot/stdout.expected $testroot/stdout
214 dc5351b4 2019-07-30 stsp test_done "$testroot" "$ret"
217 dc5351b4 2019-07-30 stsp function test_branch_delete {
218 dc5351b4 2019-07-30 stsp local testroot=`test_init branch_delete`
219 dc5351b4 2019-07-30 stsp local commit_id=`git_show_head $testroot/repo`
221 dc5351b4 2019-07-30 stsp for b in branch1 branch2 branch3; do
222 dc5351b4 2019-07-30 stsp got branch -r $testroot/repo $b
224 dc5351b4 2019-07-30 stsp if [ "$ret" != "0" ]; then
225 dc5351b4 2019-07-30 stsp echo "got branch command failed unexpectedly"
226 dc5351b4 2019-07-30 stsp test_done "$testroot" "$ret"
231 dc5351b4 2019-07-30 stsp got branch -d branch2 -r $testroot/repo > $testroot/stdout
233 dc5351b4 2019-07-30 stsp if [ "$ret" != "0" ]; then
234 dc5351b4 2019-07-30 stsp echo "got update command failed unexpectedly"
235 dc5351b4 2019-07-30 stsp test_done "$testroot" "$ret"
239 dc5351b4 2019-07-30 stsp got branch -l -r $testroot/repo > $testroot/stdout
240 dc5351b4 2019-07-30 stsp echo " branch1: $commit_id" > $testroot/stdout.expected
241 dc5351b4 2019-07-30 stsp echo " branch3: $commit_id" >> $testroot/stdout.expected
242 dc5351b4 2019-07-30 stsp echo " master: $commit_id" >> $testroot/stdout.expected
243 6aeab596 2019-08-28 stsp cmp -s $testroot/stdout $testroot/stdout.expected
245 6aeab596 2019-08-28 stsp if [ "$ret" != "0" ]; then
246 6aeab596 2019-08-28 stsp diff -u $testroot/stdout.expected $testroot/stdout
247 6aeab596 2019-08-28 stsp test_done "$testroot" "$ret"
251 6aeab596 2019-08-28 stsp got ref -l -r $testroot/repo > $testroot/stdout
252 6aeab596 2019-08-28 stsp echo "HEAD: refs/heads/master" > $testroot/stdout.expected
253 6aeab596 2019-08-28 stsp echo "refs/heads/branch1: $commit_id" >> $testroot/stdout.expected
254 6aeab596 2019-08-28 stsp echo "refs/heads/branch3: $commit_id" >> $testroot/stdout.expected
255 6aeab596 2019-08-28 stsp echo "refs/heads/master: $commit_id" >> $testroot/stdout.expected
256 dc5351b4 2019-07-30 stsp cmp -s $testroot/stdout $testroot/stdout.expected
258 dc5351b4 2019-07-30 stsp if [ "$ret" != "0" ]; then
259 dc5351b4 2019-07-30 stsp diff -u $testroot/stdout.expected $testroot/stdout
260 dc5351b4 2019-07-30 stsp test_done "$testroot" "$ret"
264 dc5351b4 2019-07-30 stsp got branch -d bogus_branch_name -r $testroot/repo \
265 dc5351b4 2019-07-30 stsp > $testroot/stdout 2> $testroot/stderr
267 dc5351b4 2019-07-30 stsp if [ "$ret" == "0" ]; then
268 dc5351b4 2019-07-30 stsp echo "got update succeeded unexpectedly"
269 dc5351b4 2019-07-30 stsp test_done "$testroot" "$ret"
273 dc5351b4 2019-07-30 stsp echo "got: reference refs/heads/bogus_branch_name not found" \
274 dc5351b4 2019-07-30 stsp > $testroot/stderr.expected
275 dc5351b4 2019-07-30 stsp cmp -s $testroot/stderr $testroot/stderr.expected
277 dc5351b4 2019-07-30 stsp if [ "$ret" != "0" ]; then
278 dc5351b4 2019-07-30 stsp diff -u $testroot/stderr.expected $testroot/stderr
280 dc5351b4 2019-07-30 stsp test_done "$testroot" "$ret"
283 45cd4e47 2019-08-25 stsp function test_branch_delete_current_branch {
284 45cd4e47 2019-08-25 stsp local testroot=`test_init branch_delete_current_branch`
285 45cd4e47 2019-08-25 stsp local commit_id=`git_show_head $testroot/repo`
287 45cd4e47 2019-08-25 stsp got checkout $testroot/repo $testroot/wt >/dev/null
289 45cd4e47 2019-08-25 stsp if [ "$ret" != "0" ]; then
290 45cd4e47 2019-08-25 stsp echo "got checkout command failed unexpectedly"
291 45cd4e47 2019-08-25 stsp test_done "$testroot" "$ret"
295 45cd4e47 2019-08-25 stsp (cd $testroot/wt && got branch -d master > $testroot/stdout \
296 45cd4e47 2019-08-25 stsp 2> $testroot/stderr)
298 45cd4e47 2019-08-25 stsp echo "got: will not delete this work tree's current branch" \
299 6aeab596 2019-08-28 stsp > $testroot/stderr.expected
300 6aeab596 2019-08-28 stsp cmp -s $testroot/stderr $testroot/stderr.expected
302 6aeab596 2019-08-28 stsp if [ "$ret" != "0" ]; then
303 6aeab596 2019-08-28 stsp diff -u $testroot/stderr.expected $testroot/stderr
305 6aeab596 2019-08-28 stsp test_done "$testroot" "$ret"
308 6aeab596 2019-08-28 stsp function test_branch_delete_packed {
309 6aeab596 2019-08-28 stsp local testroot=`test_init branch_delete_packed`
310 6aeab596 2019-08-28 stsp local commit_id=`git_show_head $testroot/repo`
312 6aeab596 2019-08-28 stsp for b in branch1 branch2 branch3; do
313 6aeab596 2019-08-28 stsp got branch -r $testroot/repo $b
315 6aeab596 2019-08-28 stsp if [ "$ret" != "0" ]; then
316 6aeab596 2019-08-28 stsp echo "got branch command failed unexpectedly"
317 6aeab596 2019-08-28 stsp test_done "$testroot" "$ret"
322 6aeab596 2019-08-28 stsp (cd $testroot/repo && git pack-refs --all)
324 6aeab596 2019-08-28 stsp got branch -d branch2 -r $testroot/repo > $testroot/stdout
326 6aeab596 2019-08-28 stsp if [ "$ret" != "0" ]; then
327 6aeab596 2019-08-28 stsp echo "got update command failed unexpectedly"
328 6aeab596 2019-08-28 stsp test_done "$testroot" "$ret"
332 6aeab596 2019-08-28 stsp got branch -l -r $testroot/repo > $testroot/stdout
333 6aeab596 2019-08-28 stsp echo " branch1: $commit_id" > $testroot/stdout.expected
334 6aeab596 2019-08-28 stsp echo " branch3: $commit_id" >> $testroot/stdout.expected
335 6aeab596 2019-08-28 stsp echo " master: $commit_id" >> $testroot/stdout.expected
336 6aeab596 2019-08-28 stsp cmp -s $testroot/stdout $testroot/stdout.expected
338 6aeab596 2019-08-28 stsp if [ "$ret" != "0" ]; then
339 6aeab596 2019-08-28 stsp diff -u $testroot/stdout.expected $testroot/stdout
340 6aeab596 2019-08-28 stsp test_done "$testroot" "$ret"
344 6aeab596 2019-08-28 stsp got ref -l -r $testroot/repo > $testroot/stdout
345 6aeab596 2019-08-28 stsp echo "HEAD: refs/heads/master" > $testroot/stdout.expected
346 6aeab596 2019-08-28 stsp echo "refs/heads/branch1: $commit_id" >> $testroot/stdout.expected
347 6aeab596 2019-08-28 stsp echo "refs/heads/branch3: $commit_id" >> $testroot/stdout.expected
348 6aeab596 2019-08-28 stsp echo "refs/heads/master: $commit_id" >> $testroot/stdout.expected
349 6aeab596 2019-08-28 stsp cmp -s $testroot/stdout $testroot/stdout.expected
351 6aeab596 2019-08-28 stsp if [ "$ret" != "0" ]; then
352 6aeab596 2019-08-28 stsp diff -u $testroot/stdout.expected $testroot/stdout
353 6aeab596 2019-08-28 stsp test_done "$testroot" "$ret"
357 6aeab596 2019-08-28 stsp got branch -d bogus_branch_name -r $testroot/repo \
358 6aeab596 2019-08-28 stsp > $testroot/stdout 2> $testroot/stderr
360 6aeab596 2019-08-28 stsp if [ "$ret" == "0" ]; then
361 6aeab596 2019-08-28 stsp echo "got update succeeded unexpectedly"
362 6aeab596 2019-08-28 stsp test_done "$testroot" "$ret"
366 6aeab596 2019-08-28 stsp echo "got: reference refs/heads/bogus_branch_name not found" \
367 45cd4e47 2019-08-25 stsp > $testroot/stderr.expected
368 45cd4e47 2019-08-25 stsp cmp -s $testroot/stderr $testroot/stderr.expected
370 45cd4e47 2019-08-25 stsp if [ "$ret" != "0" ]; then
371 45cd4e47 2019-08-25 stsp diff -u $testroot/stderr.expected $testroot/stderr
373 ad89fa31 2019-10-04 stsp test_done "$testroot" "$ret"
376 ad89fa31 2019-10-04 stsp function test_branch_show {
377 ad89fa31 2019-10-04 stsp local testroot=`test_init branch_show`
378 ad89fa31 2019-10-04 stsp local commit_id=`git_show_head $testroot/repo`
380 ad89fa31 2019-10-04 stsp for b in branch1 branch2 branch3; do
381 ad89fa31 2019-10-04 stsp got branch -r $testroot/repo $b
383 ad89fa31 2019-10-04 stsp if [ "$ret" != "0" ]; then
384 ad89fa31 2019-10-04 stsp echo "got branch command failed unexpectedly"
385 ad89fa31 2019-10-04 stsp test_done "$testroot" "$ret"
390 ad89fa31 2019-10-04 stsp got checkout $testroot/repo $testroot/wt >/dev/null
392 ad89fa31 2019-10-04 stsp if [ "$ret" != "0" ]; then
393 ad89fa31 2019-10-04 stsp echo "got checkout command failed unexpectedly"
394 ad89fa31 2019-10-04 stsp test_done "$testroot" "$ret"
398 ad89fa31 2019-10-04 stsp (cd $testroot/wt && got branch > $testroot/stdout)
399 ad89fa31 2019-10-04 stsp echo "master" > $testroot/stdout.expected
400 ad89fa31 2019-10-04 stsp cmp -s $testroot/stdout $testroot/stdout.expected
402 ad89fa31 2019-10-04 stsp if [ "$ret" != "0" ]; then
403 ad89fa31 2019-10-04 stsp diff -u $testroot/stdout.expected $testroot/stdout
404 ad89fa31 2019-10-04 stsp test_done "$testroot" "$ret"
408 ad89fa31 2019-10-04 stsp (cd $testroot/wt && got update -b branch1 > /dev/null)
410 ad89fa31 2019-10-04 stsp if [ "$ret" != "0" ]; then
411 ad89fa31 2019-10-04 stsp echo "got update command failed unexpectedly"
412 ad89fa31 2019-10-04 stsp test_done "$testroot" "$ret"
416 ad89fa31 2019-10-04 stsp (cd $testroot/wt && got branch > $testroot/stdout)
417 ad89fa31 2019-10-04 stsp echo "branch1" > $testroot/stdout.expected
418 ad89fa31 2019-10-04 stsp cmp -s $testroot/stdout $testroot/stdout.expected
420 ad89fa31 2019-10-04 stsp if [ "$ret" != "0" ]; then
421 ad89fa31 2019-10-04 stsp diff -u $testroot/stdout.expected $testroot/stdout
423 45cd4e47 2019-08-25 stsp test_done "$testroot" "$ret"
427 dc5351b4 2019-07-30 stsp run_test test_branch_create
428 dc5351b4 2019-07-30 stsp run_test test_branch_list
429 dc5351b4 2019-07-30 stsp run_test test_branch_delete
430 45cd4e47 2019-08-25 stsp run_test test_branch_delete_current_branch
431 6aeab596 2019-08-28 stsp run_test test_branch_delete_packed
432 ad89fa31 2019-10-04 stsp run_test test_branch_show