]>
Tony Duckles's Git Repositories (git.nynim.org) - svn2svn.git/blob - tests/make-replay-repo.sh
2 # Use svn2svn.py to create a filtered repo with only /trunk history
5 REPO
="$PWD/_repo_replay"
10 rm -rf $REPO _wc_target
13 echo "Creating _repo_replay..."
15 # Add pre-revprop-change hook script
16 cp ..
/hook
-examples/pre
-revprop-change_example.txt
$REPO/hooks
/pre
-revprop-change
17 chmod 755 $REPO/hooks
/pre
-revprop-change
21 #../svn2svn.py $* file://$PWD/_repo_ref file://$PWD/_repo_replay
24 svn
mkdir -q -m "Add /trunk" $REPOURL/trunk
25 ..
/svn2svn.py $
* file://$PWD/_repo_ref
/trunk
file://$PWD/_repo_replay
/trunk
27 ## svn2svn /trunk/Module2/ProjectB
28 #svn mkdir -q -m "Add /trunk" $REPOURL/trunk
29 #svn mkdir -q --parents -m "Add /trunk/Module2/ProjectB" $REPOURL/trunk/Module2/ProjectB
30 #../svn2svn.py $* file://$PWD/_repo_ref/trunk/Module2/ProjectB file://$PWD/_repo_replay/trunk/Module2/ProjectB