]>
Tony Duckles's Git Repositories (git.nynim.org) - svn2svn.git/blob - tests/t1101-replay-trunk.sh
3 test_description
='Use svnreplay to create a filtered repo with only /trunk history
8 author
='Tony Duckles <tony@nynim.org>'
11 SVNREPLAY
="../svnreplay.py"
12 PWD
=${TEST_DIRECTORY:-.}
13 PWDURL
=$(echo "file://$PWD" | sed 's/\ /%20/g')
14 REPONAME
="_repo_t1101"
16 REPOURL
=$(echo "file://$REPO" | sed 's/\ /%20/g')
25 "init repo $REPONAME" \
26 "init_replay_repo \"$REPO\""
29 "svn mkdir $REPONAME$OFFSET" \
30 "svn mkdir -q -m \"Add $OFFSET\" $REPOURL$OFFSET"
33 "svnreplay _repo_ref$OFFSET $REPONAME$OFFSET" \
34 "$SVNREPLAY -av --wc \"$WC\" \"$PWDURL/_repo_ref$OFFSET\" \"$REPOURL$OFFSET\""
37 "svnreplay _repo_ref$OFFSET $REPONAME$OFFSET (verify-all)" \
38 "$SVNREPLAY -avcX --wc \"$WC\" \"$PWDURL/_repo_ref$OFFSET\" \"$REPOURL$OFFSET\""
41 "diff-repo _repo_ref$OFFSET $REPONAME$OFFSET" \
42 "./diff-repo.sh \"$PWDURL/_repo_ref$OFFSET\" \"$REPOURL$OFFSET\""
46 "rm -rf \"$REPO\" \"$WC\""