Guilt v0.37-rc1
[guilt.git] / regression / t-052.sh
blob895a0228a6d2798f2d94b3ea5f173c3cffa9b3f7
1 #!/bin/bash
3 # Test the commands that use get_*_series, while applying guards
6 source "$REG_DIR/scaffold"
8 cmd setup_repo
10 for x in "" modify add remove mode ; do
11 cmd list_files
12 [ "$x" != "" ] && guilt push "$x"
13 cmd guilt branch br-$x
14 cmd list_files
15 if [ "$x" != "" ]
16 then
17 cmd git checkout guilt/master
18 else
19 cmd git checkout master
21 done