<?xml version="1.0"?>
<paste-with-annotations>
  <paste>
    <number>
      <integer>60776</integer>
    </number>
    <user>
      <string>kfogel</string>
    </user>
    <title>
      <string>repro script for Bert Huijben</string>
    </title>
    <contents>
      <string>#!/bin/sh

SVNDIR=/home/kfogel/src/subversion

SVN=${SVNDIR}/subversion/svn/svn
SVNSERVE=${SVNDIR}/subversion/svnserve/svnserve
SVNADMIN=${SVNDIR}/subversion/svnadmin/svnadmin

# Select an access method.  If svn://, the svnserve setup is
# handled automagically by this script; but if http://, then
# you'll have to configure it yourself first.
# 
# URL=http://localhost/SOMETHING/repos
# URL=svn://localhost/repos
URL=file:///`pwd`/repos

rm -rf repos wc import-me

${SVNADMIN} create repos

# These are for svnserve only.
echo &quot;[general]&quot; &gt; repos/conf/svnserve.conf
echo &quot;anon-access = write&quot; &gt;&gt; repos/conf/svnserve.conf
echo &quot;auth-access = write&quot; &gt;&gt; repos/conf/svnserve.conf

# The server will only be contacted if $URL is svn://foo, of course.
${SVNSERVE} --pid-file svnserve-pid -d -r `pwd`
# And put the kill command in a file, in case need to run it manually.
echo &quot;kill -9 `cat svnserve-pid`&quot; &gt; k
chmod a+rwx k

echo &quot;### Making a Greek Tree for import...&quot;
mkdir import-me
mkdir import-me/trunk
mkdir import-me/tags
mkdir import-me/branches
mkdir import-me/trunk/A
mkdir import-me/trunk/A/B/
mkdir import-me/trunk/A/C/
mkdir import-me/trunk/A/D/
mkdir import-me/trunk/A/B/E/
mkdir import-me/trunk/A/B/F/
mkdir import-me/trunk/A/D/G/
mkdir import-me/trunk/A/D/H/
echo &quot;This is the file 'iota'.&quot;        &gt; import-me/trunk/iota
echo &quot;This is the file 'A/mu'.&quot;        &gt; import-me/trunk/A/mu
echo &quot;This is the file 'A/B/lambda'.&quot;  &gt; import-me/trunk/A/B/lambda
echo &quot;This is the file 'A/B/E/alpha'.&quot; &gt; import-me/trunk/A/B/E/alpha
echo &quot;This is the file 'A/B/E/beta'.&quot;  &gt; import-me/trunk/A/B/E/beta
echo &quot;This is the file 'A/D/gamma'.&quot;   &gt; import-me/trunk/A/D/gamma
echo &quot;This is the file 'A/D/G/pi'.&quot;    &gt; import-me/trunk/A/D/G/pi
echo &quot;This is the file 'A/D/G/rho'.&quot;   &gt; import-me/trunk/A/D/G/rho
echo &quot;This is the file 'A/D/G/tau'.&quot;   &gt; import-me/trunk/A/D/G/tau
echo &quot;This is the file 'A/D/H/chi'.&quot;   &gt; import-me/trunk/A/D/H/chi
echo &quot;This is the file 'A/D/H/omega'.&quot; &gt; import-me/trunk/A/D/H/omega
echo &quot;This is the file 'A/D/H/psi'.&quot;   &gt; import-me/trunk/A/D/H/psi
echo &quot;### Done.&quot;
echo &quot;&quot;
echo &quot;### Importing it...&quot;
(cd import-me; ${SVN} import -q -m &quot;Initial import.&quot; ${URL})
echo &quot;### Done.&quot;
echo &quot;&quot;

${SVN} co -q ${URL}/trunk wc

cd wc
echo &quot;&quot;
echo &quot;### Making a change to A/D/G/pi...&quot;
echo &quot;&quot;
echo &quot;foo&quot; &gt; A/D/G/pi
echo &quot;### Done.  Now committing it...&quot;
echo &quot;&quot;
${SVN} ci -m &quot;Committing a change just to see the output paths.&quot;
echo &quot;&quot;
echo &quot;### Done.&quot;
echo &quot;&quot;
cd ..

# Put kill command in a file, in case need to run it manually.
echo &quot;kill -9 `cat svnserve-pid`&quot; &gt; k
chmod a+rwx k
./k
</string>
    </contents>
    <universal-time>
      <integer>3419784340</integer>
    </universal-time>
    <channel>
      <string>#svn-dev</string>
    </channel>
    <colorization-mode>
      <string></string>
    </colorization-mode>
    <maybe-spam>
      <null/>
    </maybe-spam>
    <is-unicode>
      <keyword>TRUE</keyword>
    </is-unicode>
  </paste>
</paste-with-annotations>