4 t-tstunt-parsechangelog
6 t-setup-import examplegit
9 local branch=$(git symbolic-ref HEAD)
10 test "$branch" = "refs/heads/$1"
20 t-dgit checkout -p $p unstable
25 t-ref-same refs/tags/test-dummy/$v
27 t-dgit checkout -p $p stable
30 t-dgit checkout -d no-such-distro sid
34 t-dgit checkout stable
37 git branch -D dgit/sid
38 t-dgit checkout -d no-such-distro sid
42 git reflog --pretty=tformat:%gs >../reflog.got
43 cat >../reflog.expect <<END
48 dgit checkout unstable
50 diff -u ../reflog.{expect,got}
52 git for-each-ref --format='%(refname)' refs/heads | t-sort >../refs.got
53 cat >../refs.expect <<END
55 refs/heads/dgit/stable
57 diff -u ../refs.{expect,got}