Ticket #22770: reproduce.sh
File reproduce.sh, 345 bytes (added by francis@…, 15 years ago) |
---|
Line | |
---|---|
1 | #!/bin/sh |
2 | if [ $# -eq 0 ]; then |
3 | DIR=svntest |
4 | else |
5 | DIR="$1" |
6 | fi |
7 | |
8 | echo $DIR |
9 | mkdir -p "$DIR" |
10 | cd "$DIR" |
11 | svnadmin create repo || exit $? |
12 | svn co "file:///`pwd`/repo" checkout || exit $? |
13 | cd checkout || exit $? |
14 | echo hello > README.txt || exit $? |
15 | svn add README.txt || exit $? |
16 | # Next line crashes |
17 | svn ci -m "Added README.txt" README.txt || exit $? |