[Svnmerge] [patch] fix get_svninfo parsing -- ":", not ": "

Daniel Colascione danc at merrillpress.com
Wed Apr 9 12:58:14 PDT 2008


On Wednesday 09 April 2008, Dustin J. Mitchell wrote:
> Thanks for the patch!  Any chance you could produce a test case that
> would trigger the old, incorrect behavior?

#!/bin/bash -x
# Make sure you have svnmerge.py in $PATH
set -e

tmpdir=$(mktemp -td svnmerge-bug-XXXXXX)

cleanup() { rm -rf $tmpdir; }
trap cleanup 0

cd $tmpdir

svnadmin create repo
repo="file://$PWD/repo"
svn co $repo foo
svn mkdir foo/trunk
svn commit foo -m'initial rev'
svn copy $repo/trunk $repo/1.0 --username='' -m'branch'
svn info $repo/1.0
svn up foo
cd foo/trunk
svnmerge.py init $repo/1.0



More information about the Svnmerge mailing list