]>
Tony Duckles's Git Repositories (git.nynim.org) - svn2svn.git/blob - tests/t1102-replay-branch.sh
3 test_description
='Use svnreplay to create a filtered repo with only /trunk/Module2/ProjectB 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_t1102"
16 REPOURL
=$(echo "file://$REPO" | sed 's/\ /%20/g')
19 OFFSET
="/trunk/Module2/ProjectB"
26 "init repo $REPONAME" \
27 "init_replay_repo \"$REPO\""
30 "svn mkdir $REPONAME/trunk" \
31 "svn mkdir -q -m \"Add /trunk\" $REPOURL/trunk"
33 "svn mkdir $REPONAME$OFFSET" \
34 "svn mkdir -q --parents -m \"Add $OFFSET\" $REPOURL$OFFSET"
37 "svnreplay _repo_ref$OFFSET $REPONAME$OFFSET" \
38 "$SVNREPLAY -av --wc \"$WC\" \"$PWDURL/_repo_ref$OFFSET\" \"$REPOURL$OFFSET\""
41 "svnreplay _repo_ref$OFFSET $REPONAME$OFFSET (verify-all)" \
42 "$SVNREPLAY -avcX --wc \"$WC\" \"$PWDURL/_repo_ref$OFFSET\" \"$REPOURL$OFFSET\""
45 "diff-repo _repo_ref$OFFSET $REPONAME$OFFSET" \
46 "./diff-repo.sh \"$PWDURL/_repo_ref$OFFSET\" \"$REPOURL$OFFSET\""
50 "rm -rf \"$REPO\" \"$WC\""