3 # Copyright (c) 2006 Yann Dirson
6 test_description
='Branch renames.
8 Exercises branch renaming commands.
14 'Create an stgit branch from scratch' \
21 'Rename the current stgit branch' \
22 'stg branch -r foo bar
26 'Rename an stgit branch' \
28 stg branch -r foo bar &&
29 [ -z $(find .git -type f | grep foo | tee /dev/stderr) ] &&
30 test -z $(git config -l | grep branch\\.foo)