view tests/fixtures/pushrenames.sh @ 675:31cd9f41ec09

svnwrap: improve a docstring & a comment. The docstring for SubversionRepo was technically inaccurate; not only do we require Subversion 1.5, but the reference to a required parameter is inaccurate, as the parameter has a default value. (To be fair, relying on the default value is unlikely to work...) Part of a comment in SubversionRepo.revisions() was redundant, and could be removed. No functionality change.
author Dan Villiom Podlaski Christiansen <danchr@gmail.com>
date Wed, 11 Aug 2010 19:57:35 +0200
parents 49b7cbe4c8e3
children
line wrap: on
line source

#!/bin/sh
#
# Generate pushrenames.svndump
#

mkdir temp
cd temp

mkdir project-orig
cd project-orig
mkdir trunk
mkdir branches
cd ..

svnadmin create testrepo
svnurl=file://`pwd`/testrepo
svn import project-orig $svnurl -m "init project"

svn co $svnurl project
cd project/trunk
echo a > a
echo b > b
echo c > c
echo d > d
echo e > e
svn add a b c d e
svn ci -m "add files"
cd ../..

svnadmin dump testrepo > ../pushrenames.svndump