Re: svn MFC to stable/8

From: Eitan Adler <lists_at_eitanadler.com>
Date: Thu, 4 Oct 2012 14:41:51 -0400
On 4 October 2012 14:35, Rick Macklem <rmacklem_at_uoguelph.ca> wrote:
> Sean Bruno wrote:
>> On Thu, 2012-10-04 at 11:10 -0700, Rick Macklem wrote:
>> > Hi,
>> >
>> > Hopefully someone familiar with svn can help. When I try to MFC
>> > a kernel change to stable/8, it works, but I end up with tons of
>> > mergeinfo. (It looks like every directory under sys.)
>> >
>> > Does this matter or is there a trick to avoid this?
>> >
>> > Thanks in advance for any help, rick
>> > ps: I seem to MFC fine to stable/9. I only see this for stable/8.
>> > _______________________________________________
>>
>> Can you post your attempted svn merge command?
>>
>> Sean
> Same as I've always used. When at the top of an updated stable/8
> checkout tree...
> # svn merge -c240720 svn+ssh://rmacklem_at_svn.freebsd.org/base/head/sys sys
>
> Also, after I reverse merge via:
> # svn merge -c-240720 svn+ssh://rmacklem_at_svn.freebsd.org/base/head/sys sys
> # svn status .
>  M     sys
>  M     sys/dev/sound
> - so I end up doing an "rm -r" of the tree, followed by a fresh checkout.
>   (Before, the status wouldn't see anything modified after I would reverse
>    the merge out.)

FYI you could just do svn revert -R, no need for rm -r

svn merge -c240720 svn+ssh://svn.freebsd.org/base/head/sys stable8/sys

worked for me. Note that lack of a '-' after the 'c'
from 'svn help merge': If ARG is negative this is like -r ARG:ARG-1



-- 
Eitan Adler
Received on Thu Oct 04 2012 - 16:42:22 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:31 UTC