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

Re: making conflicts

From: Greg Hudson <ghudson_at_mit.edu>
Date: Sat, 04 Apr 2009 13:38:25 -0400

On Sat, 2009-04-04 at 20:39 +0800, Edmund Wong wrote:
> Possibly a dumb question; but, can someone point out how
> I might be able to generate a huge list of conflicts, especially
> from the subversion source?

Pick some value of N suitably removed from the current revision and try,
in a throwaway checkout:

svn diff -r BASE:N . | sed -e 's/^\(+.*)$/\1 /' | patch -p0
svn up -r N

The idea is to modify your sources to have all of the changes you'd get
from updating to revision N, but with a space at the end of the lines,
so that every change conflicts.

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=462&dsMessageId=1544663
Received on 2009-04-04 19:38:57 CEST

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

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