]>
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
8 SVNREPLAY
="../svnreplay.py"
9 PWD
=${TEST_DIRECTORY:-.}
10 PWDURL
=$(echo "file://$PWD" | sed 's/\ /%20/g')
11 REPO
="$PWD/_repo_replay"
12 REPOURL
=$(echo "file://$REPO" | sed 's/\ /%20/g')
14 init_replay_repo
"$REPO"
17 ################################################################
19 svn
mkdir -q -m "Add $OFFSET" $REPOURL$OFFSET
22 "svnreplay _repo_ref$OFFSET _repo_replay$OFFSET" \
23 "$SVNREPLAY -av \"$PWDURL/_repo_ref$OFFSET\" \"$PWDURL/_repo_replay$OFFSET\""
26 "svnreplay _repo_ref$OFFSET _repo_replay$OFFSET (verify-all)" \
27 "$SVNREPLAY -avcX \"$PWDURL/_repo_ref$OFFSET\" \"$PWDURL/_repo_replay$OFFSET\""
30 "diff-repo _repo_ref$OFFSET _repo_replay$OFFSET" \
31 "./diff-repo.sh \"$PWDURL/_repo_ref$OFFSET\" \"$PWDURL/_repo_replay$OFFSET\""
33 rm -rf "$REPO" _wc_target