view tests/fixtures/pushrenames.sh @ 310:15b8bab03504

Change default author substitution to avoid updating test hashes. Rather than '%s <%s%s>', just use '%s%s'. The two should be functionally equivalent. All tests pass. Added a comment about the handling of missing authors. This is tested by test_push_to_default in tests/test_push_command.py; it is treated the same as before.
author Dan Villiom Podlaski Christiansen <danchr@gmail.com>
date Sun, 03 May 2009 18:51:29 +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