[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: mergeinfo marked not inheritable on sparse checkout

From: Douglas Wilson <douglasg.wilson_at_gmail.com>
Date: Tue, 1 Nov 2011 15:55:02 -0700 (PDT)

On Oct 22, 2:25 am, Stefan Sperling <s..._at_elego.de> wrote:
>
> Your reproduction recipe is incomplete.

Here is (I hope) a complete reproduction:
#!/bin/ksh

# Create repo
DIR=$PWD
mkdir -p $DIR/src/trunk/dir1
mkdir -p $DIR/src/trunk/dir2
mkdir -p $DIR/src/branches
touch $DIR/src/trunk/dir1/file1.txt
touch $DIR/src/trunk/dir2/file2.txt
svnadmin create $DIR/testrepo

# Create branch
svn cp file://$DIR/testrepo/trunk file://$DIR/testrepo/branches/testbranch
-m "Create test branch"

# Checkout just dir1
svn co --non-recursive file://$DIR/testrepo/trunk test
svn update test/dir1

# Make some changes
print "Changes" >$DIR/test/dir1/file1.txt
svn commit -m "Commit file1 changes" test

# Switch to branch and merge
cd test
svn switch file://$DIR/testrepo/branches/testbranch
svn merge -r 2:3 file://$DIR/testrepo/trunk .
svn diff
Received on 2011-11-02 00:03:10 CET

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.