From 660ead67908ce3f4928673768f3488ddfd1bbf00 Mon Sep 17 00:00:00 2001 From: Tony Duckles Date: Sat, 21 Jan 2012 14:59:32 -0600 Subject: [PATCH] Update tests for "_wc_target" --- tests/check-replay-repo.sh | 5 +++-- tests/make-replay-repo.sh | 8 ++++++-- 2 files changed, 9 insertions(+), 4 deletions(-) diff --git a/tests/check-replay-repo.sh b/tests/check-replay-repo.sh index f3f84a9..cf2101b 100755 --- a/tests/check-replay-repo.sh +++ b/tests/check-replay-repo.sh @@ -4,11 +4,12 @@ PWD=$(pwd) WCREF="$PWD/_wc_ref" -WCDUP="$PWD/_dup_wc" +WCDUP="$PWD/_wc_target" found_diff=0 # Create a working-copy for the reference repo -# Note: We assume that the replay working-copy ("_dup_wc") still exists from make-replay-repo.sh +# Note: We assume that the replay working-copy ("_wc_target") still exists from make-replay-repo.sh +#svn co -q file://$PWD/_repo_ref $WCREF svn co -q file://$PWD/_repo_ref/trunk $WCREF # Check if the final list of files is the same diff --git a/tests/make-replay-repo.sh b/tests/make-replay-repo.sh index bcb5cd2..d901fc9 100755 --- a/tests/make-replay-repo.sh +++ b/tests/make-replay-repo.sh @@ -7,7 +7,7 @@ REPOURL="file://$REPO" # Clean-up echo "Cleaning-up..." -rm -rf $REPO _dup_wc +rm -rf $REPO _wc_target # Init repo echo "Creating _repo_replay..." @@ -15,7 +15,11 @@ svnadmin create $REPO # Add pre-revprop-change hook script, which is required by svn2svn cat > $REPO/hooks/pre-revprop-change < pre-revprop-change.example.sh chmod 755 $REPO/hooks/pre-revprop-change +echo "" -# svn2svn +## svn2svn / +#../svn2svn.py -a -v file://$PWD/_repo_ref file://$PWD/_repo_replay + +# svn2svn /trunk svn mkdir -q -m "Add /trunk" $REPOURL/trunk ../svn2svn.py -a file://$PWD/_repo_ref/trunk file://$PWD/_repo_replay/trunk -- 2.45.2