File: copy_paste_test.sh

package info (click to toggle)
svn-workbench 1.5.0-1
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 2,400 kB
  • ctags: 1,585
  • sloc: python: 12,163; sh: 74; makefile: 46; 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"