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

Re: How to revert a --record-only svn merge before a commit

From: Giulio Troccoli <giulio.troccoli_at_mediatelgroup.co.uk>
Date: Tue, 29 Oct 2013 09:10:45 +0000

On 29/10/13 05:38, Zk W wrote:
> Hi All
>
> We use SVN 1.6
> How do we perform a svn merge "revert" of a revision number that is
> --record-only in linux shell before a svn commit ?
>
> We perform
> svn merge --record-only -c 1234 http://testsomething.com
>
> We like to revert that step.
>
> Thank you
> Sincerely

That only changes the svn:mergeinfo property, so I would suggest editing
it. Since you did not have a target in the command you showed us I guess
it was the current directory (unless you simply omitted it for
simplicity), which I hope is the root of your WC (it should always be
the root of your WC, it makes things much easier). So, in the root of
your WC run this command

svn pe svn:mergeinfo .

and delete the info for revision 1234 (which again I guess it's not the
real one :-)

Hope this helps.

Giulio
Received on 2013-10-29 10:11:27 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.