]> Tony Duckles's Git Repositories (git.nynim.org) - svn2svn.git/blob - tests/replay-lib.sh
Fix typo in comment
[svn2svn.git] / tests / replay-lib.sh
1 #!/bin/sh
2
3 # Setup a brand-new repo ready for svnreplay
4 init_replay_repo () {
5 REPO=$1
6 # Init repo
7 rm -rf "$REPO"
8 svnadmin create "$REPO"
9 # Add pre-revprop-change hook script
10 cp ../hook-examples/pre-revprop-change_example.txt "$REPO/hooks/pre-revprop-change"
11 chmod 755 "$REPO/hooks/pre-revprop-change"
12 }