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

Re: svn:mergeinfo resurrecting from the dead

From: Stein Somers <ssomers_at_opnet.com>
Date: Tue, 18 May 2010 21:44:00 +0200

On 18-May-10 18:22, Cufi, Carles wrote:
> Then I checked out newbranch,

In our series of bleeding obvious questions: you did check out to a new
working copy, right? It would be hard to do otherwise.

On 18-May-10 15:12, Cufi, Carles wrote:
> something relatively similar happening, where svn:mergeinfo reappears
after deleting it?

I doubt there's any useful similarity. It's just that any remote-to-WC
copy of a file or folder adds useless mergeinfo. So not dug up from long
gone history, and there's nothing mysterious about it, just a simple
reproducible bug. But it may inspire you to find a way out, so here is
how to reproduce it using bash:

svnadmin create r
mkdir i i/trunk
echo hello world >i/trunk/file
svn import i/trunk file:///$PWD/r/trunk -m imported
svn copy file:///$PWD/r/{trunk,knurt} -m branched
svn co file:///$PWD//r/trunk w
svn merge file:///$PWD//r/knurt w
svn ci w -m merged
svn up w
svn cp w/file w/wc_copy
svn cp file:///$PWD/r/trunk/file w/remote_copy
svn propget svn:mergeinfo w -R

-- 
Stein
Received on 2010-05-18 21:44:34 CEST

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.