]>
Tony Duckles's Git Repositories (git.nynim.org) - svn2svn.git/blob - tests/t0102-replay-branch.sh
3 test_description
='Use svnreplay to create a filtered repo with only /trunk/Module2/ProjectB 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 ################################################################
18 OFFSET
="/trunk/Module2/ProjectB"
19 svn
mkdir -q -m "Add /trunk" $REPOURL/trunk
20 svn
mkdir -q --parents -m "Add $OFFSET" $REPOURL$OFFSET
23 "svnreplay _repo_ref$OFFSET _repo_replay$OFFSET" \
24 "$SVNREPLAY -a \"$PWDURL/_repo_ref$OFFSET\" \"$PWDURL/_repo_replay$OFFSET\""
27 "diff-repo _repo_ref$OFFSET _repo_replay$OFFSET" \
28 "./diff-repo.sh \"$PWDURL/_repo_ref$OFFSET\" \"$PWDURL/_repo_replay$OFFSET\""
30 rm -rf "$REPO" _wc_target