]>
Tony Duckles's Git Repositories (git.nynim.org) - svn2svn.git/blob - tests/t0101-replay-trunk.sh
3 test_description
='Use svnreplay to create a filtered repo with only /trunk history
7 SVNREPLAY
="../svnreplay.py"
9 PWDURL
=$(echo "file://$PWD" | sed 's/\ /%20/g')
10 REPO
="$PWD/_repo_replay"
11 REPOURL
=$(echo "file://$REPO" | sed 's/\ /%20/g')
14 rm -rf "$REPO" _wc_target
17 svnadmin create
"$REPO"
18 # Add pre-revprop-change hook script
19 cp ..
/hook
-examples/pre
-revprop-change_example.txt
"$REPO/hooks/pre-revprop-change"
20 chmod 755 "$REPO/hooks/pre-revprop-change"
23 ################################################################
25 svn
mkdir -q -m "Add $OFFSET" $REPOURL$OFFSET
28 "svnreplay _repo_ref$OFFSET _repo_replay$OFFSET" \
29 "$SVNREPLAY -a \"$PWDURL/_repo_ref$OFFSET\" \"$PWDURL/_repo_replay$OFFSET\""
32 "diff-repo _repo_ref$OFFSET _repo_replay$OFFSET" \
33 "./diff-repo.sh \"$PWDURL/_repo_ref$OFFSET\" \"$PWDURL/_repo_replay$OFFSET\""