File: copy_paste_test.sh

package info (click to toggle)
svn-workbench 1.6.2-2
  • links: PTS
  • area: main
  • in suites: wheezy
  • size: 1,936 kB
  • sloc: python: 14,970; sh: 87; makefile: 48; ansic: 9
file content (17 lines) | stat: -rwxr-xr-x 448 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/bin/sh
rm -rf copy_paste
mkdir -p copy_paste/repos

svnadmin create --fs-type fsfs copy_paste/repos
R=file://$PWD/copy_paste/repos

svn mkdir -m "Init" $R/trunk
svn checkout $R/trunk copy_paste/wc

svn mkdir copy_paste/wc/original
echo orig file 1 >copy_paste/wc/original/file1
echo orig file 2 >copy_paste/wc/original/file2
echo orig file 3 >copy_paste/wc/original/file3
svn add copy_paste/wc/original/*

svn commit copy_paste/wc -m "populate"